【同花順】DMI高手指標(biāo)公式
攻城獅 2015.11.28 04:00
MTR:=EMA(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(REF(CLOSE,1)-LOW)),3);
HD :=HIGH-REF(HIGH,1);
LD :=REF(LOW,1)-LOW;
DMP:=EMA(IF(HD>0 AND HD>LD,HD,0),3);
DMM:=EMA(IF(LD>0 AND LD>HD,LD,0),3);
PDI:=EMA(DMP*100/MTR,13);
MDI:=EMA(DMM*100/MTR,13);
快線:=PDI-MDI,COLORSTICK;
//{www.vatsalthakor.com 概念股網(wǎng)_同花順股票指標(biāo)公式}
慢線:=EMA(FORCAST(快線,8),3),colorwhite,LINETHICK1;
短多:(快線-慢線)*4, LINESTICK,colorred;
短空:-(快線-慢線)*4, LINESTICK,colorcyan;
短多線:(快線-慢線)*4,colorred;
短空線:-(快線-慢線)*4,colorcyan;
趨勢(shì):EMA(快線/(MDI+PDI)*100,2),COLORLIGRAY;
平均趨勢(shì):EMA(趨勢(shì),3),colorgray;
零軸:0,DOTLINE,colorwhite;
申明:本文為作者投稿或轉(zhuǎn)載,在概念股網(wǎng) http://www.vatsalthakor.com/ 上發(fā)表,為其獨(dú)立觀點(diǎn)。不代表本網(wǎng)立場(chǎng),不代表本網(wǎng)贊同其觀點(diǎn),亦不對(duì)其真實(shí)性負(fù)責(zé),投資決策請(qǐng)建立在獨(dú)立思考之上。