请观看如何免费下载自动交易
请在Telegram上找到我们!
加入我们粉丝页
有趣的脚本?
因此发布一个链接 -
让其他人评价
喜欢这个脚本? 在MetaTrader 5客户端尝试它
指标

Average Directional Movement Index, ADX - MetaTrader 4脚本

显示:
5711
等级:
(32)
已发布:
2005.12.06 15:10
已更新:
2016.11.22 07:33
adx.gif (9.66 KB)
ADX.mq4 (3.88 KB) 预览
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务


Average Directional Movement Index Technical Indicator (ADX) helps to determine if there is a price trend. It was developed and described in detail by Welles Wilder in his book "New concepts in technical trading systems".

The simplest trading method based on the system of directional movement implies comparison of two direction indicators: the 14-period +DI one and the 14-period -DI. To do this, one either puts the charts of indicators one on top of the other, or +DI is subtracted from -DI. W. Wilder recommends buying when +DI is higher than -DI, and selling when +DI sinks lower than -DI.

To these simple commercial rules Wells Wilder added "a rule of points of extremum". It is used to eliminate false signals and decrease the number of deals. According to the principle of points of extremum, the "point of extremum" is the point when +DI and -DI cross each other. If +DI raises higher than -DI, this point will be the maximum price of the day when they cross. If +DI is lower than -DI, this point will be the minimum price of the day they cross.

The point of extremum is used then as the market entry level. Thus, after the signal to buy (+DI is higher than -DI) one must wait till the price has exceeded the point of extremum, and only then buy. However, if the price fails to exceed the level of the point of extremum, one should retain the short position.

Calculation

ADX = SUM ((+DI - (-DI)) / (+DI + (-DI)), N) / N

Where:
N — the number of periods used in the calculation.

Technical Indicator Description

Full description of ADX is available in the Technical analysis: Average Directional Movement Index

由MetaQuotes Ltd译自俄语
原代码: https://www.mql5.com/ru/code/7955

在通道中交易 在通道中交易

使用价格通道(Price Channel)原则的交易系统已经实现.

Period Converter Optimized Period Converter Optimized

Improved period converter support real-time refreshing, low CPU cost and other features.

DeMarker, DeM DeMarker, DeM

Demarker Indicator is based on the comparison of the period maximum with the previous period maximum

Envelopes, Env Envelopes, Env

Envelopes Indicator is formed with two moving averages one of which is shifted upward and another on