Pairs a reversal state built from a stochastic with a volume oscillator, the difference of 34 and 55 period EMAs of trend-signed volume. It buys when both states are up, sells short when both are down, and closes any position when they disagree.
Best run of 1. DAX 40, 4 hours, spread 3, from run sweeps:2026-10-11-DAX40-4h-opt.tsv:70.
| Period | Up to 2026-10-11 |
| Instrument | DAX 40, 4 hours |
| Spread | 3 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| DAX 40Best run | 4 hours | n/a | 1,385 | 39.71 | 6,817 EUR | -3,571 |
Charts
The code
// ============================================================== // Reversal Pattern With Volume Oscillator // 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)
57 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 one combination, DAX 40, 4 hours, with 1,385 trades.
The best run had a maximum drawdown of 3,571 EUR at the tested position size, against a net result of 6,817 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.