Combines a reversal pattern in raw stochastic with the direction of the Accelerator Oscillator, so both must agree. It buys when both point up and sells short when both point down, closing any position once they disagree.
Best run of 7. Gold, 4 hours, spread 0.6, from run pf:2026-10-12-GOLD-4h.tsv:6.
| Period | Up to 2026-10-12 |
| Instrument | Gold, 4 hours |
| 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 | 4 hours | 1.19 | 3,729 | 43.77 | 3,343 EUR | -731 |
| USD/JPY | Daily | n/a | 1,609 | 45.74 | 1,149,140 USD | -632,990 |
| USD/JPY | 4 hours | n/a | 4,250 | 43.76 | 731,170 USD | -209,540 |
| Silver | Daily | n/a | 1,463 | 38.76 | 30,100 USD | -10,980 |
| DAX 40 | 4 hours | n/a | 3,630 | 43.14 | 11,133 EUR | -3,834 |
| GBP/USD | 4 hours | n/a | 5,259 | 43.49 | 5,324 USD | -3,764 |
| Gold | Daily | n/a | 1,696 | 39.92 | 887 EUR | -792 |
Charts
The code
// ============================================================== // Reversal Pattern With Accelerator // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE posrev = 0 ONCE sincebad = 1000 ONCE postwo = 0 ll = lowest[14](low) hh = highest[14](high)
50 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 7 market and timeframe combinations. The best run was Gold, 4 hours, with a profit factor of 1.19 over 3,729 trades.
The best run had a maximum drawdown of 731 EUR at the tested position size, against a net result of 3,343 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.