VAR1:=vol/((HIGH-LOW)*2-Abs(CLOSE-OPEN));
主买:=IF(CLOSE>OPEN,VAR1*(HIGH-LOW),IF(CLOSE
ZL:=SUM(主力买入量,60)/SUM(V,60)*100,LINETHICK2;
DT:=ZL-REF(ZL,1);
Ema3:=EMA(ZL,3),COLORRED,LINETHICK2;
EMA6:=EMA(ZL,6),COLORFF00FF;
EMA9:=EMA(ZL,9),COLORYELLOW;
EMA12:=EMA(ZL,15),COLORFFCC66;
EMA25:=EMA(ZL,25),COLORFFFF80;
D:=MAX(MAX(EMA3,EMA6),MAX(MAX(EMA9,EMA12),EMA25));
X:=MIN(MIN(EMA3,EMA6),MIN(MIN(EMA9,EMA12),EMA25));
N:=(D-X)/X*100<2;
小多:=ZL>EMA3 AND EMA3>EMA6 AND EMA6>EMA9 AND EMA9>EMA12 ;
红蝴蝶:小多 AND EXIST(crOSS(ZL,EMA3),3) AND DT>0 AND EXIST(N,3);