The strategy buys when RSI(14) crosses above 40 during an uptrend, where the 21-period EMA is above the 50-period EMA and the close is above the 21-period EMA. It sells short when RSI(14) crosses below 60 in a downtrend, with ATR-based stops and targets.
Best run of 6. US Crude Oil, 10 min, spread 3, from run sweeps:2026-10-07-CRUDE-10m-opt.tsv:3.
| Period | Up to 2026-10-07 |
| Instrument | US Crude Oil, 10 minutes |
| Spread | 3 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-07 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| US Crude OilBest run | 10 min | n/a | 196 | 32.14 | 819 EUR | -725 |
| Silver | 4 hours | n/a | 36 | 27.78 | 234,855 USD | -2,131 |
| Nikkei 225 | 1 hour | n/a | 94 | 34.04 | 3,860 USD | -2,042 |
| Dow Jones | 4 hours | n/a | 11 | 54.55 | 2,284 EUR | -546 |
| S&P 500 | Daily | n/a | 10 | 50.00 | 294 EUR | -209 |
| Gold | 4 hours | n/a | 26 | 50.00 | 87.90 EUR | -63.50 |
Charts
The code
// ============================================================== // EMA Trend RSI Cross Bracket // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 10 minutes // ============================================================== DEFPARAM CumulateOrders = false emafast = ExponentialAverage[21](close) emaslow = ExponentialAverage[50](close) myRsi = RSI[14](close) myAtr = AverageTrueRange[14](close)
19 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 6 market and timeframe combinations. The best run by trade count was US Crude Oil, 10 minutes, with 196 trades.
The best run had a maximum drawdown of 725 EUR at the tested position size, against a net result of 819 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.