The strategy buys when RSI(14) crosses above 34 with the close above its 200-bar SMA. It exits when RSI reaches 50, falls to 30, or after RSI has reached 50, the close drops below its lowest close since entry.
Best run of 15. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:1.
| 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 | 20.54 | 438 | 59.13 | 564,475 USD | -6,219 |
| USD/JPY | 4 hours | n/a | 151 | 60.93 | 136,270 USD | -97,650 |
| EUR/USD | Daily | n/a | 43 | 72.09 | 35,229 USD | -4,885 |
| EUR/USD | 1 hour | n/a | 651 | 62.67 | 10,502 USD | -6,209 |
| Silver | Daily | n/a | 33 | 66.67 | 7,111 USD | -2,708 |
| Nikkei 225 | 4 hours | n/a | 126 | 62.70 | 6,071 USD | -3,748 |
| Dow Jones | Daily | n/a | 85 | 68.24 | 3,767 EUR | -2,938 |
| Dow Jones | 1 hour | n/a | 184 | 65.76 | 3,123 EUR | -1,040 |
| GBP/USD | Daily | n/a | 45 | 73.33 | 3,027 USD | -1,147 |
| Nasdaq 100 | 4 hours | n/a | 191 | 70.68 | 2,707 EUR | -1,780 |
| DAX 40 | 4 hours | n/a | 154 | 66.23 | 2,573 EUR | -1,033 |
| GBP/USD | 4 hours | n/a | 193 | 63.21 | 1,751 USD | -1,351 |
| DAX 40 | Daily | n/a | 67 | 65.67 | 1,682 EUR | -1,612 |
| Gold | Daily | n/a | 44 | 65.91 | 631 EUR | -124 |
| Gold | 4 hours | n/a | 132 | 62.88 | 458 EUR | -374 |
Charts
Top 10 of 15 runs. The full list is in the table above.
The code
// ============================================================== // RSI Trend Breakout Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long only // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE act = 0 ONCE tsok = 0 ONCE ts = 0 ONCE lcok = 0 ONCE lc = 0 sma = Average[200](close) myRsi = RSI[14](close)
28 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 15 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 20.54 over 438 trades.
The best run had a maximum drawdown of 6,219 USD at the tested position size, against a net result of 564,475 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.