The strategy follows Supertrend flips that are confirmed by a trend strength reading above 25 and a choppiness reading below 61.8. It buys on a bullish flip, sells short on a bearish flip, and uses ATR(7) based stops and targets.
Best run of 2. US Crude Oil, Daily, spread 3, from run sweeps:2026-10-04-CRUDE-D-opt.tsv:48.
| Period | Up to 2026-10-04 |
| Instrument | US Crude Oil, Daily |
| 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-04 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| US Crude OilBest run | Daily | n/a | 596 | 22.48 | 3,346 EUR | -2,962 |
| Brent Crude | Daily | n/a | 271 | 26.20 | 2,515 EUR | -2,296 |
Charts
The code
// ============================================================== // Supertrend ADX Chop Filter // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE lowerband = 0 ONCE upperband = 0 ONCE st = 0 ONCE dir = 1 myAtr = AverageTrueRange[7](close) lowraw = MedianPrice - 3.0 * myAtr upraw = MedianPrice + 3.0 * myAtr prevlower = lowerband prevupper = upperband prevst = st
56 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 2 market and timeframe combinations. The best run by trade count was US Crude Oil, Daily, with 596 trades.
The best run had a maximum drawdown of 2,962 EUR at the tested position size, against a net result of 3,346 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.