RSI EA: no-code builder for MT4 / MT5
OscillatorsRSI measures how much of a period's price movement came from gains, on a 0–100 scale. A common EA rule: go long when it climbs back above 30. Another: use RSI above 50 as a filter for long trades.
Rules you can build with it
Works as an entry rule or an exit rule. Short rules are mirrored automatically.
- LongRSI risesShortRSI falls
- LongRSI fallsShortRSI rises
- LongRSI is above 30(adjustable level)ShortRSI is below 70
- LongRSI is below 30(adjustable level)ShortRSI is above 70
- LongRSI crosses above 30(adjustable level)ShortRSI crosses below 70
- LongRSI crosses below 30(adjustable level)ShortRSI crosses above 70
- LongRSI turns upShortRSI turns down
- LongRSI turns downShortRSI turns up
Settings
| Settings | Default | Range |
|---|---|---|
| Period | 14 | 2 – 50 |
| Price | Close | Close / Opening price / High / Low / Median price / Typical price / Weighted close |
| Level | 30 | 5 – 95 |
How the backtest and the EA calculate it
Same as MT5's Relative Strength Index: a simple average over the first N candles, then Wilder smoothing; short rules mirror the level around 50 (30 ↔ 70).
Signals use only closed candles and are filled at the next candle's open. The exported EA checks conditions in the same order, so you get similar results in the MT5 Strategy Tester.
Example strategies
- Entry · RSI (14, Close): RSI rises
- Stop-loss 300 points, take-profit 600 points
- Entry · RSI (14, Close): RSI rises
- Entry · Moving Average (50, EMA, Close): MA rises
- Stop-loss 300 points, take-profit 600 points
Examples are just a starting point: open one to change settings or add filters, then check it with backtests and robustness tests. Backtest results don't indicate future returns.