The system buys when the upper Keltner band crosses above the upper Bollinger band, or sells short when the lower Keltner band crosses below the lower Bollinger band, with volume above its 10-bar average. Positions are closed once the bar counter exceeds 20.
Best run of 5. Nasdaq 100, 4 hours, spread 3, from run sweeps:2026-10-12-NAS100-4h-opt.tsv:23.
| Period | Up to 2026-10-12 |
| Instrument | Nasdaq 100, 4 hours |
| 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 |
|---|---|---|---|---|---|---|
| Nasdaq 100Best run | 4 hours | n/a | 537 | 48.04 | 7,757 EUR | -7,475 |
| USD/JPY | Daily | n/a | 192 | 49.48 | 318,630 USD | -248,760 |
| Dow Jones | 4 hours | n/a | 369 | 49.32 | 11,649 EUR | -7,243 |
| DAX 40 | Daily | n/a | 124 | 51.61 | 8,279 EUR | -3,027 |
| DAX 40 | 4 hours | n/a | 480 | 50.00 | 6,980 EUR | -4,301 |
Charts
The code
// ============================================================== // Keltner Bollinger Cross With Volume // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false ONCE cnt = 0 ONCE has = 0 bbmid = Average[20](close) bbdev = 2 * STD[20](close) bbup = bbmid + bbdev bblo = bbmid - bbdev kcmid = ExponentialAverage[20](close) kcrng = ExponentialAverage[20](TR(close)) kcup = kcmid + 2.2 * kcrng kclo = kcmid - 2.2 * kcrng volma = Average[10](volume)
33 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 5 market and timeframe combinations. The best run by trade count was Nasdaq 100, 4 hours, with 537 trades.
The best run had a maximum drawdown of 7,475 EUR at the tested position size, against a net result of 7,757 EUR.
It trades both long and short.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.