← Back to all indicators

MTF Agreement MA

Draws a moving average of the chart's timeframe and changes its colour by whether the directions of up to four timeframes agree. The line's height and its colour are separate calculations.

Coming soon · MT5 only · no licence file needed

Download and installation · Manual

MTF Agreement MA default settings
MetaTrader 5 display example (default settings) — Default: LWMA 5 of the chart bars is shown. It switches between green, red and gray according to the direction of closed bars on H1, H4 and D1.
Examples with changed settings are in the manual.

Main settings

InputDefault
Higher Timeframe ValueLast Closed Bar
MA Period5
MA MethodLWMA
MA PriceTypical
Check 1true
Check 1 TimeframeCurrent (chart timeframe)
Check 1 Period5
Check 2true
Check 2 TimeframeH4
Check 2 Period5
Check 3true
Check 3 TimeframeD1
Check 3 Period5
Check 4false
Check 4 TimeframeW1
Check 4 Period5
Show When Not Alignedtrue

Detailed description of the settings (manual)

Usage specifications

When a selected timeframe is replaced

The same timeframe as the chart can be used. On charts of daily or lower timeframes, you can use daily or lower timeframes that are longer than the chart and whose length is divisible by the chart's length, as well as weekly and monthly timeframes. Others are replaced with the chart's timeframe. Example: M15 on H1 becomes H1, and H6 on H4 becomes H4. Weekly and monthly charts use only their own timeframe. Check the result after replacement in the window name and the “Experts” tab.

Higher timeframes are built from the current chart

It does not read the history of other timeframes directly; it groups the bars loaded in the current chart. There are no higher-timeframe bars older than the chart's history. For longer timeframes, the section containing the chart's first bar is not used. In calculations for the same timeframe, the first bar is also used.

Day, week and month boundaries

In server time, the boundary is 00:00 for daily bars, Sunday 00:00 for weekly bars and 00:00 on the 1st of the month for monthly bars. Sections without bars are not filled with new bars. If there are bars on Sunday, that day is also counted as 1 daily bar.

Results change with the history

The calculation is redone when the chart's history is added or corrected, or when the oldest bar or the settings change. For recursively calculated EMA, SMMA, RSI and ADX, past values and colors may also change. It is not guaranteed that past displays remain unchanged under all conditions.

Chart bars after closing

In normal bar progression, the check results known at the time of that bar are used. Even within the same higher-timeframe bar, past chart bars with Forming Bar can have different colors. If history or settings change, the past is also recalculated.

Color of line segments

On a bar where the color changes, the segment entering that bar takes the new bar's color. Read the position of the points and the segments between them separately.

Disabled checks

The Timeframe and Period of unused checks do not affect the color. However, their input ranges are checked. The 4 checks cannot all be set to false.

Meaning of gray

It is a color that combines mixed, equal and insufficient check history. Do not read an undetermined direction as the direction of the next price.

Only 1 instance of the same product on 1 chart

This manual describes adding 1 instance of this product to 1 chart. To compare different settings, use separate charts.

For on-screen display only

This product is for displaying calculation results on the screen. It does not guarantee future price movement.

Usage specifications (manual)

Full manual

How to read the display, the settings, installation and what to check when something goes wrong, on one page. The product is in preparation for release; the manual is published so that you can review its content.

Open the manual

  1. MT5 display and examples of changed settings
  2. How to read it in 30 seconds
  3. What it measures
  4. Situations for reading the display
  5. Steps for checking the display
  6. Installation and checking the package contents
  7. Settings
  8. Usage specifications
  9. Troubleshooting and usage notes
  10. Technical information and specification details