Buys when ADX(14) is above 25 and the 3-bar SMA crosses above the 6-bar SMA. Sells when ADX(14) is below 25 and the 6-bar SMA crosses above the 3-bar SMA, with a 25% stop and 10% target on each trade.
Best run of 17. Silver, Daily, spread 2, from run pf:2026-10-05-SILVER-D.tsv:1.
| Period | Up to 2026-10-05 |
| Instrument | Silver, Daily |
| 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 | Daily | 1.96 | 196 | 52.04 | 34,815 USD | -8,139 |
| Gold | Daily | 1.95 | 198 | 48.99 | 2,422 EUR | -473 |
| Nikkei 225 | 4 hours | 1.80 | 316 | 62.66 | 43,949 USD | -8,690 |
| USD/JPY | 4 hours | n/a | 462 | 55.84 | 623,870 USD | -244,810 |
| EUR/USD | 3 min | n/a | 2,281 | 39.94 | 50,607 USD | -27,531 |
| Dow Jones | Daily | n/a | 190 | 56.84 | 28,708 EUR | -8,891 |
| Nasdaq 100 | Daily | n/a | 159 | 63.52 | 14,292 EUR | -3,611 |
| Dow Jones | 1 hour | n/a | 471 | 51.80 | 10,757 EUR | -8,737 |
| Nasdaq 100 | 4 hours | n/a | 430 | 56.28 | 10,027 EUR | -5,393 |
| DAX 40 | Daily | n/a | 193 | 54.40 | 9,622 EUR | -5,303 |
| DAX 40 | 4 hours | n/a | 413 | 53.51 | 7,597 EUR | -4,875 |
| Nasdaq 100 | 10 min | n/a | 2,340 | 48.76 | 5,888 EUR | -5,439 |
| FTSE 100 | Daily | n/a | 138 | 59.42 | 4,205 EUR | -2,416 |
| S&P 500 | 4 hours | n/a | 431 | 56.38 | 2,654 EUR | -1,223 |
| Gold | 4 hours | n/a | 424 | 48.58 | 2,444 EUR | -869 |
| S&P 500 | Daily | n/a | 190 | 51.58 | 2,332 EUR | -885 |
| S&P 500 | 1 hour | n/a | 1,548 | 49.22 | 1,559 EUR | -1,184 |
Charts
Top 10 of 17 runs. The full list is in the table above.
Above 1.0 made money, below 1.0 lost money.
The code
// ============================================================== // ADX Filtered SMA Crossover (long only) 3 // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long only // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false adxval = ADX[14] smashort = Average[3](close) smalong = Average[6](close)
13 more lines: the entry and exit rules.
Setup
Silver had no history beyond the standard run, so both runs used 11,000 bars.
| Bars available | 11,000 |
| Net, standard 200,000-bar run | 34,815.00 USD |
| Net, long run | 34,815.00 USD |
| Net on the older data alone | 0.00 USD |
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 17 market and timeframe combinations. The best run was Silver, Daily, with a profit factor of 1.96 over 196 trades.
The best run had a maximum drawdown of 8,139 USD at the tested position size, against a net result of 34,815 USD.
It only takes long trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.