M1:=5;
M2:=10;
M3:=20;
M4:=60;
M5:=0;
M6:=0;
MA5:MA(CLOSE,M1);
MA10:MA(CLOSE,M2);
MA20:MA(CLOSE,M3);
MA60:MA(CLOSE,M4);
MA120:MA(CLOSE,M5);
(H,O,L,C);
(,0,0.1,0,),;
(1,0.00,0,0,' '),;
(1,0.03,0,0,),;
(1,0.05,0,0,' '),;
(1,0.08,0,0,),;
AAA1:=(' ',((60),0));
AAA2:=(' ',((61),0));
(,0,0,0,AAA1),;
(,0,0.06,0,AAA2),;
BK:=IF(('科创板'),0.2,IF(('创业板'),0.2,IF(('ST板块'),0.05,0.1)));
XA_1:=IF(DATE=(REF(CLOSE,1),0.1) AND C=H) AND XA_1=1;
旧跌停:=(C=(REF(C,1),BK) AND C=H;
跌停:=C=(REF(C,1),BK) AND C=(REF(CLOSE,1),0.1) AND C曾跌停:=(LL) OR (LL AND XA_1=1);
(旧涨停 AND =5,O,C,4,0),;
(旧跌停 AND =5,O,C,4,0),;
(涨停 AND =5,C,O,2.7,0),;
(跌停 AND =5,C,O,2.7,0),;
(曾涨停 AND =5,H,L,0.1,0),;{涨停后回落}
(曾跌停 AND =5,L,H,0.1,0),;{跌停后回升}
(旧涨停 AND =5,L-0.1,''),;
(旧跌停 AND =5,H+0.2,''),;
(涨停 AND =5,L-0.1,''),;
(跌停 AND =5,H+0.2,''),;
(曾涨停 AND =5,H+0.2,''),;
(曾跌停 AND =5,L-0.08,' '),;
有话要说...