黑马检测线之庄拉选股指标公式

N1:=14;

VAR3:=EMA(100*(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100)),5);

VAR4:=(CLOSE-LLV(CLOSE,N1))/(HHV(CLOSE,N1)-LLV(CLOSE,N1))*100;

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

VAR6:=EMA(VAR5,100);

VAR7:=2*(VAR5-VAR6);

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

黑马线1:= IF(VAR7>0.1,VAR8,0)*5;

VAR1A:=crOSS(黑马线1,2);

VAR1B:=CROSS(黑马线1,4);

庄拉: IF(FILTER((VAR1A OR VAR1B) AND VAR4<40 AND VAR3<40,5)=1,35,0);