EMACD之底背离选股指标公式

SJ:=1;

VAR6:=(2*CLOSE+HIGH+LOW)/4;

VAR8:=LLV(LOW,20);

VARAA:=HHV(HIGH,26);

B8:=EMA((VAR6-VAR8)/(VARAA-VAR8)*100,8);

B18:=EMA(B8,5);

K底:=B8<20 AND crOSS(B8,B18);

K底1:=BArslAst(K底);

K底2:=REF(K底1,1);

底背离:B8<25*SJ AND CROSS(B8,B18) AND B8>REF(B8,K底2) AND C<REF(C,K底2);