通达信DMI组合指标公式通达信通道趋势指标公式
admin888
|通达信DMI组合指标公式通达信通道趋势指标公式
通达信DMI组合指标公式
VAR1:=(C-LLV(L,13))/(HHV(H,13)-LLV(L,13))*100;
牛:SMA(VAR1,7,1);
VAR2:=Sma(牛,5,1);
熊:IF(crOSS(牛,VAR2) AND CROSS(MA(C,5),MA(C,13) AND 牛>50),VAR2*2,VAR2);
DRAWBAND(牛,RGB(205,92,92),熊,RGB(28,134,238));
N:=14;
M:=6;
TR:=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/TR COLORMAGENTA;
mdi:=DMM*100/TR COLORGREEN;
ADX:=EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,M);
ADXR:=EXPMEMA(ADX,M);
stICKLINE(ADX>=ADXR,ADX,ADXR,3,0),COLOR800040;
STICKLINE(ADX
关注:STICKLINE(BArslAST(CROSS(MDI,PDI))<5 AND MDI>PDI AND ADX
10;
90;
FVAR1:=REF(CLOSE,2);
会员专用: SMA(MAX(CLOSE-FVAR1,0),7,1)/SMA(ABS(CLOSE-FVAR1),7,1)*100,COLORYELLOW;
{一、PDI>MDI且趋势向上;
二、ADX;
ADXR在PDI及MDI中间金叉}走强:DRAWTEXT(CROSS(ADX,ADXR) AND PDI>MDI AND PDI>REF(PDI,1) AND ADX>REF(ADX,1) AND BETWEEN(ADX,MDI,PDI) AND ADXR>REF(ADXR,1),ADXR*0.98,'走强'),COLORYELLOW;
通达信通道趋势指标公式
N:=46;
XX:=CLOSE;
X1:=(ma(XX,3)+MA(XX,5)+MA(XX,8)+MA(XX,13)+MA(XX,21))/5;
LO:=X1+5*SLOPE(X1,3);
LL:=SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
X:=IF(crOSS(LL,10),5,0);
J:=ema(LL,5);
Y5:J-2*stD(J,10),COLORLIGRAY;
Y2:EMA(LL,13)*1.2,COLORLIGRAY;
DRAWBAND(Y5+3,RGB(76,76,76),Y2-3,RGB(76,76,76));
{外}STICKLINE(LL>=90 OR LL>=80,50,60,5,1),COLORBLUE;
DRAWTEXT(IF(X>REF(X,1),-8,0),-8, 'KKKK '),COLOR00FFFF,LINETHICK4;
DRAWTEXT(CROSS(10,LL),-10,'买警'),COLORMAGENTA;
DRAWTEXT(CROSS(LL,80),55,'卖警'),COLORYELLOW;
STICKLINE(Y2<20 ,-20 ,-15 ,5,1),COLORCYAN;
底部区域:STICKLINE(1 ,20 ,10 ,0,0 ),COLORBROWN;
DRAWTEXT(CROSS(20,Y2) ,40 ,'入底' ),COLORWHITE;
短线:SMA((LO-LLV(LO,N))/(HHV(LO,N)-LLV(LO,N))*100,3,1),COLORRED;
趋势:3*SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1)-2*SMA(SMA((CLOSE-LLV(LOW,N))/(HHV(HIGH,N)-LLV(LOW,N))*100,5,1),3,1),COLORGREEN;
118,POINTDOT,COLORCYAN;
-30,POINTDOT,COLORCYAN;
牛市通网是一个牛股推荐网与低风险投资知识网,可以在线联系客服领取牛股。牛市通网从权威的投资专家、金融分析师等投资信息中挑选优质的文章进行发布。牛市通网主要为投资者提供股票知识、股票观点、股票分析和明智金融投资讨论等信息。