The strategy tracks trend using pivot highs and lows, then buys 1 contract when price first taps a bullish displacement zone during an uptrend. It sells short on the mirror setup in a downtrend, with a 0.8% stop and 1.8% target.
Best run of 4. DAX 40, 15 min, spread 3, from run sweeps:2026-10-12-DAX40-15m-opt.tsv:4.
| Period | Up to 2026-10-12 |
| Instrument | DAX 40, 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 |
|---|---|---|---|---|---|---|
| DAX 40Best run | 15 min | n/a | 3,412 | 38.72 | 6,450 EUR | -3,977 |
| EUR/USD | Daily | n/a | 308 | 34.74 | 33,456 USD | -23,321 |
| Nikkei 225 | Daily | n/a | 256 | 33.98 | 5,286 USD | -4,753 |
| Brent Crude | Daily | n/a | 128 | 33.59 | 1,468 EUR | -807 |
Charts
The code
// ============================================================== // Displacement Zone First Tap // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 15 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE lasthigh = 0 ONCE lastlow = 0 ONCE hashigh = 0 ONCE haslow = 0 ONCE trend = 0 ONCE myDlow = 0 ONCE myDhigh = 0 ONCE dhas = 0 ONCE dused = 0 ONCE slow = 0 ONCE shigh = 0 ONCE shas = 0 ONCE sused = 0
62 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 4 market and timeframe combinations. The best run by trade count was DAX 40, 15 minutes, with 3,412 trades.
The best run had a maximum drawdown of 3,977 EUR at the tested position size, against a net result of 6,450 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.