Buys when a reversal pattern on closing prices and a Directional Trend Index both point up, and sells short when both point down. Any open position is closed when the two signals disagree.
Best run of 11. Silver, 1 hour, spread 2, from run pf:2026-10-12-SILVER-1h.tsv:26.
| 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 | 5.88 | 1,144 | 52.10 | 582,711 USD | -12,192 |
| USD/JPY | 10 min | n/a | 1,892 | 50.85 | 176,220 USD | -98,120 |
| Dow Jones | Daily | n/a | 134 | 55.22 | 16,756 EUR | -8,145 |
| Nikkei 225 | 1 hour | n/a | 982 | 51.22 | 13,931 USD | -9,745 |
| Dow Jones | 4 hours | n/a | 112 | 61.61 | 11,512 EUR | -5,835 |
| Brent Crude | Daily | n/a | 55 | 52.73 | 9,287 EUR | -3,739 |
| US Crude Oil | Daily | n/a | 102 | 55.88 | 5,437 EUR | -4,855 |
| GBP/USD | 4 hours | n/a | 423 | 53.66 | 4,896 USD | -2,377 |
| S&P 500 | Daily | n/a | 134 | 52.99 | 1,868 EUR | -991 |
| S&P 500 | 1 hour | n/a | 1,275 | 49.57 | 1,203 EUR | -1,028 |
| Gold | 4 hours | n/a | 324 | 50.31 | 922 EUR | -773 |
Charts
Top 10 of 11 runs. The full list is in the table above.
The code
// ============================================================== // Reversal Pattern With Directional Trend Index // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE postwo = 0 ll = lowest[14](low) hh = highest[14](high)
59 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 11 market and timeframe combinations. The best run was Silver, 1 hour, with a profit factor of 5.88 over 1,144 trades.
The best run had a maximum drawdown of 12,192 USD at the tested position size, against a net result of 582,711 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.