求高手将此通达信指标转成博易大师可以用指标 谢谢!博易大师指标

通达信一根线搞定DMI指标公式源码如下:
MTR:=EXPMEMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EXPMEMA(IF(HD>0&&HD>LD,HD,0),14);
DMM:=EXPMEMA(IF(LD>0&&LD>HD,LD,0),14);
PDI:= DMP*100/MTR;
MDI:= DMM*100/MTR;
DM:=PDI-MDI,NODRAW;
TRR1:=EMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14);
DMP1:=EMA(IF(HD>0 && HD>LD,HD,0),14);
DMM1:=EMA(IF(LD>0 && LD>HD,LD,0),14);
ADX0:=EMA((DMP1-DMM1)/(DMP1+DMM1)*100,6);
ADXR0:=EMA(ADX0,6);
PDI1:=DMP1/TRR1*100;
MDI1:=DMM1/TRR1*100;
DM1:=PDI1-MDI1;
AAJ:=(3*ADX0-2*ADXR0);
MAAD:=(ADX0-ADXR0),NODRAW;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORFF00FF; ADXR:EXPMEMA(ADX,6),POINTDOT,LINETHICK7,COLORGREEN;
IF(DM>0,ADXR,DRAWNULL),POINTDOT,LINETHICK7,COLORRED;
助涨:DRAWICON(DM>0 AND ADX>ADXR AND ADX>20,ADXR,15);
助跌:DRAWICON(DM<0 AND ADX>ADXR AND ADX>20,ADXR,12);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0>60 ,ADXR*1.2,8);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0<60 ,ADXR*1.4,2);
20,COLORYELLOW,DOTLINE;
60,COLORGREEN,DOTLINE;

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),14);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),14);
PDI:=DMP*100/MTR;
MDI:=DMM*100/MTR;
DM:=PDI-MDI;
TRR1:=EMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14);
DMP1:=EMA(IF(HD>0 AND HD>LD,HD,0),14);
DMM1:=EMA(IF(LD>0 AND LD>HD,LD,0),14);
ADX0:=EMA((DMP1-DMM1)/(DMP1+DMM1)*100,6);
ADXR0:=EMA(ADX0,6);
PDI1:=DMP1/TRR1*100;
MDI1:=DMM1/TRR1*100;
DM1:=PDI1-MDI1;
AAJ:=(3*ADX0-2*ADXR0);
MAAD:=(ADX0-ADXR0);
ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6),COLORFF00FF;
ADXR:EMA(ADX,6),POINTDOT,LINETHICK7,COLORYELLOW;
DRAWICON(DM>0 AND ADX>ADXR AND ADX>20,ADXR,15);
DRAWICON(DM<0 AND ADX>ADXR AND ADX>20,ADXR,12);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0>60 ,ADXR*1.2,8);
DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0<60 ,ADXR*1.4,2);
20,COLORYELLOW,POINTDOT;
60,COLORGREEN,POINTDOT;
{测试通过,满意请采纳,有问题请追问}
温馨提示:内容为网友见解,仅供参考
第1个回答  2012-03-05

MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);

HD :=HIGH-REF(HIGH,1);

LD :=REF(LOW,1)-LOW;

DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),14);

DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),14);

PDI:= DMP*100/MTR;

MDI:= DMM*100/MTR;

DM:=PDI-MDI;

TRR1:=EMA(MAX(MAX(H-L,ABS(H-REF(C,1))),ABS(REF(C,1)-L)),14);

DMP1:=EMA(IF(HD>0 AND HD>LD,HD,0),14);

DMM1:=EMA(IF(LD>0  AND LD>HD,LD,0),14);

ADX0:=EMA((DMP1-DMM1)/(DMP1+DMM1)*100,6);

ADXR0:=EMA(ADX0,6);

ADX:=EMA(ABS(MDI-PDI)/(MDI+PDI)*100,6);

ADXR:EMA(ADX,6),POINTDOT,LINETHICK5,COLORGREEN;

 PARTLINE(DM>0,ADXR),POINTDOT,LINETHICK6,COLORRED;

{助涨:}DRAWICON(DM>0 AND ADX>ADXR AND ADX>20,ADXR,10);

{助跌:}DRAWICON(DM<0 AND ADX>ADXR AND ADX>20,ADXR,9);

DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0>60 ,ADXR*1.2,2);

DRAWICON(CROSS(ADXR0,ADX0) AND ADXR0<60 ,ADXR*1.4,5);

20,COLORYELLOW,POINTDOT;

60,COLORGREEN,POINTDOT;

追问

谢谢高手的回复。

第2个回答  2012-03-03
“证券统计排行网”里有个股诊断功能,里面有效的分析了大盘及个股压力位支撑位及消息面分析,一切都是免费的。

求高手将此通达信指标转成博易大师可以用指标 谢谢!博易大师指标_百度...
MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),14);HD :=HIGH-REF(HIGH,1);LD :=REF(LOW,1)-LOW;DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),14);DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),14);PDI:=DMP*100\/MTR;MDI:=DMM*100\/MTR;DM:=PDI-MDI...

求高手将此通达信指标转成博易大师可以用指标 谢谢!博易大师指标
HH:=HHV(HIGH,5);LL:=LLV(LOW,5);HH1:=BARSLAST((HH > REF(HH,1)));LL1:=BARSLAST((LL < REF(LL,1)));IF((HH1 < LL1),LL,0),LINETHICK2,COLORBB0066;IF((HH1 > LL1),HH,0),LINETHICK2,COLOR1B8800;STICKLINE((HH1 < LL1),CLOSE,OPEN,3,0),COLORRED;STICKLINE((HH...

...超级短线指标),哪位高手能帮忙改写为 博易大师的,感谢万分!_百度知...
D: MA(J,3);K: MA(J,1);

通达信改博易大师指标
R1:=(CLOSE-LLV(LOW,90))\/(HHV(HIGH,90)-LLV(LOW,90))*200;R2:=EMA((CLOSE-(LLV(LOW,5)))\/((HHV(HIGH,5))-(LLV(LOW,5)))*100,4)*2;R3:=EMA(0.618*REF(R2,1)+0.382*R2,2);R4:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);R5:=POW(MA(LOW,5),2)+MA(LOW,5);R6:=POW...

求高手将通达信公式转成博易大师可以用指标
CG:MA((LOW+HIGH+CLOSE*3)\/5,10);FL:=HHV(CG,3),COLORGREEN,POINTDOT;FS:=IF(CG<FL,(CG-(FL-CG)),FL),COLORGREEN;FL1:=HHV(CG,5),COLORGREEN,POINTDOT;FS1:=IF(CG<FL1,(CG-(FL1-CG)),FL1),COLORGREEN;FL2:=HHV(CG,7),COLORGREEN,POINTDOT;FS2:=IF(CG<FL2,(CG-(FL...

谁能把通达信中的箱体指标改用在博易大师期软中?
【箱顶】:PEAK(CLOSE,N,1)*0.98;【箱底】:TROUGH(CLOSE,N,1)*1.02;【箱高】:100*(【箱顶】-【箱底】)\/【箱底】,NODRAW;因为PEAK是博易大师不支持的函数,所以无法修改

麻烦把通达信指标转成博易大师的谢谢
该指标中的“INDEXC”函数(返回对应的大盘收盘价,分别是上证指数,深证成指,中小板指和创业板指),博易大师没有,只能使用普通的close替代;另外,该指标含有未来函数ZIG,只可以做盘后参考,不能做盘中买卖依据。VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))...

这是通达信指标,有能帮转为博易大师的指标吗?
MA(A8,2));DRAWTEXT(FILTER(买=1,5),LOW*0.99,'↖买进'),COLORYELLOW;STICKLINE(买,OPEN,CLOSE,4,0),COLORYELLOW;日:=150;昨前:=3;高1:=REF(HHV(H,日),昨前);低1:=REF(LLV(L,日),昨前);H1:=高1-(高1-低1)*0.191; H2:=高1-(高1-低1)*0.382; H3:=高1-(高1-低...

通达信 指标转换成博易大师3.0 指标;
主趋势线:EMA(EMA(C,10),10),COLORRED,LINETHICK3;PARTLINE(主趋势线<REF(主趋势线,1),主趋势线),COLORBLUE,LINETHICK3;{B:=主趋势线>REF(主趋势线,1);IF(B-1,主趋势线,DRAWNULL)COLORBLUE,LINETHICK3;} {操盘线:EMA(EMA(C,5),5),COLORRED,LINETHICK2;Y:=操盘线>REF(操盘线,1);IF...

哪位大师能帮我把这通达信的公式改成博易大师的。。谢谢了
SP:IF(Y>X AND Z>=T,-2,0); DRAWTEXT(SP=-2,Y-X+150,'洗盘'),COLORWHITE;STICKLINE(B=1,0,X-Y,3,0),COLORRED; STICKLINE(S=-1,0,Y-X,3,0),COLORYELLOW; STICKLINE(BP=2,0,X-Y,3,0),COLORGREEN; STICKLINE(SP=-2,0,Y-X,3,0),COLORBLUE;(已在博易大师测试)

相似回答