1.求高手将此通达信指标转成博易大师可以用指标 谢谢!易大易博易大师指标
求高手将此通达信指标转成博易大师可以用指标 谢谢!师源师源开元 源码 组件博易大师指标
MTR:=EMA(MAX(MAX(HIGH-LOW,码博码分答题管理源码phpABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),);
PDI:=DMP*/MTR;
MDI:=DMM*/MTR;
DM:=PDI-MDI;
TRR1:=EMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),);
DMP1:=EMA(IF(HD>0 AND HD>LD,HD,0),);
DMM1:=EMA(IF(LD>0 AND LD>HD,LD,0),);
ADX0:=EMA((DMP1-DMM1)/(DMP1+DMM1)*,6);
ADXR0:=EMA(ADX0,6);
PDI1:=DMP1/TRR1*;
MDI1:=DMM1/TRR1*;
DM1:=PDI1-MDI1;
AAJ:=(3*ADX0-2*ADXR0);
MAAD:=(ADX0-ADXR0);
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*,6),COLORFFFF;
ADXR:EMA(ADX,6),POINTDOT,LINETHICK7,COLORYELLOW;
DRAWICON(DM>0 AND ADX>ADXR AND ADX>,ADXR,);
DRAWICON(DM<0 AND ADX>ADXR AND ADX>,ADXR,);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0> ,ADXR*1.2,8);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0< ,ADXR*1.4,2);
,COLORYELLOW,POINTDOT;
,COLORGREEN,POINTDOT;
{ 测试通过,满意请采纳,有问题请追问}