Goes long when Choppiness reaches 61.8 on an up close and short at 38.2 on a down close, with ADX above 25 and Parabolic SAR agreeing. Exits on a SAR flip against the trade, or when ADX is below 25 with the opposite DI leading.
Best run of 7. GBP/USD, Daily, spread 1.5, from run pf:2026-10-11-GBPUSD-D.tsv:1.
| Period | Up to 2026-10-11 |
| Instrument | GBP/USD, Daily |
| Spread | 1.5 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 |
|---|---|---|---|---|---|---|
| GBP/USDBest run | Daily | 2.01 | 128 | 42.19 | 13,075 USD | -2,243 |
| USD/JPY | Daily | n/a | 123 | 37.40 | 1,278,540 USD | -465,160 |
| EUR/USD | Daily | n/a | 120 | 39.17 | 28,872 USD | -28,764 |
| Brent Crude | Daily | n/a | 48 | 27.08 | 8,535 EUR | -4,706 |
| US Crude Oil | Daily | n/a | 108 | 25.00 | 8,241 EUR | -4,800 |
| US Crude Oil | 30 min | n/a | 1,587 | 35.79 | 5,578 EUR | -3,136 |
| Gold | 4 hours | n/a | 303 | 35.64 | 990 EUR | -537 |
Charts
The code
// ============================================================== // Choppiness Filtered Trend Entry // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: Daily // ============================================================== DEFPARAM CumulateOrders = false ONCE activelong = 0 ONCE activeshort = 0 ONCE chopraw = 50 ONCE plusdi = 0 ONCE minusdi = 0 ONCE tmp = 0 sumtr = summation[14](TR(close)) maxhi = highest[14](MAX(high, close[1])) minlo = lowest[14](MIN(low, close[1]))
80 more lines: the entry and exit rules.
Setup
GBP/USD had no history beyond the standard run, so both runs used 13,000 bars.
| Bars available | 13,000 |
| Net, standard 200,000-bar run | 13,074.60 USD |
| Net, long run | 13,074.60 USD |
| Net on the older data alone | 0.00 USD |
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 GBP/USD, Daily, with a profit factor of 2.01 over 128 trades.
The best run had a maximum drawdown of 2,243 USD at the tested position size, against a net result of 13,075 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.