请观看如何免费下载自动交易
请在Facebook上找到我们!
加入我们粉丝页
有趣的脚本?
因此发布一个链接 -
让其他人评价
喜欢这个脚本? 在MetaTrader 5客户端尝试它
显示:
4464
等级:
(16)
已发布:
2005.12.07 10:12
已更新:
2016.11.22 07:33
demarker.gif (8.81 KB)
DeMarker.mq4 (3.05 KB) 预览
需要基于此代码的EA交易或指标吗?请在自由职业者服务中订购 进入自由职业者服务


DeMark Technical Indicator is based on the comparison of the period maximum with the previous period maximum. If the current period (bar) maximum is higher, the respective difference between the two will be registered. If the current maximum is lower or equaling the maximum of the previous period, the naught value will be registered. The differences received for N periods are then summarized. The received value is used as the numerator of the DeMarker and will be divided by the same value plus the sum of differences between the price minima of the previous and the current periods (bars). If the current price minimum is greater than that of the previous bar, the naught value will be registered.

When the indicator falls below 30, the bullish price reversal should be expected. When the indicator rises above 70, the bearish price reversal should be expected.

If you use periods of longer duration, when calculating the indicator, you’ll be able to catch the long term market tendency. Indicators based on short periods let you enter the market at the point of the least risk and plan the time of transaction so that it falls in with the major trend.

Calculation:

The value of the DeMarker for the "i" interval is calculated as follows:

  • The DeMax(i) is calculated:

    If high(i) > high(i-1), then DeMax(i) = high(i)-high(i-1), otherwise DeMax(i) = 0

  • The DeMin(i) is calculated:

    If low(i) < low(i-1), then DeMin(i) = low(i-1)-low(i), otherwise DeMin(i) = 0

  • The value of the DeMarker is calculated as:

    DMark(i) = SMA(DeMax, N)/(SMA(DeMax, N)+SMA(DeMin, N))

Where:
SMA — Simple Moving Average;
N — the number of periods used in the calculation.

Technical Indicator Description

Full description of DeM is available in the Technical analysis: DeMarker

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

Average Directional Movement Index, ADX Average Directional Movement Index, ADX

Average Directional Movement Index Indicator (ADX) helps to determine if there is a price trend.

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

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

Envelopes, Env Envelopes, Env

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

Fractals Fractals

Fractals Indicator it is a series of at least five successive bars, with the highest HIGH in the mid