九毛八公式指标
1:DMI里adx大于70拐头向下 2:DMI里mdi>pdl 3:CCI背离的情况下上穿-100. 谢谢老师,小弟不胜感激,祝老师财源滚股
公式模块:
N:=14;MM:=6;
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),N);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),N);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),N);
pdi:=DMP*100/MTR;
mdi:=DMM*100/MTR;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,MM);
ADXR:=EXPMEMA(ADX,MM);
TYP:=(HIGH+LOW+CLOSE)/3;
cci:=(TYP-MA(TYP,14))/(0.015*AVEDEV(TYP,14));
ADX>70 AND
REF(ADX,1)>ADX AND
MDI>PDI AND
(REF(CCI,2)<REF(CCI,1) AND CCI>REF(CCI,1)) AND
crOSS(CCI,-100);