This idea trades a rebound after a candle pulls back to the 0.618 level of the prior bar's range, in the direction of the 20-period average. Each trade has a stop and target both 5 times the 14-period ATR away.
Best run of 6. DAX 40, 30 min, spread 3, from run sweeps:2026-10-12-DAX40-30m-opt.tsv:7.
| Period | Up to 2026-10-12 |
| Instrument | DAX 40, 30 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 | 30 min | n/a | 2,363 | 51.71 | 14,040 EUR | -6,138 |
| Dow Jones | Daily | n/a | 156 | 54.49 | 18,364 EUR | -7,500 |
| Nasdaq 100 | 4 hours | n/a | 432 | 52.08 | 13,409 EUR | -4,813 |
| US Crude Oil | 4 hours | n/a | 283 | 54.06 | 10,027 EUR | -4,641 |
| US Crude Oil | 30 min | n/a | 2,027 | 50.17 | 4,832 EUR | -4,379 |
| S&P 500 | Daily | n/a | 167 | 54.49 | 2,480 EUR | -1,552 |
Charts
The code
// ============================================================== // Fibonacci Retracement Candle Reversal // ProRealAlgos Strategy Library | prorealalgos.com // Type: Pattern // Direction: Long & short // Timeframe tested: 30 minutes // ============================================================== DEFPARAM CumulateOrders = false myAtr = AverageTrueRange[14](close) trend = Average[20](close) body = abs(close - open) upper = high - max(open, close) lower = min(open, close) - low minbody = close * 0.0022 / 100
23 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 6 market and timeframe combinations. The best run by trade count was DAX 40, 30 minutes, with 2,363 trades.
The best run had a maximum drawdown of 6,138 EUR at the tested position size, against a net result of 14,040 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.