Dazi MTF smoothed MA Channel

Dazi MTF smoothed MA Channel

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

The indicator is designed to work on small time frames, while the values ​​are calculated on larger periods (working timeframes). The result is smoothed in an active timeframe (semi-multitaymfreym).

Three advantages of LEDs:

  • accelerated reaction to price movements as in the present multitaymfreyme
  • 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) in a selected simulated bars working timeframe, displaying them on the active timeframe (= semi-multitaymfreym). Thus the graph is smoothed.

the channel width can be increased dynamic value which is calculated on the basis of ATR (Average True Range) for reducing noise market. ATR value 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 where the indicator shall work (MTF)
    Work selected timeframe of the preset 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 represents one additional bar (= when closing the two bars outside the channel, the trend is considered to be detected), etc.
  • 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

The indicator is called with iCustom (NULL, 0, “di_MTF-G-MA-Kan”, …, buffer, shift).

The buffers are as described above. Since before our semi-multitaymfreym shift corresponds to the bar active chart timeframe.

Example: when the indicator M1 timeframe will work on the M15. Offset 0 (shift 0) returns the current value of the operational timeframe (M1), shift 1 (shift 1) returns the previous value M1 (value of the last closed bar at M1), shift 2 (shift 2) – the value of the second closed bar on M1 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 smoothed MA Channel

Related posts

  • ATS Volume Break Out

    ATS Volume Break Out Alpha Trend Spotter (ATS) Volume Break Out This indicator combines indicators Volume Breakout (sample volume) and Moving Average…

  • Auto Trend Channel

    Auto Trend Channel Auto Trend Channel Indicator shows the direction of the trend, as well as displays the dynamic support and resistance levels. If the…

  • Channel Range Medvedev Percentage

    Channel Range Medvedev Percentage This indicator is a logical continuation https://www.mql5.com/ru/ market /product/12526 product with the only…

Next posts


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s