The strategy buys when a stochastic-based close reversal and an Accelerator Oscillator crossover agree on the upside, and sells short when both agree on the downside. Open positions close when the states disagree.
Best run of 4. Gold, 1 hour, spread 0.6, from run sweeps:2026-10-12-GOLD-1h-opt.tsv:43.
| Period | Up to 2026-10-12 |
| Instrument | Gold, 1 hour |
| Spread | 0.6 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 |
|---|---|---|---|---|---|---|
| GoldBest run | 1 hour | n/a | 4,377 | 40.58 | 2,517 EUR | -732 |
| Silver | 4 hours | n/a | 1,175 | 39.15 | 19,333 USD | -18,916 |
| Nikkei 225 | Daily | n/a | 417 | 45.32 | 17,846 USD | -13,816 |
| DAX 40 | 1 hour | n/a | 4,179 | 42.38 | 10,586 EUR | -5,574 |
Charts
The code
// ============================================================== // Reversal Pattern With Accelerator Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE posac = 0 ll = lowest[14](low) hh = highest[14](high)
51 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 4 market and timeframe combinations. The best run by trade count was Gold, 1 hour, with 4,377 trades.
The best run had a maximum drawdown of 732 EUR at the tested position size, against a net result of 2,517 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.