Buys when the MACD crosses over its signal line after RSI(14) was at or below 30 within the last 11 bars. Sells short on the mirrored cross after RSI was at or above 70, with a 50% stop and a 50% profit target.
Best run of 4. FTSE 100, 5 min, spread 2, from run sweeps:2026-10-04-FTSE100-5m-opt.tsv:16.
| Period | Up to 2026-10-04 |
| Instrument | FTSE 100, 5 minutes |
| Spread | 2 points |
| Starting capital | 1,000,000 |
| Costs | Spread only. Commissions and overnight financing are not included. |
| Bars | Up to 200,000 bars, fewer where the instrument has less history |
| Last tested | 2026-10-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| FTSE 100Best run | 5 min | n/a | 1,518 | 61.59 | 2,130 EUR | -1,676 |
| EUR/USD | 2 min | n/a | 1,336 | 57.04 | 39,227 USD | -27,892 |
| Dow Jones | Daily | n/a | 97 | 65.98 | 18,405 EUR | -11,733 |
| DAX 40 | 4 hours | n/a | 263 | 63.88 | 11,126 EUR | -6,544 |
Charts
The code
// ============================================================== // MACD Cross RSI Extreme Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 5 minutes // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[14](close) myMacd = MACDline[12,26,9](close) signal = ExponentialAverage[9](myMacd)
17 more lines: the entry and exit rules.
Setup
Questions
Yes. The code is ProBuilder and runs as an automated ProOrder system. Backtest it on your own account with your own spread and position size before trading it live.
It was tested on 4 market and timeframe combinations. The best run by trade count was FTSE 100, 5 minutes, with 1,518 trades.
The best run had a maximum drawdown of 1,676 EUR at the tested position size, against a net result of 2,130 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.