The strategy buys when two adaptive ATR trend bands both turn up and sells short when both turn down. Each trade has a 0.5% stop and 1.2% target and exits when the fast band reverses.
Best run of 9. EUR/USD, 2 min, spread 1, from run sweeps:2026-10-03-EURUSD-2m-opt.tsv:10.
| Period | Up to 2026-10-03 |
| Instrument | EUR/USD, 2 minutes |
| Spread | 1 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-03 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| EUR/USDBest run | 2 min | n/a | 3,972 | 30.89 | 173,419 USD | -44,446 |
| USD/JPY | 30 min | n/a | 2,849 | 36.01 | 364,150 USD | -131,460 |
| USD/JPY | 1 hour | n/a | 2,019 | 34.18 | 240,330 USD | -224,790 |
| EUR/USD | 1 hour | n/a | 2,522 | 35.69 | 78,419 USD | -27,057 |
| EUR/USD | 5 min | n/a | 3,560 | 31.91 | 45,649 USD | -38,194 |
| GBP/USD | 1 hour | n/a | 2,488 | 36.25 | 9,407 USD | -2,909 |
| Nasdaq 100 | 30 min | n/a | 3,761 | 31.96 | 4,844 EUR | -4,488 |
| DAX 40 | 1 hour | n/a | 2,165 | 31.04 | 3,700 EUR | -2,472 |
| GBP/USD | Daily | n/a | 378 | 31.22 | 2,141 USD | -1,832 |
Charts
The code
// ============================================================== // Adaptive ATR ADX Trend Scalper // ProRealAlgos Strategy Library | prorealalgos.com // Type: Trend // Direction: Long & short // Timeframe tested: 2 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE str = 0 ONCE sdmpos = 0 ONCE sdmneg = 0 ONCE tupm = 0 ONCE tdnm = 0 ONCE dirm = 1 ONCE tupf = 0 ONCE tdnf = 0 ONCE dirf = 1 ONCE waiting = 0 ONCE wason = 0 hr = high - high[1] lr = low[1] - low
135 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 9 market and timeframe combinations. The best run by trade count was EUR/USD, 2 minutes, with 3,972 trades.
The best run had a maximum drawdown of 44,446 USD at the tested position size, against a net result of 173,419 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.