The kijun sen alerts indicator strips Ichimoku back to two lines. Each one takes the highest high and the lowest low over its own window, then sits halfway between them. No cloud gets drawn here at all.
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 | 2: Tenkan, Kijun |
| Alerts | popup, push notification, email, sound |
| Inputs | 8 |
What the Kijun Sen Alerts Indicator draws on the chart
A tan `Tenkan` line runs at `TenkanPeriod` `9`.
A pale green `Kijun` line runs at `KijunPeriod` `42`.
Both sit directly on price, so no extra pane opens.
Nothing else appears, so the pair of lines is the whole output.
- Tenkan: plot, tan
- Kijun: plot, pale green

How the Kijun Sen Alerts Indicator calculates its values
A midpoint, not an average
The code scans the window for the highest high and the lowest low. Adding the two and halving gives the value. Price in between the extremes never affects it.
Two windows, one method
`TenkanPeriod` `9` covers the shorter stretch and reacts faster. `KijunPeriod` `42` covers a much longer one and moves in steps. Both lines use the identical calculation.
That Kijun window is not standard
Classic Ichimoku puts Kijun at twenty-six bars. This build ships forty-two, which makes the line slower and flatter. Set it back to twenty-six if you want the textbook version.
How to read the signals
A flat stretch means neither extreme changed inside the window.
The line steps rather than curves, because a new extreme moves it at once.
`Tenkan` above `Kijun` says the recent range sits higher than the longer one.
Price crossing either line is the event the alerts watch.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
`EnableAlerts` covers all four routes and starts true. `EnablePopup` is the one that ships alongside it. Turn on `EnablePushNotify` for the phone, `EnableEmail` for mail, or `EnableSound` to play `SoundFile`. Bars have to close first.
Every Kijun Sen Alerts Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
TenkanPeriod |
Bars in the faster midpoint window, default `9`. | 9 |
KijunPeriod |
Bars in the slower midpoint window, default `42`. | 42 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
Gate covering every route below, default `true`. | on |
EnablePopup |
Dialog inside MetaTrader, default `true`. | on |
EnablePushNotify |
Alert to the mobile app, default `false`. | off |
EnableEmail |
Message to the terminal mail address, default `false`. | off |
EnableSound |
Plays the file named below, default `false`. | off |
SoundFile |
That file name, default `”alert.wav”`. | alert.wav |

Settings that fit your chart
Midpoint lines suit charts with clean swings. EURUSD H1 is the reference chart, where `KijunPeriod` `42` covers close to two days. On M15 that same count runs about ten hours. Daily bars stretch it across two months.
When the Kijun Sen Alerts Indicator fails
A midpoint ignores everything between the two extremes, so a busy range reads flat.
One new extreme shifts a line in a single step, which looks abrupt.
Without the cloud and the lagging span, this is a partial Ichimoku picture.
Copy the compiled Kijun Sen 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.
Background reading on the method behind the Kijun Sen Alerts Indicator: Financial quote on Wikipedia, Algorithmictrading at Investopedia.
Download the Kijun Sen Alerts Indicator for MT4 and MT5
The zip holds the compiled Kijun Sen 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.
FAQ
Why does KijunPeriod default to 42?
That is the choice this build made, and it differs from the classic twenty-six. Forty-two bars gives a slower line that holds level for longer. Set the input to twenty-six if you want the standard Ichimoku reading back.
How does TenkanPeriod 9 differ from an average?
An average weighs every close in the window. This takes only the highest high and the lowest low, then sits between them. So a run of quiet bars inside the window changes nothing at all.
Why does the Kijun line move in steps?
Because a fresh extreme entering or leaving the window shifts the midpoint at once. Between those moments the value holds. That stair pattern is normal for `Tenkan` and `Kijun`, not a drawing fault.
Does EnableEmail start switched on?
No. Only `EnableAlerts` and `EnablePopup` arrive true, so the terminal dialog is the default route. `EnablePushNotify`, `EnableEmail` and `EnableSound` all begin false, and the sound route also needs `SoundFile` set.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the Kijun Sen Alerts Indicator as one input. Always backtest before trading live.
Category: this is part of our Signal and Forecast collection. Also, truly, browse more Signal and Forecast for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- For background on this concept, see Financial quote on Wikipedia.
- For broader market context, see Algorithmictrading at Investopedia.
