Buys in uptrends, when the close is at or above the 200-period EMA, after a 2-period RSI falls to 25 or below. Closes the long once the close is at or above the high from 2 bars earlier.
Best run of 14. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:20.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 1 hour |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 1 hour | 3.57 | 4,822 | 57.88 | 535,076 USD | -34,416 |
| Gold | Daily | 1.57 | 632 | 64.40 | 2,520 EUR | -587 |
| Nikkei 225 | Daily | n/a | 572 | 69.76 | 42,809 USD | -18,155 |
| EUR/USD | 4 hours | n/a | 1,750 | 64.91 | 39,894 USD | -24,773 |
| Silver | Daily | n/a | 469 | 63.33 | 22,229 USD | -10,747 |
| DAX 40 | Daily | n/a | 889 | 62.77 | 17,577 EUR | -5,701 |
| Dow Jones | Daily | n/a | 803 | 67.50 | 16,799 EUR | -12,746 |
| Nasdaq 100 | Daily | n/a | 673 | 63.60 | 14,856 EUR | -5,430 |
| Dow Jones | 4 hours | n/a | 564 | 68.09 | 12,209 EUR | -6,248 |
| Dow Jones | 1 hour | n/a | 1,836 | 66.99 | 10,081 EUR | -5,098 |
| US Crude Oil | 4 hours | n/a | 942 | 66.77 | 4,780 EUR | -3,552 |
| S&P 500 | Daily | n/a | 854 | 62.41 | 4,181 EUR | -1,220 |
| FTSE 100 | Daily | n/a | 637 | 67.35 | 4,070 EUR | -3,544 |
| FTSE 100 | 4 hours | n/a | 1,448 | 66.57 | 3,980 EUR | -2,252 |
Charts
Top 10 of 14 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // RSI Two Pullback Above EMA // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Long only // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[2](close) ema = ExponentialAverage[200](close)
12 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 14 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 3.57 over 4,822 trades.
The best run had a maximum drawdown of 34,416 USD at the tested position size, against a net result of 535,076 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.