TH:=SUM(IF(CLOSE>REF(CLOSE,1),VOL,0),21);
TL:=SUM(IF(CLOSE<REF(CLOSE,1),VOL,0),21);
TQ:=SUM(IF(CLOSE=REF(CLOSE,1),VOL,0),21);
VAR0:=100*(TH*2+TQ)/(TL*2+TQ);
VAR1:=MA(VAR0,5);
W:=CROSS(VAR0,VAR1);
WL1:=VAR1<100;
WL2:=VAR1<150 AND VAR1>REF(VAR1,1);
WLT1:=W AND WL1;
WLT2:=W AND WL2;
TJ1:=FILTER(WLT1,5);
TJ2:=FILTER(WLT2,8);
小打:TJ1 OR TJ2,COLORYELLOW,LINETHICK2;
大闹:=COUNT( 小打,8)=2 AND 小打=1 AND COUNT(C/REF(C,1)>1.06,6)<1;
大闹1:(FILTER(大闹,5))*2,COLORRED,LINETHICK2;

 

通达信小打大闹指标公式