VAR1:=(C*2+H+L)/4*10;
VAR2:=EMA(VAR1,13)-EMA(VAR1,34);
VAR3:=EMA(VAR2,5);
VAR4:=2*(VAR2-VAR3)*5.5;
VAR5:=C-LLV(L,55);
VAR6:=INDEXH+INDEXL;
VAR7:=INDEXC*2;
VAR8:=(VAR7+VAR6)/4;
VAR9:=EMA(VAR8,13)-EMA(VAR8,34);
VAR10:=EMA(VAR9,3);
VAR11:=3*SMA((VAR5)/(HHV(H,55)-LLV(L,55))*100,5,1)-2*SMA(SMA((C-LLV(L,55))/(HHV(H,55)-LLV(L,55))*100,5,1),3,1);
VAR12:=(EMA(VAR11,3)-REF(EMA(VAR11,3),1))/REF(EMA(VAR11,3),1)*100;
VAR15:=(EMA(VAR11,3) =13) AND FILTER((EMA(VAR11,3) =13),15);
VAR16:=EMA(VAR11,3) =13 AND VAR12 13 AND FILTER((EMA(VAR11,3) =13 AND VAR12 13),10);
主力撤:IF(VAR4 =0,VAR4,0),COLORBLUE;
主力进:IF(VAR4 =0,VAR4,0),COLORFF00FF;
大盘资金进场:IF((VAR9-VAR10)/2 =0,(VAR9-VAR10)/2,0),COLORRED;
大盘资金撤走:IF((VAR9-VAR10)/2 =0,(VAR9-VAR10)/2,0),COLORGREEN;
趋势线:EMA(VAR11,3);
准备现金:STICKLINE(趋势线 =13,0,8,5,0),COLORCC9900;