[通达信] 盘中抓涨停的预警公式

J1:=DYNAINFO(7);
MS:=DYNAINFO(28);
MX1:=DYNAINFO(34);
MX2:=DYNAINFO(35);
ZT:MS>0 AND (MX1=0 AND J1=MS OR MX2=0 AND MX1>0 AND J1=MX1);

AM:=IF(DATE<=1031231,1,0);
AA:=CLOSE/REF(CLOSE,1)>=1.099;
AB:=VOL/REF(VOL,1);

A1:=SUM(C>MA(C,55),5);
A2:=MA(V,1)<0.5;
A3:=V/REF(V,1)<0.5;
A4:=REF(A1,1);
A5:=A3/A4<0.5;
A6:=1.2<(MA(V,5)/(MA(REF(V,5),1)))<1.5;

B1:=REF(EVERY(CB2:=(C>=MA(C,55));
B3:=V=HHV(V,5);
B4:=REF(C,1)>REF(O,1) AND REF(C,2)低位放量:=B1 AND B2 AND B3 AND B4;

XG:盘中缩量 AND 低位放量 AND 跑赢大盘 AND 波动幅度 AND 最低价 ;

DYNAINFO(14)>-2/100
AND CAPITAL<5000000
AND DYNAINFO(26)/DYNAINFO(32)>2
AND DYNAINFO(27)/DYNAINFO(33)>2
AND DYNAINFO(41)/DYNAINFO(43)>2
AND DYNAINFO(48)/DYNAINFO(50)>2
AND DYNAINFO(26)>1000
AND DYNAINFO(27)>1000
AND DYNAINFO(41)>1000
AND DYNAINFO(48)>1000
AND??TIME>140000 ;

RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
K:=(SMA(RSV,3,1));
D:=(SMA(K,3,1));
J:=(3*K-2*D);
KK:=INTPART(SMA(RSV,3,1));
DD:=INTPART(SMA(K,3,1));
JJ:=INTPART(3*K-2*D);
JJ1:=REF(JJ,1);
A:=KK-DD;
A1:=REF(A,1);
B:=A1-A;
B1:=REF(A1-A,1);
B2:=REF(A1-A,2);
CC:=B+B1+B2;
AA:=VOL/((HIGH-LOW)*2-ABS(CLOSE-OPEN));

XX:=MA(QQ,5);
VAR1:=VOL/SUM(VOL,13);
VAR2:=DMA(CLOSE,VAR1);
YY:=(CLOSE-VAR2)/VAR2*100/2.5;
VAR3:=CROSS( XX, 0) AND YY>1.0;
VAR4:=A+B+REF(B,1)=REF(A,1)+REF(B,1)=REF(A,2);
VAR3 AND VAR4;

TT:=BARSCOUNT(C);
CC:=CLOSE;
ZZ:=SUM(AMOUNT,TT)/SUM(VOL*100,TT);
ZZ1:=BETWEEN(C/ZZ,1.05,0.95);

YY:=SMA(VOL,30,1);