Goichi Hosoda designed a system meant to be read whole. The ichimoku alert indicator draws all five of its lines, then picks one event out of everything they describe: Tenkan crossing Kijun. That crossing earns an arrow and a message, while the rest stays context you read yourself.
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 | Main price chart |
| Plots | 7: Tenkan-sen, Kijun-sen, Senkou Span A, Senkou Span B, Chikou Span, TK Buy, TK Sell |
| Alerts | popup, push notification, email, sound |
| Inputs | 9 |
Its visible parts
Five lines and a pair of marks on price.
`Tenkan-sen` traces red and `Kijun-sen` blue.
`Senkou Span A` traces sandy brown ahead of price.
`Senkou Span B` traces thistle beside it.
`Chikou Span` traces lime behind price.
`TK Buy` and `TK Sell` mark the crossing bar.
- Tenkan-sen: line, red, width 1
- Kijun-sen: line, blue, width 1
- Senkou Span A: line, sandy brown, width 1
- Senkou Span B: line, thistle, width 1
- Chikou Span: line, lime, width 1
- TK Buy: arrow, lime, width 2, arrow code 233
- TK Sell: arrow, red, width 2, arrow code 234

The arithmetic
One call, five outputs
iIchimoku returns every line. `TenkanPeriod` `9`, `KijunPeriod` `26` and `SenkouSpanBPeriod` `52` set all of them, and five separate modes pull each curve out of that single call.
Midpoints, not averages
Each line takes the highest high and lowest low across its own window, then splits the difference. That is why they step flat rather than curving the way an average would.
Only one crossing counts
Two bars settle it. Tenkan moving from under Kijun to above prints the buy mark. The cloud and the lagging span take no part in that decision.
Using it on a chart
Tenkan is the fast line and Kijun the reference.
Both spans together form the cloud ahead of price.
`Chikou Span` sits twenty-six bars behind.
A crossing inside the cloud carries less weight than one outside it.
Marks appear only for the two-line crossing.
Warm-up needs roughly seventy-eight bars.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
Only one event speaks here: Tenkan crossing Kijun. `EnableAlerts` holds the master switch and `EnablePopup` already raises the terminal window. The app, the mail queue and the speakers behind `SoundFile` all begin shut. One message per closed bar.
Every Ichimoku alert Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
TenkanPeriod |
Window behind the fast line, `9`. | 9 |
KijunPeriod |
Window behind the reference line, `26`. | 26 |
SenkouSpanBPeriod |
Window behind the slower cloud edge, `52`. | 52 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Master switch over the crossing message, `true`. | on |
EnablePopup |
Raise it in the terminal window, `true`. | on |
EnablePushNotify |
Send it to the MetaQuotes app, `false`. | off |
EnableEmail |
Post it to the terminal mail queue, `false`. | off |
EnableSound |
Play it through the speakers, `false`. | off |
SoundFile |
Clip chosen for that, `”alert.wav”`. | alert.wav |

Where the defaults suit
Hosoda built these numbers for a six-day trading week on daily bars. EURUSD H1 is the reference chart, where crossings arrive once or twice a day. Go faster and they crowd. Go slower and each one covers weeks.
What it misses
Five lines plus a cloud crowd the chart.
A crossing ignores the cloud entirely.
Both lines step flat, so price can hug one for many bars.
Seventy-eight bars of warm-up leaves a short history blank.
Copy the compiled Ichimoku alert 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 alert Indicator: Ichimoku Kinko Hyo on Wikipedia, Ichimoku Cloud at StockCharts ChartSchool.
Download the Ichimoku alert Indicator for MT4 and MT5
The zip holds the compiled Ichimoku alert 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.
FAQ
Which two lines must cross for a TK Buy?
Tenkan-sen finishing above Kijun-sen on a bar where it sat below on the one before. No other line takes part, so the mark can land with price inside the cloud or on the wrong side of the lagging span.
Why do Tenkan-sen and Kijun-sen step flat?
Each takes the midpoint between the highest high and lowest low of its window rather than averaging closes. While neither extreme changes, that midpoint cannot move, so the line draws a flat segment.
Which line does SenkouSpanBPeriod 52 control?
The slower of the two cloud edges. Fifty-two bars is twice Kijun’s window, which makes that edge the steadiest line in the system and the cloud’s shape a comparison between two speeds.
How many bars before the Chikou Span draws?
About seventy-eight. The slowest span needs fifty-two, and the system shifts forward by another twenty-six, so both have to fill before the cloud is drawable at all on a fresh chart.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Ichimoku alert 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
- Learn more about the underlying method in iichimoku (ICHIMOKU) at the MQL5 Documentation.
- For wider market background, see ICHIMOKU Cloud at Investopedia.
