The 2 rsi cross alert indicator puts two readings of the same study side by side. One runs quick at seven bars. The other runs slow at twenty-one. Where they swap places is the event this build reports.
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 30 / 70) |
| Plots | 2: Fast RSI, Slow RSI |
| Alerts | popup, push notification, email, sound |
| Inputs | 8 |
What the 2 RSI Cross Alert Indicator draws on the chart
A lime `Fast RSI` line runs at `FastRsi` `7`.
A crimson `Slow RSI` line runs at `SlowRsi` `21`.
Reference lines sit at 30 and 70.
No marks ship here, so the crossing is something you read rather than see flagged.
- Fast RSI: line, lime, width 2
- Slow RSI: line, crimson, width 2

How the 2 RSI Cross Alert Indicator calculates its values
The terminal supplies both
iRSI runs twice on the close, once per period. Nothing else transforms the values, so both lines match what MetaTrader would draw from its own menu.
The crossing test reads closed bars
Bars one and two get compared, never the forming bar. That means an alert describes a crossing that has already completed rather than one still in progress.
Why two periods rather than a signal line
A signal line smooths one reading. Two periods measure the same idea over two horizons, so a crossing says the short view and the long view disagree.
How to read the signals
A wide gap between the lines means the two horizons strongly disagree.
Crossings inside the 30 to 70 band are the most common and least informative.
A crossing near an extreme carries more weight.
Both lines are bounded, so neither can run away.
Alert channels in this build: popup, push notification, email and sound, one message per closed bar.
`EnableAlerts` heads the four routes and arrives true with `EnablePopup`. `EnablePushNotify` sends a mobile push, `EnableEmail` sends mail and `EnableSound` plays `SoundFile`. Those three begin false. Crossings report on closed bars.
Every 2 RSI Cross Alert Indicator input
Core settings
| Setting | What it does | Default |
|---|---|---|
FastRsi |
Bars in the quick reading, default `7`. | 7 |
SlowRsi |
Bars in the slow reading, default `21`. | 21 |
Alert settings
| Setting | What it does | Default |
|---|---|---|
EnableAlerts |
master toggle. Head switch across the four routes, default `true`. | on |
EnablePopup |
MT4 popup dialog. MetaTrader dialog when the pair swaps, default `true`. | on |
EnablePushNotify |
mobile MT4 push notification. Mobile push when the pair swaps, default `false`. | off |
EnableEmail |
SMTP email (configure in MT4 Tools > Options > Email). Email when the pair swaps, default `false`. | off |
EnableSound |
play sound file from MT4/Sounds/. Audio cue when the pair swaps, default `false`. | off |
SoundFile |
Audio file the cue uses, default `”alert.wav”`. | alert.wav |

Settings that fit your chart
Seven against twenty-one is a wide spread of horizons. EURUSD H1 is the reference chart, where crossings arrive a few times a week. On M5 they come daily. H4 makes each one a swing-scale event.
When the 2 RSI Cross Alert Indicator fails
Two lagging readings crossing is still a lagging event.
No marks appear on the pane, so you have to watch the lines.
A ranging market produces crossings that mean very little.
Copy the compiled 2 RSI Cross 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.
Download the 2 RSI Cross Alert Indicator for MT4 and MT5
The zip holds the compiled 2 RSI Cross 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
Why does FastRsi use 7 rather than 14?
Because the pair needs a genuine spread of horizons to be useful. Seven reacts within a few bars while twenty-one describes the background, so a crossing means something changed at the short end.
Does the Fast RSI line ever leave 0 to 100?
No. The calculation is bounded by its own arithmetic, so both lines stay inside that range whatever price does. That is why a pinned reading is common in a strong trend.
How is this different from an RSI signal line?
A signal line smooths one reading, so a crossing compares a value with its own average. Two periods compare two independent readings, which is a statement about horizons rather than smoothing.
Why do Fast RSI and Slow RSI draw no marks?
The build declares two line buffers and nothing else. The crossing raises an alert instead of drawing a mark, which keeps the pane clean but means you cannot see past crossings at a glance.
Are results guaranteed?
No. Trading involves risk. Results are not guaranteed; past performance is not indicative of future results. Use the 2 RSI Cross Alert Indicator as one input. Always backtest before trading live.
Category: this is part of our Oscillators collection. Then, hence, browse more Oscillators for MetaTrader, or explore every MT4 indicator and MT5 indicator on the site.
External references
- For background on this concept, see Rsi at Investopedia.
- For broader market context, see Oscillator (technical analysis) on Wikipedia.
