穿越火线之绿柱选股指标公式

VAR1:=EMA(CLOSE,2)-EMA(CLOSE,89);

VAR2:=EMA(VAR1,30);

VAR3:=2.5*(VAR1-VAR2)*10;

VAR4:=POW(VAR3,3)*0.1+POW(VAR3,2);

VAR5:=IF(VAR3>0.015,VAR4,0)/45;

军备:=VAR5,COLORRED;

VAR6:=EMA(CLOSE,2)-EMA(CLOSE,150);

VAR7:=EMA(VAR6,120);

VAR8:=2*(VAR6-VAR7);

VAR9:=POW(VAR8,3)*0.1+POW(VAR8,1);

粮草:=IF(VAR8>0.1,VAR9,0)*5;

GZ:=军备+粮草;

侦查兵:=GZ>0 AND REF(GZ,1)=0;

绿柱:侦查兵>0;