The system buys when close breaks above an upper band built from EMA(10) of typical price plus 0.5 times ATR(10), with volume above its 20-bar average and price above SMA(200). It exits at market when close falls below the basis or 2% below entry.
Best run of 12. Nasdaq 100, 4 hours, spread 3, from run pf:2026-10-12-NAS100-4h.tsv:7.
| 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 | 1.44 | 553 | 40.33 | 11,564 EUR | -2,066 |
| USD/JPY | Daily | n/a | 151 | 37.09 | 414,590 USD | -118,960 |
| USD/JPY | 1 hour | n/a | 2,680 | 33.99 | 313,990 USD | -122,080 |
| Silver | 4 hours | n/a | 808 | 32.80 | 23,851 USD | -11,558 |
| Nasdaq 100 | Daily | n/a | 146 | 46.58 | 7,677 EUR | -1,975 |
| DAX 40 | 4 hours | n/a | 513 | 36.65 | 7,251 EUR | -2,219 |
| Nasdaq 100 | 1 hour | n/a | 1,648 | 39.75 | 6,970 EUR | -2,943 |
| Dow Jones | 4 hours | n/a | 340 | 36.47 | 5,309 EUR | -3,634 |
| Gold | 4 hours | n/a | 912 | 36.62 | 2,190 EUR | -799 |
| Gold | Daily | n/a | 157 | 33.76 | 1,371 EUR | -931 |
| S&P 500 | Daily | n/a | 142 | 47.89 | 1,163 EUR | -982 |
| S&P 500 | 4 hours | n/a | 571 | 36.78 | 1,121 EUR | -575 |
Charts
Top 10 of 12 runs. The full list is in the table above.
The code
// ============================================================== // Typical Price Keltner Breakout Long // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long only // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false basis = ExponentialAverage[10](TypicalPrice) myAtr = AverageTrueRange[10](close) upper = basis + 0.5 * myAtr
17 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 12 market and timeframe combinations. The best run was Nasdaq 100, 4 hours, with a profit factor of 1.44 over 553 trades.
The best run had a maximum drawdown of 2,066 EUR at the tested position size, against a net result of 11,564 EUR.
It only takes long trades.
Related
Copy trading on US indices is available to ProRealAlgos members as spots open.