通达信仙人指路E指标公式,通达信DMI关注线指标公式
admin888
|通达信仙人指路E指标公式,通达信DMI关注线指标公式
通达信仙人指路E指标公式
弱市:=1.04;
ZX买入:=20;
0;
100, POINTDOT;
80, , {00010008};
VAR1:=WINNER(CLOSE)*100;
{VAR2:=IF(YEAR>=9999 AND MONTH>0,0,1);
}VAR2:=YEAR>=2000;
VAR3:=(ma(AMOUNT,5)/MA(vol,5)/100-MA(AMOUNT,125)/MA(VOL,125)/100)/(MA(AMOUNT,5)/MA(VOL,5)/100)<-0.4;
VAR4:=ema(WINNER((LOW+HIGH)/2),12)*100;
VAR5:=(CLOSE-LLV(LOW,100))/(HHV(HIGH,100)-LLV(LOW,100))*200;
VAR6:=SMA(VAR5,3,1);
VAR7:=SMA(VAR6,3,1);
VAR8:=3*VAR6-2*VAR7;
VAR9:=LLV(LOW,5);
VARA:=HHV(HIGH,5);
VARB:=EMA((CLOSE-VAR9)/(VARA-VAR9)*100,4)*2;
VARC:=EMA(0.667*REF(VARB,1)+0.333*VARB,2);
VARD:=3*VARB-2*VARC;
VARE:=POW(MA(CLOSE,5),2)+MA(CLOSE,5);
VARF:=POW(MA(LOW,5),2)+MA(LOW,5);
VAR10:=POW(MA(HIGH,5),2)+MA(HIGH,5);
VAR11:=(VARE-LLV(VARF,64))/(HHV(VAR10,64)-LLV(VARF,64))*150+65-10;
VAR12:=SMA(VAR11,3,1)*1.5-100;
VAR13:=SMA(VAR12,3,1);
VAR14:=3*VAR12-2*VAR13;
VAR15:=(HIGH+LOW+CLOSE*2)/4;
VAR16:=EMA(VAR15,13);
VAR17:=stD(VAR15,13);
VAR18:=(VAR15-VAR16)*100/VAR17;
VAR19:=EMA(VAR18,5);
VAR1A:=EMA(VAR19,13);
VAR1B:=EMA(VAR19,13)+200-100;
VAR1C:=EMA(VAR1B,10);
VAR1D:=3*VAR1B-2*VAR1C;
VAR1E:=VAR6+VARB+VAR12+VAR1B;
VAR1F:=VAR7+VARC+VAR13+VAR1C;
VAR20:=VAR8+VARD+VAR14+VAR1D;
VAR21:=(HIGH+LOW+CLOSE)/3;
VAR22:=AMOUNT/VOL/100;
VAR23:=SUM(AMOUNT,5)/SUM(VOL,5)/100;
VAR24:=(VAR21-MA(VAR21,34))/(0.015*AVEDEV(VAR21,34));
VAR25:=dma(AMOUNT/VOL/100,VOL/CAPITAL);
VAR26:=(HIGH+LOW+CLOSE+VAR21)/4;
VAR27:=EMA(VAR26,24);
VAR28:=STD(VAR26,24);
VAR29:=(VAR26-VAR27)/VAR28*100;
VAR2A:=(VAR21-MA(VAR21,24))/(0.015*AVEDEV(VAR21,24));
VAR2B:=EMA(VAR29,5);
VAR2C:=(VAR22-MA(VAR22,21))/(0.015*AVEDEV(VAR22,21));
VAR2D:=(VAR23-MA(VAR23,90))/(0.015*AVEDEV(VAR23,90));
VAR2E:=((VAR2D+VAR2C+VAR2B+VAR2A+VAR24)/5+165)/4;
VAR2F:=(EMA(EMA(EMA(VAR2E,15),10),5)-25)*2+VAR25;
VAR30:=(VAR1E+VAR1F+VAR20*30)/32/5-15;
VAR31:=EMA(VAR30,13);
VAR32:=(VAR2E+VAR30)/2/1.1;
DX: VAR32*VAR2, , {00050001};
VAR33:=(VAR2F+VAR31)/2*VAR2;
VAR34:=EMA(VAR33,1);
ZX: EMA(VAR34,2), , {00050001};
STICKLINE(ZX-REF(ZX,2)>0,ZX,0,10,0), , {00030001};
STICKLINE(ZX-REF(ZX,2)<0,ZX,0,10,0), , {00010001};
VAR35:=CLOSE*50/100;
VAR36:=MA(VAR35,30)*0.83;
VAR37:=MA(VAR35/VAR36,3);
IF(VAR37<弱市,-5,-25), , {00050001};
VAR38:=(CLOSE-MA(CLOSE,6))/MA(CLOSE,6)*100;
VAR39:=(CLOSE-MA(CLOSE,12))/MA(CLOSE,12)*100;
VAR3A:=(CLOSE-MA(CLOSE,24))/MA(CLOSE,24)*100;
VAR3B:=VAR3A<-6 AND VAR39<-6 AND VAR38<-6;
VAR3C:=COUNT(VAR3B>0,10)>=1;
VAR3D:=crOSS(DX,ZX) AND ZX
VAR3E:=CROSS(DX,0) AND ZX
DRAWICON(CROSS(DX,ZX) AND COUNT(VAR37<弱市,3)>=1 OR CROSS(DX,0) AND COUNT(VAR37<弱市,3)>=1,25,1), , {00010001};
IF(CROSS(ZX,DX) AND ZX>60,115,-35)*VAR2, , {00010007};
通达信DMI关注线指标公式
N:=14;
M:=6;
TRTR:=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/TRTR;
mdi:= DMM*100/TRTR;
stICKLINE(PDI>=MDI,PDI-MDI,0,2,1),COLOR9900FF;
STICKLINE(PDI
ADX:= EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
DRAWBAND(ADX,RGB(200,0,200),ADXR,RGB(150,150,150));
ADX2:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M),COLOR00EEEE,LINETHICK1;
ADXR2:EXPMEMA(ADX,M),COLORFFFFFF,LINETHICK1;
关注线:=50,COLORF0F000,POINTDOT;
IF(ADX>=ADXR,85,DRAWNULL),COLORF580F5,LINETHICK8;
IF(ADX
IF(PDI>=MDI,-55,DRAWNULL),COLOR0000EE,LINETHICK8;
IF(PDI
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。