It buys when RSI(3) crosses over 20 during an uptrend, with ADX(5) above 20 and a strong bullish bar. It sells short on the mirror conditions, with stops and targets based on ATR(14).
Best run of 7. Silver, 4 hours, spread 2, from run pf:2026-10-05-SILVER-4h.tsv:5.
| Period | Up to 2026-10-05 |
| 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-05 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| SilverBest run | 4 hours | 5.01 | 387 | 27.13 | 181,973 USD | -10,236 |
| Dow Jones | 4 hours | 1.60 | 147 | 43.54 | 10,198 EUR | -1,709 |
| USD/JPY | Daily | n/a | 205 | 35.12 | 7,260 USD | -3,360 |
| Silver | Daily | n/a | 127 | 28.35 | 4,698 USD | -4,645 |
| Nasdaq 100 | Daily | n/a | 191 | 34.03 | 4,618 EUR | -2,341 |
| S&P 500 | 4 hours | n/a | 448 | 31.92 | 943 EUR | -549 |
| S&P 500 | Daily | n/a | 222 | 36.94 | 889 EUR | -431 |
Charts
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // Trend RSI Cross With ADX Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false emafast = ExponentialAverage[50](close) emaslow = ExponentialAverage[200](close) myRsi = RSI[3](close) myAdx = ADX[5] myAtr = AverageTrueRange[14](close) body = abs(close - open) rng = high - low
32 more lines: the entry and exit rules.
Setup
Dow Jones had no history beyond the standard run, so both runs used 9,000 bars.
| Bars available | 9,000 |
| Net, standard 200,000-bar run | 10,197.50 EUR |
| Net, long run | 10,197.50 EUR |
| Net on the older data alone | 0.00 EUR |
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 7 market and timeframe combinations. The best run was Silver, 4 hours, with a profit factor of 5.01 over 387 trades.
The best run had a maximum drawdown of 10,236 USD at the tested position size, against a net result of 181,973 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.