Ichimoku MTF Alerts Indicator: Three Timeframes Scored

Written by Dominic Walsh · Published · Last updated

The ichimoku mtf alerts indicator reduces three timeframes to one pane. For H1, H4 and D1 it compares Tenkan against Kijun. Each one scores up, down or flat. The three scores print as separate histograms. Their sum becomes one alignment line between minus 3 and 3.

This build ships as a compiled .ex4 for MT4 and .ex5 for MT5; the screenshots below come from EURUSD H1.

Platforms MT4 (.ex4) + MT5 (.ex5)
Chart window Separate window (levels -3 / 0 / 3)
Plots 4: H1, H4, D1, Aligned
Alerts popup, push notification
Inputs 6

What the Ichimoku MTF Alerts Indicator draws on the chart

H1 is the dodger blue histogram, H4 is orange and D1 is lime green.

Each histogram uses its own height, so the three never overlap.

Aligned is the magenta line carrying the sum of all three scores.

Reference lines sit at 3, 0 and minus 3.

  • H1: histogram, dodger blue, width 3
  • H4: histogram, orange, width 3
  • D1: histogram, lime green, width 3
  • Aligned: line, magenta, width 2
Ichimoku MTF alerts indicator on EURUSD H1 with three timeframe scores and the alignment line
Ichimoku MTF alerts indicator on EURUSD H1 with three timeframe scores and the alignment line

How the Ichimoku MTF Alerts Indicator calculates its values

Scoring one timeframe

iBarShift maps the chart bar time onto the target timeframe. iIchimoku then supplies Tenkan and Kijun there. The periods come from `InpTenkan` `9`, `InpKijun` `26` and `InpSenkouB` `52`. diff takes one minus the other.

Allowing for flat

A flat threshold sits at five points on a five-digit feed. Elsewhere it is half a point. A difference inside that band scores zero. So a timeframe with the two lines almost level says nothing rather than guessing.

Stacking the three

Each score gets its own multiplier before printing. H1 draws short bars and D1 draws tall ones. AlignBuf takes the plain sum of the three. A reading of 3 means every timeframe agrees upward.

How to read the signals

The magenta line is the summary and the histograms show where it came from.

A reading of zero can mean disagreement or three flat timeframes.

D1 changes rarely, so most movement in the sum comes from H1.

Watch for the sum reaching 3 or minus 3, which is full agreement.

Alert channels in this build: popup and push notification, one message per closed bar.

`InpAlertEnable` ships on and raises a terminal popup when the alignment changes. `InpPushEnable` adds a phone push and starts false. This build carries no email or sound channel. The guard permits one message per closed bar.

Every Ichimoku MTF Alerts Indicator input

Core settings

Setting What it does Default
InpTenkan Conversion line length used on every timeframe, default `9`. 9
InpKijun Base line length used on every timeframe, default `26`. 26
InpSenkouB Second span length, default `52`. 52
InpPrefix Prefix on the object names the tool creates, default `MTFICH_`. MTFICH_

Alert settings

Setting What it does Default
InpAlertEnable Popup when the alignment changes, default `true`. on
InpPushEnable Phone push on the same event, default `false`. off
Ichimoku MTF alerts indicator inputs: InpTenkan, InpKijun, InpSenkouB, InpAlertEnable
Ichimoku MTF alerts indicator inputs: InpTenkan, InpKijun, InpSenkouB, InpAlertEnable

Settings that fit your chart

The three timeframes are fixed at H1, H4 and D1 in the code. That makes the chart period almost irrelevant. Every reading comes from elsewhere. EURUSD H1 is the reference chart, and a matching period simply keeps the bars lined up with what you read.

When the Ichimoku MTF Alerts Indicator fails

Tenkan against Kijun is one small part of the system, and the cloud plays no part here.

A D1 reading changes at most once a day, so the sum moves in steps.

Full agreement at 3 usually arrives after a move has already run.

Copy the compiled Ichimoku MTF Alerts Indicator file into your MQL4/Indicators folder, and the MT5 build into MQL5/Indicators, then restart the terminal and drag it onto a chart. The step-by-step guide with screenshots is at how to install MT4 and MT5 indicators.

Related on forexmt4systems.com: Ichimoku Trend Strategy.

Background reading on the method behind the Ichimoku MTF Alerts Indicator: Broker-dealer on Wikipedia, Euro reference exchange rates at the ECB.

Download the Ichimoku MTF Alerts Indicator for MT4 and MT5

The zip holds the compiled Ichimoku MTF Alerts Indicator build for MT4 and MT5, plus a short README. Compiled files only, no source. Enter your email below and the download link arrives in your inbox.

Download this indicator free

Enter your email and the file is yours. You also get the full MT4 and MT5 library.

  • 1,380+ indicators
  • MT4 and MT5 files
  • No spam, unsubscribe any time

FAQ

Why do the H1, H4 and D1 plots use different heights?

So all three fit one pane without overlapping. Each score gets its own multiplier before it reaches a buffer. That spaces the bars vertically. The scores themselves are only minus 1, zero or 1.

When does InpTenkan score a flat zero?

When Tenkan and Kijun sit too close together. The code uses a flat threshold, five points on a five-digit feed. A gap inside that band scores zero. It stops a nearly level pair from claiming a direction.

Can I change which timeframes InpTenkan is read on?

Not from the inputs. H1, H4 and D1 are fixed in the code. `InpTenkan`, `InpKijun` and `InpSenkouB` set the periods used on all three. Changing them shifts every score at once.

What does the Aligned line at 3 mean?

Every one of the three timeframes scored positive. That is full agreement, and it is what the alert watches for. Minus 3 is the mirror. Anything between means one timeframe disagrees or sits flat.

Are results guaranteed?

No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Ichimoku MTF Alerts Indicator as one input. Always backtest before trading live.

Category: this is part of our Trend collection. Also, truly, browse more Trend for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.

External references

Dominic Walsh - Forex trader and MT4/MT5 developer

About the author

Written by Dominic Walsh, a Forex trader and MT4/MT5 indicator, Expert Advisor and script developer. Every tool on forexmt4systems.com is tested on live charts before release and ships with ready-to-use compiled MT4 (.ex4) and MT5 (.ex5) files. Learn more about the trader and developer behind this site.

How we build, test and correct every tool: Editorial & Testing Policy. Trading carries risk; see the disclaimer.

Leave a Comment