Dazi MTF MA Channel

Dazi MTF MA Channel

Detection of a trend with the channel of the two moving averages with larger timeframes (multitaymfreym).

The indicator is designed to work on small time frames, while the values ​​are calculated on larger periods (working timeframes).

Three advantages of LEDs:

  • Buffer shift corresponds to the operating timeframe (multitaymfreym) when used in conjunction with moving average
  • a reverse testing visualization
  • any possible time frame (e.g., H12 or D2)

Short description

The purpose of the indicator – the detection of a trending market. It generates a channel indicator of the two averages (on the maximum and minimum) of bars in the selected working timeframe.

the channel width can be increased dynamic value which is calculated on the basis of ATR (Average True Range) for reducing noise market. The value of the ATR – weighted to give greater importance latest bars. You can also specify a specific value for the supporting bars (confirmation bars): only when the outside channel closes the specified number of bars, the trend is considered to be detected.


  • Timeframe
    Work timeframe selected from predefined periods. It should not be less than the timeframe that is running the indicator. When you set the value, it will automatically change the value of the current timeframe.
  • timeframe Factor
    Modifier selected timeframe. The minimum value is 1.
  • maPeriod (default value for the moving average)
  • maShift (default value for the moving average)
  • maMethod (default value for the moving average)
  • dynamic Factor
    Determines the degree of expansion of the channel. The value varies between 0 and 1. Smaller values ​​automatically equal to 0, larger – to 1.
    When the channel is added 0.5 semidynamical value.
  • confirmation Bars
    The number of additional bars that consistently closes outside the channel in which the trend is considered to be detected.
    0 means only the current bar. 1 means one additional bar (that is, at the close of the two bars outside the channel trend considered to be detected).
  • count inside Bars
    Parameter reminds confirmation Bars, but has the opposite character. It filters price emissions falling into the canal. When the above number of bars sequentially locked within the channel, a signal to start the trend removed.
  • break Out Arrow Code (value Wingdings Font) for imaging trend.
    Showing on the top (upward trend) or lower MA (downward trend) for all bars is a start signal trend.
    The default value is 116 (rhombus). 0 – no rendering.

Return values

There are four returned values ​​(buffer).

Buffers 2 and 3 return the maximum and minimum values ​​of the channel MA.

The buffer bar 1 shows the power varies from -2 to +2. Values ​​between +1 and -1 represent a price within the channel, 0 means that the price is in the middle, and values ​​above 1 or below -1 means that the rate is outside the channel.

The most important is the buffer 0, which provides data on the trend or range. Given the parameters Confirmation of Bars and Count Inside Bars, MA, it returns the value (maximum or minimum) at 0 trend or – when movement within the channel.

shift buffer

Indicator called with iCustom (NULL, 0, “di_MTF-MA-Kan”, …., buffer, shift).

The buffers are as described above.

The shift refers to the bar on working timeframe.

Example: when the indicator M1 timeframe will work on the M15. Offset 0 (shift 0) returns the current value of the operational timeframe (M15), shift 1 (shift 1) returns the previous value M15 (value of the last closed bar to M15), shift 2 (shift 2) – the value of the second closed bar to M15, and so on. d.

Visualization of the reverse testing

The indicator can be operated in a tester strategies imaging mode, and displaying the indicator value allowing to assess the work advisors.

any timeframe

Timeframe parameter can only choose from predefined periods. However, the multiplier applied to it, so that you can work on any timeframe.

Example: when the indicator M1 timeframe will work on the M10. In this case, the combination of working parameters “timeframe = M1, factor = 10” or “timeframe = M5, factor = 2”.

This can be interesting when working with large time frames, e.g., H12, D2 or D3.

Dazi MTF MA Channel

Related posts

  • Dazi MTF MovingAverage

    Dazi MTF MovingAverage Moving Average Indicator with the ability to work on higher timeframes (MTF). This indicator is designed to operate on smaller…

  • Extended Keltner Channel

    Extended Keltner Channel Extended version of the Keltner Channel. You can use a variety of moving average 21 and 11 different prices to calculate the…

  • Fractal Divergence Channel

    Fractal Divergence Channel Channel fractal divergence based on fractal patterns divergence, presenting them in the form of channel, the limits of which…

Next posts

Leave a Reply

Your email address will not be published. Required fields are marked *