通達(dá)信自用DMI指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費(fèi)版
- 指標(biāo)評(píng)級(jí): ★★★★★
- 指標(biāo)語(yǔ)言: 簡(jiǎn)體中文
- 指標(biāo)來(lái)源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-08-29 00:00:00
內(nèi)容介紹:
通達(dá)信自用DMI指標(biāo)公式:
DRAWGBK(C>0, RGB(1,0,1),RGB(1,0,1),0,'0',0);
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,COLORWHITE,NODRAW;
MDI:DMM*100/MTR,COLORYELLOW,NODRAW;
ADX:EXPMEMA(ABS(MDI-PDI)/(MDI+PDI)*100,6)COLORMAGENTA;
ADXR:EXPMEMA(ADX,6)COLORGREEN;
MZD:=MAX(ADX,MAX(PDI,MDI));
MZX:=MIN(ADX,MIN(PDI,MDI));
高點(diǎn):=REFDATE(HHV(MZD,120),DATE);
低點(diǎn):=REFDATE(LLV(MZX,120),DATE);
STICKLINE(PDI>MDI,高點(diǎn),低點(diǎn),5,0)COLOR001050;
STICKLINE(PDI<MDI,高點(diǎn),低點(diǎn),5,0)COLOR404050;
DRAWBAND(PDI,RGB(150,50,50),MDI,RGB(0,50,100));
STICKLINE(ADX>ADXR,ADX,ADXR,1,0)COLORRED;
STICKLINE(ADX<ADXR,ADX,ADXR,1,0)COLORLIGREEN;
通達(dá)信自用DMI指標(biāo)公式
NOTEXT1:ADX,COLORMAGENTA;
NOTEXT2:ADXR,COLORGREEN;
STICKLINE(C>0,60,60,28,-1)COLORYELLOW;
STICKLINE(C>0,20,20,28,-1)COLORYELLOW;
DRAWTEXT(ISLASTBAR,ADX,' ←ADX'),COLORMAGENTA;
DRAWTEXT_FIX(1,0,0.00,0,'股價(jià)連續(xù)上漲到高位,ADX下穿ADXR或下穿60時(shí)賣出;'),COLORGREEN;
DRAWTEXT_FIX(1,0,0.10,0,'股價(jià)連續(xù)下跌到低位,ADX下穿ADXR或下穿60時(shí)買入;'),COLORYELLOW;
DRAWTEXT_FIX(1,0,0.20,0,'股價(jià)在低位盤(pán)整過(guò)后,ADX上穿20時(shí)啟動(dòng)(上升);'),COLORWHITE;
DRAWTEXT_FIX(1,0,0.30,0,'股價(jià)在高位盤(pán)整過(guò)后,ADX上穿20時(shí)啟動(dòng)(下跌);'),COLORCYAN;
DRAWTEXT_FIX(1,0.55,0.00,0,'20軸附近 -- 紅色背景 -- 出現(xiàn)紅柱(或綠柱縮短)-- 可以買入;'),COLORWHITE;
DRAWTEXT_FIX(1,0.55,0.10,0,'紅色背景(PDI>MDI):安全;'),COLORWHITE;
通達(dá)信自用DMI指標(biāo)公式更新時(shí)間:2017-08-29 13:18
- ·中泰化學(xué)業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比略低于預(yù)期
- ·敏芯股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比減少674.39%
- ·百潤(rùn)股份業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)104.7%
- ·陶瓷行業(yè)股票2023業(yè)績(jī)分析:陶瓷基板發(fā)展迅速,精密陶瓷零部件有望加速國(guó)產(chǎn)化
- ·天奧電子業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)10.37%
- ·香飄飄業(yè)績(jī)預(yù)告最新消息:2023第一季度凈利潤(rùn)同比增長(zhǎng)110%
相關(guān)推薦: