通达信强势反转绝杀黑马选股公式源码

F:=EMA(CLOSE,10)-EMA(CLOSE,21);

A:=EMA(F,8);

MD:=(F-A)*2;

ZQ:=BARSLAST(CROSS(F,A) AND A<=0.05)+1;

LZ:=BARSLASTCOUNT(MD<REF(MD,1))>1;

HZ:=BARSLASTCOUNT(MD>REF(MD,1))>1;

LZQ:=BARSLASTCOUNT(LZ);

HZQ:=BARSLASTCOUNT(HZ);

LZQTJ:=COUNT(LZQ,ZQ);

HZQTJ:=COUNT(HZQ,ZQ);

NQR:=REF(CLOSE,4);

SRZF:=((CLOSE-NQR)/NQR)*100,NODRAW;

绝杀黑马:REF(LZQTJ,1)>=2 AND REF(HZQTJ,1)>=3 AND HZQTJ=0 AND LZQTJ=0 AND SRZF>2;