关键词不能为空

当前您在: 主页 > 英语 >

趋向指标DMI 计算及详解

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-06 04:18
tags:

-

2021年2月6日发(作者:carnival)


DMI


技术指标的计算方法




DMI(Directional Movement In dex)


指标,中文名称为趋向指标,由技术分析大师威尔斯


?



尔德


(J?Wells?Wilde r?Jr



)


发明,被认为是最有成就 、最实用的一套技术分析工具。本指标


最大的特点是它能准确地告诉我们行情是否启动。


在技术分析领域中,


很多技术指标必须搭



DMI


指标来研判某只股票的涨跌。本指标的基本原理为, 寻求股票价格涨跌、买卖双方


力量的均衡点


(Iquilibr ium Point)


,及价格在双方互动下波动循环的过程。





DMI


指标是由四条线来组成一幅美丽的图表。这四条线分别为


+DI


(上升动向线)



-DI


(下降动向 线)



ADX(


方向线


)



ADXR(


评估线


)






DMI


公式原理:





计算


DMI


第一项工作,


便是确认其基本的动向变动值


(DM)


是上涨还是下跌。


+DM

< br>与


-DM


来表示涨与跌动向变动值。




动向变动值为当日价格 波动幅度大于前一日价格的部分最大值。也就是说,动向变动值


已能表示出价格波动的涨 跌幅度。





1


.零动向


(Zero Directional Movement)




经过计算


+DM



-DM


的值均为零。发生这种现象的情况有两种:





a


.内移日


(Inside Day)




当日最高价小于或等于前一交 易日最高价,当日最低价大于或等于前一交易日的最低价,


即为内移日,这时

< p>
+DM



-DM


值为零。





b


.买卖双方均衡日





当日最高价大于前一交易日最 高价,其差的绝对值正好等于当日最低价与前一交易日最


低价差额绝对值,这时买卖双方 处于均衡之势,


+DM



-DM


值为零。





2


.上升动向


+DM




如果当日最高价比前一交易日 最高价更高,且当日最低价大于前一交易日最低价,则出


现上升现象,动向值等于当日最 高价与前一交易日最高价的差颁绝对值。






3


.下跌动向


-DM




如果当日最低价比前一交易日 最低价更低,且当日最高价小于前一交易日最高价,则出


现下降动向值,此值等于当日最 低价与前一交易日最低价的差额绝对值。





4


.如果当日最高价大于或等于前 一交易日最高价,而且当日最低价小于前一交易日最


低价,若前者差额绝对值大于后者差 额绝对值时,取前者差额绝对值


+DM


;若前者差额绝


对值小于后者差额绝对值时,取后者差额绝对值为


-DM






第一项工作完成后,我们还要找出真正的波幅


(True Ra m)


,这是我们要完成的第二项工


作。





真正波幅

(TR)


,是当日价格与前一交易日收盘价格比较之后的最大变动值。





计算方式:






(1)


当日收盘价


-


当日最低价





(2)


当日最高价


-


前一交易日收盘价





(3)


当日最低价


-


前一交易日收盘价





1



2



3


种计算 结果,三者差额绝对值最大者,即为当日的真正波幅


(TR)


值 。





第一项工作完成了动向变动值


(DM)



第二项工作完成了真正波幅


(TR)



第三项工作要完


成的是动向指数线


(Directional Indicator)






动向线


(DI)

< br>为检测价格上涨或下跌的指标,


上升动向线以


+DI


来表示,


下跌动向线用


-DI


来表示。





上升或下跌动向线的计算方法如下:





+DI



+DM



TR




-DI



-DM



TR




要使动向线具有参考价值,必须进行一定时期的累计运算, 威尔德认为最适当的周期是


14


天,笔者则认为在中国大陆股市 中其最具有使用价值的周期为



7


天。






计算方法如下:





分别将


7


天内的


+DM



-DM



TR


平均,所得到的数值分别为

+DM7



-DM7


< p>
TR7


。因



7


天的上升或下跌动向指数线的计算方法如下:





+D17



+DM7



TR7




-D17



-DM7



TR7




需要说明的是负的动向变动值并不是负数,负号仅代表下跌 方向,计算出正负动向指标


(DI)


的数值后,由于其数值永远 介于


0



100


之间,因此为了方便图表的绘制,


7


天上升动


向线


(+DI7)


表示最近


7


天以来实际上涨力量的百分比,而


7


天 下跌动向线



(-D17)


表示最近< /p>


7


天以来下跌力量的百分比。





如果股票价格持续下跌,


那么负动向变动值不断出现,


将使下跌动向线的数值不断出现,


下跌动向线的数值不断升高。若价格持续上涨,则上述情况的相反导向即将出现于图形上。< /p>


当股价在盘整时,上升与下跌动向线差异则非常小。





当上述情况出现时,就要借助 动向平均线


(ADX)


来研判。





动向值


(DX)


计算方式为:






DX



DI



-DI







DI


差=


+DI-(-DI)




DI


和=


+DI+(-D1)




七天周期动向值的计算公式为:





DX7



DI7



-DI7


< br>




D17


差=


+DI7-(-DI7)




D17


和=


+DI7+(-DI7)





由于动向值的变动性大,因此以


7


作为平滑计算,即可算出< /p>


ADX





ADX



(


昨日动向平均值


+


今日动向值


)



7




ADX


值算出后,方向就明显了, 最后,我们将要计算


ADXR


评比线的值:




ADXR



(


今日动向平均值


ADX +7


日前动向平均值


ADX)



2



DMI


技术指标的计算方法






DMI


指标


的计算方法和过程比较复杂,


它涉 及到


DM



TR



DX


等几个计算指标和


+DI




PDI


,下同 )、-


DI


(即


MDI


,下同)、


aDX



aDXR



4


个研判指标的运算。





< br>计算的基本程序






以计算日


DMI

指标为例,其运算的基本程序主要为:





1


、按一定的天数将


DX


累加后平均,求得


n


日内 的平均动向值


aDX






2


、再通 过当日的


aDX


与前面某一日的


aDX


相比较,计算出


aDX


的评估数值


aDXR






3


、通过


n


内的上升指标


+DI


和下降指标-


DI


之间的差和之比,计算出每日的动向值


DX






4


、将


n


内的 上升动向值和下降动向值分别除以


n


日内的真实波幅值,从而求 出


n


日内


的上升指标

< br>+DI


和下降指标-


DI






5


、按一定的规则比较每日股价波动产生的最高价、最低价和收盘价,计算出每日股价


的波动的真实波幅


TR



+ DI


、-


DI


,在运算基准日基础上按 一定的天数将其累加,以求


n


日的


TR



+DM



D M


值。






计算的具体过程


< br>




【一】计算当日动向值





动向


指数


的 当日动向值分为上升动向、


下降动向和无动向等三种情况,


每日 的当日动向


值只能是三种情况的一种。





a


、上升 动向(


+DM






+DM


代 表正趋向变动值即上升动向值,


其数值等于当日的最高价减去前一日的最低价。


上升动向值必须大于当日最低价减去前一日最低价的绝对值,否则


+DM =0






b


、下降动向(-


DM






DM


代表负趋向变动值即下降动向值,

< br>其数值等于当日的最低价减去前一日的最低价。


下降动向值必须大于当日的最高价 减去前一日最低价的绝对值,否则-


DM=0






c


、无动向





无动向代表当日动向值为





的情况,即当日的


+DM


和-


DM


同时等于零。有两种股


价波动情况下可能出现无动向。


一是当当日的最高价低于前一日 的最高价并且当日的最低价


高于前一日的最低价,二是当上升动向值正好等于下降动向值 。





【二 】计算真实波幅(


TR






TR


代表 真实波幅,是当日价格较前一日价格的最大变动值。取以下三项差额的数值中


的最大值( 取绝对值)为当日的真实波幅:


a


、当日的最高价减去当日的最 低价的价差。


b



当日的最高价减去前 一日的收盘价的价差。


c


、当日的最低价减去前一日的收盘价的 价差。


TR



a



b



c


中 的数值最大者





【四】计算方向线


DI




方向线


DI


是衡量股价上涨或下跌的指标,分为



上升指标





下降指标



。在有的股市


分析软件上,


+DI


代表上升方向线,



DI


代表下降方向线。


其计算方法如下:


+DI =



DM÷


TR



×


100



DI=


(-


DM÷


TR



×


100


;要使方向线具 有参考


价值


,则必须运用平滑移动平均的原

理对其进行累积运算。以


12


日作为计算

< br>周期


为例,先将


12


日内的


+DM


、-


DM



TR


平均


化,所得数值分别为


+DM12


,-


DM12



TR12


,具体如下:


+DI



12



=



+DM12÷


TR12


×


100


DI



12


=


(-


DM12÷


TR12



×


100



随后计算第


13


天的


+DI12




DI12



TR12


时,


只要利用平 滑移动平均


公式


运算即可。例如:当日的


TR12=11/12÷


前一日


TR12

+当日


TR


上升或下跌方向线的数值永远介于


0



100


之间。





【五】计算动向平均数


aDX




依据


DI


值 可以计算出


DX


指标值。


其计算方法是 将


+DI




DI


间的差的绝对值除以总


和的百分比得到动向指数

< p>
DX



由于


DX


的波动幅度比较大,


一般以一定的周期的平滑计算,

得到平均动向指标


aDX


。具体过程如下:


DX=



DI DIf÷


DIsuM




×


100


。其中,


DI D If


为上


升指标和下降指标的价差的绝对值。

< br>DI suM


为上升指标和下降指标的总和;


aDX


就是


DX


的一定周期


n


的移动平均值。





【六】计算评估数值


aDXR





DMI


指标中还可以添加


aDXR


指标,以便 更有利于行情的研判。


aDXR


的计算公式

为:


aDXR=


(当日的


aDX< /p>


+前一日的


aDX


÷


2


。和其他指标的计算一样,由于选用的计算

< p>
周期的不同,


DMI


指标也包括日


DMI


指标、



DMI


指标、



DMI


指标 年


DMI


指标以及分



DMI


指标等各种类型。经常被用于股市研判的是日


D MI


指标和周


DMI


指标。虽然它们< /p>


的计算时的取值有所不同,但基本的计算方法一样。另外,随着股市软件分析技术的发展,


投资者只需掌握


DMI


形成的基本原理 和计算方法,无须去计算指标的数值,更为重要的是


利用


DMI


指标去分析、研判


股票


行情。




dmi


指标原理和计算方法



一、


dmi


指标的原理



dmi


指标是通过分析


股票价格


在涨跌过程中买卖双方力量均衡点的变化情况,即多空


双方的力量的变 化受价格波动的影响而发生由均衡到失衡的循环过程,


从而提供对趋势判断


依据的一种技术指标。



dmi

指标的基本原理是在于寻找股票价格涨跌过程中,股价藉以创新高价或新低价的


功能 ,


研判多空力量,


进而寻求买卖双方的均衡点及股价在双方互动 下波动的循环过程。



大多数指标中,


绝大部分都是以每一日的收盘价的


走势


及涨跌幅的累计数来计算 出不同的分


析数据,


其不足之处在于忽略了每一日的高低之间的 波动幅度。


比如某个股票的两日收盘价


可能是一样的,但其中一 天上下波动的幅度不大,而另一天股价的震幅却在


10%


以上, 那


么这两日的行情走势的分析意义决然不同,


这点在其他大多数 指标中很难表现出来。



dmi


指标则 是把每日的高低波动的幅度因素计算在内,


从而更加准确的反应行情的走势及更好的


预测行情未来的发展变化。



二、


dmi


指标的计算方法



dmi


指标的计算方法和过程比较复杂,它涉及到


dm



tr



dx


等几个计算指标和


+di


(即


pdi


,下同)、-


di


(即


mdi


,下同)、


adx



adxr



4

< p>
个研判指标的运算。



1


、计算的基本程序



以计算日


dmi


指标为例,其运算的基本程序主要为:




1


)按一 定的规则比较每日股价波动产生的最高价、最低价和收盘价,计算出每日股


价的波动的真 实波幅


tr



+di

< br>、-


di


,在运算基准日基础上按一定的天数将其累加, 以求


n


日的


tr



+dm



dm

值。




2




n


内的上升动向值和下降动向值 分别除以


n


日内的真实波幅值,


从而求 出


n



内的上升指标

< br>+di


和下降指标-


di





3


)通过


n


内的上升指标


+di

和下降指标-


di


之间的差和之比,计算出每日的动向值< /p>


dx





4


)按一定的天数将


dx

< br>累加后平均,求得


n


日内的平均动向值

< br>adx




< br>5


)再通过当日的


adx


与前面 某一日的


adx


相比较,计算出


adx


的评估数值


adxr




2


、计算的具体过程




1


)计算当日动向值


动向指数的当日动向值分为上升动向、


下降动向和无动向 等三种情况,


每日的当日动向


值只能是三种情况的一种。



a


、上升动向(


+ dm




+dm


代表正趋向变动值即上升动向值,


其数值等于当日的最高价减去前一日的最低价。


上升动向值必须大于当日最低价减去前一日最低价的绝对值,否则


+ dm=0




b


、下降动向(-


dm



< p>


dm


代表负趋向变动值即下降动向值,


其数值等于当日的最低价减去前一日的最低价。


下降动向值必须大于当日 的最高价减去前一日最低价的绝对值,否则-


dm=0




c


、无动向



无动向代表当日动向值为“零”的情况,即当日的


+dm

< p>
和-


dm


同时等于零。有两种

股价波动情况下可能出现无动向。


一是当当日的最高价低于前一日的最高价并且当日 的最低


价高于前一日的最低价,二是当上升动向值正好等于下降动向值。




2


)计算真实波幅(


tr




tr


代表真实波幅,


是当日价格较前一日价格的最大变动值。

< p>
取以下三项差额的数值中的


最大值(取绝对值)为当日的真实波幅:



a


、当日的最高价减去当日的最低价的价差 。



b


、当日的最高价减去前一日的收 盘价的价差。



c


、当日的最低价减去 前一日的收盘价的价差。



tr



a



b



c


中的数值最大者




3


)计算方向线


di


方向线


di


是衡量股价上涨或下跌的指标,分为“上升 指标”和“下降指标”。在有的


股市


分析软件上,


+di


代表上升方向线,-


di

代表下降方向线。其计算方法如下:



+di=

< p>


dm


÷


tr

< p>
)×


100



di=< /p>


(-


dm


÷


tr


)×


100


要使方向线具有参考价值 ,则必须运用平滑移动平均的原理对其进行累积运算。以


12


日 作为计算周期为例,


先将


12


日内的< /p>


+dm




dm



tr


平均化,


所得数值分别为


+dm12




dm12



tr12


,具体如下:



+di


< p>
12



=



+dm12


÷


tr12


)×


100



di



12



=


(-


dm12


÷


tr12


)×


100


随后计算第


1 3


天的


+di12


< br>-


di12



tr12


时,


只要利用平滑移动平均公式运算即可。



例如:



当日的


tr12=11/12


÷前一日


tr12

+当日


tr


上升或下跌方向线的数值永远介于

< p>
0



100


之间。




4


)计算动向平 均数


adx


依据


di


值可以计算出


dx


指标值。其计算方法是将

< p>
+di


和―


di


间的差的 绝对值除以总和


的百分比得到动向指数


dx


由于


dx


的波动幅度比较大,< /p>


一般以一定的周期的平滑计算,



到平均 动向指标


adx


。具体过程如下:


< /p>


dx=(didif


÷


disum)


×


100


其中,


didif


为上升指标和下降指标的价差的绝对值


< p>
disum


为上升指标和下降指标的总和



adx


就是


dx


的一 定周期


n


的移动平均值。


< p>


5


)计算评估数值


ad xr



dmi


指标中还可以添加


adxr


指标,以便更有利于行情的研判。



adxr


的计算公式为:


< p>
adxr=


(当日的


adx


+前一日的


adx


)÷


2


和其他指标的计算一样,由于选用的计算周期的不同,


dmi

< p>
指标也包括日


dmi


指标、



dmi


指标、月


dmi

< p>
指标年


dmi


指标以及分钟


dmi


指标等各种类型。经常被用于股市研


判的是日


dmi


指标和周


dmi


指标。虽然它们的计算时的取值有所不同,但基本的计算方法


一样。另外,随着股市软件 分析技术的发展,


投资


者只需掌握


dm i


形成的基本原理和计算


方法,无须去计算指标的数值,更为重 要的是利用


dmi


指标去分析、研判股票行情。









Directional Movement Index (DMI)



Description


The


Directional


Movement


Index


(also


known


as


DMI)


is


a


momentum


indicator


that


was


developed


by


J.


Welles


Wilder.


It


is


calculated


using


the


price,


compares the current price with the previous price range, and displays


the


result


as


an


upward


movement


line


(+DI),


and


a


downward


movement


line


(-DI), between 0 and 100. The DMI also calculates the strength of the


upward


or


downward


movement,


and


displays


the


result


as


a


trend


strength


line (ADX).


The DMI is displayed on its own chart, separate from the price bars, and


is the lower section in the chart shown above.


Calculation


?



?



Description:


The DMI is the ratio of exponential moving averages of the greater of the upward (U)


and downward (D) price movements, and the true range (TR).



Calculation:



U = Hn - Hn-1


D = Ln-1 - Ln


TR = (Hn - Ln) | (Hn - Cn-1) | (Cn-1 - Ln)


EMAUP = EMAUn-1 + ((2 / (n + 1)) * (Un - EMAUn-1))


EMADOWN = EMADn-1 + ((2 / (n + 1)) * (Dn - EMADn-1))


EMATR = EMATRn-1 + ((2 / (n + 1)) * (TRn - EMATRn-1))



+DI = EMAUP / EMATR




-DI = EMADOWN / EMATR




DX = ABS(+DI - -DI) / (+DI + -DI)



ADX = EMADXn-1 + ((2 / (n + 1)) * (DXn - EMADXn-1))



Trading Use


The Directional Movement Index can be used in


both


ranging


and


trending


markets.


In


general,


when


the


+DI


line


is


above the -DI line, the market is moving upwards, and when the -DI line


is


above


the


+DI


line,


the


market


is


moving


downwards.


The


ADX


line


shows


the


strength


of


the


move,


and


the


market


is


considered


to


be


trending


when


the


ADX


line


is


above


30,


and


ranging


when


the


ADX


line


is


below


30.


There


are several trading systems that use the DMI, so there are several


alternative uses of both the DI lines, and the ADX line.



ranging and trending markets


Definition:



Day trading markets are referred to as either ranging or trending depending upon the


type of price movement that is currently occurring. The descriptions of these types of


markets are as follows :


Ranging


A ranging market is a market where the price is moving back and forth between a


higher price and a lower price. The higher price would be acting as resistance


because it prevents the price from moving above it, and the lower price would be


acting as support because it prevents the price from moving below it.


The price range of a ranging market can be small or large, and if the range is very


small the market would be considered to be in chop (moving sideways with very little


upward or downward movement).


Trending


A trending market is a market where the price is moving in a single direction, either up


or down, but not sideways.


There may be several small price reversals, but nothing large enough to prevent the


price movement from continuing in its original direction. A day trading trend may last


for a few minutes or a few hours, and longer term trends


may last for several weeks


or months.





DMI Points The Way To Profits



By


Candy Schaap


A


A


A

< br> |


The primary objective of the trend trader is to enter a trade in the


direction of the


trend


. Reading directional signals from price alone can


be difficult and is often misleading because price normally swings in both


directions and changes character between periods of low versus high


volatility.


The


directional movement indicator


(also known as the directional


movement index - DMI) is a valuable tool for assessing price direction


and strength. This indicator was created in 1978 by J. Welles Wilder,


who also created the popular


relative strength index


. DMI tells you when


to be long or short. It is especially useful for trend trading strategies


because it differentiates between strong and weak trends, allowing the


trader to enter only the strongest trends. DMI works on all time frames


and can be applied to any underlying vehicle (stocks, mutual


funds,


exchange-traded funds


, futures, commodities and currencies).


Here, we'll cover the DMI indicator in detail and show you what


information it can reveal to help you achieve better profits. (For


background reading, see


Momentum And The Relative Strength Index


.)


DMI Characteristics


DMI is a moving average of range expansion over a given period (default


14). The


positive directional movement indicator


(+DMI) measures how


strongly price moves upward; the


negative directional movement


indicator


(-DMI) measures how strongly price moves downward. The two


lines reflect the respective strength of the bulls versus the bears. Each


DMI is represented by a separate line (Figure 1). First, look to see which


of the two DMI lines is on top. Some short-term traders refer to this as


the


dominant


DMI. The dominant DMI is stronger and more likely to


predict the direction of price. For the buyers and sellers to change


dominance, the lines must cross over.


A


crossover


occurs when the DMI on bottom crosses up through the


dominant DMI on top. Crossovers may seem like an obvious signal to go


long/short, but many short-term traders will wait for other indicators to


confirm the entry or exit signals to increase their chances of making a


profitable trade. Crossovers of the DMI lines are often unreliable


because they frequently give false signals when volatility is low and late


signals when volatility is high. Think of crossovers as the first indication


of a


potential


change in direction. (For more insight, read the


Moving


Averages


tutorial.)


Source: TDAmeritrade Strategy Desk


Figure


1:


The


+DMI


and


-DMI


are


shown


as


separate


lines.


There


are


several false crossovers ( Point 1) and one crossover at Point 2


that


leads


to


an


uptrend


with


+DMI


dominant.


Note:The


calculations


for DMI are complicated and are referenced elsewhere. Also, DMI


is


normally


plotted


in


the


same


window


with


the


ADX


indicator,


which


is not shown.


DMI is used to confirm price action (see Figure 2). The +DMI generally


moves in sync with price, which means that the +DMI rises when price


rises, and it falls when price falls. It is important to note that the -DMI


behaves in the opposite manner and moves counter-directional to price.


The -DMI rises when price falls, and it falls when price rises. This takes a


little getting used to. Just remember that the strength of a price move up


or down is always recorded by a peak in the respective DMI line.


Reading directional signals is easy. When the +DMI is dominant and


rising, price direction is up. When the -DMI is dominant and rising, price


direction is down. But the strength of price must also be considered. DMI


strength ranges from a low of 0 to a high of 100. The higher the DMI


value, the stronger the prices swing. DMI values over 25 mean price is


directionally strong. DMI values under 25 mean price is directionally


weak.


Source: TDAmeritrade Strategy Desk


Figure 2: DMI is weak at Point 1 and price is choppy. The +DMI


rises


strongly


above


25


at


Point


2


and


the


uptrend


follows.


Note


how +DMI moves with price at Point 3 and -DMI moves


counter-directional to price at Point 4.


DMI Momentum


The great feature of DMI is the ability to see buying and selling pressure


at the same time, allowing the dominant force to be determined before


entering a trade. The strength of a


swing high


(bulls) is reflected in the


+DMI peak, and the strength of a


swing low


(bears) is seen in the -DMI


peaks. The relative strength of the DMI peaks tells the momentum of


price and provides timely signals for trading decisions. When the buyers


are stronger than the sellers, the +DMI peaks will be above 25 and the


-DMI peaks will be below 25. This is seen in a strong uptrend. But when


the sellers are stronger than the buyers, the -DMI peaks will be above 25

-


-


-


-


-


-


-


-



本文更新与2021-02-06 04:18,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/605502.html

趋向指标DMI 计算及详解的相关文章