通达信 【擒涨停板黑马】 选股指标N:...
通达信 【擒涨停板黑马】 选股指标
N:=14;
M:=6;
Tc1:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HcD :=HIGH-REF(HIGH,1);
LcD :=REF(LOW,1)-LOW;
DoP:=EXPMEMA(IF(HcD>0&&HcD>LcD,HcD,0),N);
DoM:=EXPMEMA(IF(LcD>0&&LcD>HcD,LcD,0),N);
PtI:=DoP*100/Tc1;
MuI:=DoM*100/Tc1;
ADX:=EXPMEMA(ABS(MuI-PtI)/(MuI+PtI)*100,M);
ADXR:=EXPMEMA(ADX,M);
买q:(CROSS(PtI, MuI)AND CROSS(PtI, ADX)AND CROSS(PtI, ADXR))AND CLOSE>OPEN
AND C/REF(C,1)>0.5 AND VOL>MA(VOL,5)*1.5,COLORRED,LINETHICK3;
赞 (0)