The system buys when a stochastic-based close reversal agrees with the average of Chande Momentum Oscillators with 5, 10 and 20 periods above 70, and sells short when the states are bearish and that average is below -70. Positions close when the states disagree.
Best run of 14. US Crude Oil, 15 min, spread 3, from run sweeps:2026-10-12-CRUDE-15m-opt.tsv:4.
| Period | Up to 2026-10-12 |
| Instrument | US Crude Oil, 15 minutes |
| 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-12 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| US Crude OilBest run | 15 min | n/a | 1,822 | 38.64 | 8,887 EUR | -4,728 |
| USD/JPY | Daily | n/a | 116 | 47.41 | 2,005,720 USD | -683,200 |
| USD/JPY | 10 min | n/a | 1,727 | 39.14 | 416,310 USD | -150,980 |
| USD/JPY | 30 min | n/a | 1,730 | 37.80 | 364,030 USD | -212,570 |
| Nikkei 225 | Daily | n/a | 96 | 47.92 | 56,371 USD | -12,250 |
| Silver | 4 hours | n/a | 293 | 40.96 | 28,448 USD | -14,203 |
| Dow Jones | Daily | n/a | 123 | 43.90 | 15,475 EUR | -9,632 |
| Brent Crude | Daily | n/a | 48 | 35.42 | 11,254 EUR | -7,033 |
| GBP/USD | 4 hours | n/a | 391 | 42.97 | 4,096 USD | -3,758 |
| S&P 500 | Daily | n/a | 120 | 42.50 | 3,484 EUR | -1,173 |
| Gold | 1 hour | n/a | 1,118 | 40.16 | 2,701 EUR | -1,324 |
| Gold | Daily | n/a | 105 | 41.90 | 2,379 EUR | -1,568 |
| Gold | 30 min | n/a | 1,714 | 39.03 | 1,690 EUR | -931 |
| Gold | 4 hours | n/a | 284 | 41.20 | 1,548 EUR | -1,075 |
Charts
Top 10 of 14 runs. The full list is in the table above.
The code
// ============================================================== // Reversal Pattern With Averaged CMO Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Momentum // Direction: Long & short // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE kraw = 50 ONCE posrev = 0 ONCE posb = 0 hh = highest[14](high) ll = lowest[14](low)
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 14 market and timeframe combinations. The best run by trade count was US Crude Oil, 15 minutes, with 1,822 trades.
The best run had a maximum drawdown of 4,728 EUR at the tested position size, against a net result of 8,887 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.