Buys when price is above the 200-period SMA and RSI(14) crosses above 40. Each trade has a stop-loss and a profit target, both 1.5 times the 14-period ATR from entry.
Best run of 9. Silver, 4 hours, spread 2, from run pf:2026-10-12-SILVER-4h.tsv:6.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 4 hours |
| 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 | 4 hours | 3.93 | 272 | 46.32 | 107,934 USD | -11,994 |
| Silver | Daily | n/a | 92 | 50.00 | 13,887 USD | -6,064 |
| Nikkei 225 | Daily | n/a | 125 | 51.20 | 6,621 USD | -5,980 |
| Dow Jones | Daily | n/a | 191 | 54.45 | 4,024 EUR | -3,771 |
| DAX 40 | Daily | n/a | 221 | 48.87 | 3,234 EUR | -1,556 |
| DAX 40 | 4 hours | n/a | 385 | 51.95 | 2,654 EUR | -1,163 |
| Dow Jones | 30 min | n/a | 847 | 50.53 | 2,316 EUR | -1,955 |
| S&P 500 | Daily | n/a | 222 | 53.60 | 1,127 EUR | -478 |
| Gold | Daily | n/a | 142 | 59.15 | 428 EUR | -405 |
Charts
The code
// ============================================================== // Trend Filtered RSI Cross // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false sma = Average[200](close) myRsi = RSI[14](close) myAtr = AverageTrueRange[14](close)
11 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 9 market and timeframe combinations. The best run was Silver, 4 hours, with a profit factor of 3.93 over 272 trades.
The best run had a maximum drawdown of 11,994 USD at the tested position size, against a net result of 107,934 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.