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;
版权声明:文章来自网络!方法技巧仅供参考!拾荒网10Huang.CN,财富在手十指紧握!与努力的人共勉!