Buys when an SSL channel flips up together with a WaveTrend cross inside the Keltner channel, and sells short on the mirror setup. Each trade has a 1.7 times ATR(14) stop and a target at 2.5 times the stop distance.
Best run of 11. Gold, 2 min, spread 0.6, from run sweeps:2026-10-07-GOLD-2m-opt.tsv:12.
| Period | Up to 2026-10-07 |
| Instrument | Gold, 2 minutes |
| Spread | 0.6 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-10 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 2 min | n/a | 1,757 | 28.51 | 1,016 EUR | -539 |
| USD/JPY | Daily | n/a | 68 | 39.71 | 7,190 USD | -1,020 |
| Nikkei 225 | Daily | n/a | 40 | 40.00 | 5,944 USD | -2,340 |
| DAX 40 | 4 hours | n/a | 186 | 30.65 | 2,645 EUR | -2,193 |
| DAX 40 | Daily | n/a | 48 | 31.25 | 2,547 EUR | -2,339 |
| Nasdaq 100 | 4 hours | n/a | 154 | 29.22 | 2,107 EUR | -1,998 |
| Brent Crude | Daily | n/a | 9 | 44.44 | 1,086 EUR | -754 |
| Gold | 4 hours | n/a | 171 | 32.16 | 765 EUR | -254 |
| Gold | 1 hour | n/a | 896 | 29.58 | 709 EUR | -453 |
| S&P 500 | Daily | n/a | 48 | 39.58 | 615 EUR | -310 |
| Gold | Daily | n/a | 54 | 44.44 | 384 EUR | -127 |
Charts
Top 10 of 11 runs. The full list is in the table above.
The code
// ============================================================== // SSL WaveTrend Keltner Breakout // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 2 minutes // ============================================================== DEFPARAM CumulateOrders = false ONCE hlv = 0 ONCE inlong = 0 ONCE inshort = 0 ONCE slprice = 0 ONCE tpprice = 0 ONCE ci = 0 ap = TypicalPrice esa = ExponentialAverage[10](ap) myD = ExponentialAverage[10](ABS(ap - esa))
95 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 11 market and timeframe combinations. The best run by trade count was Gold, 2 minutes, with 1,757 trades.
The best run had a maximum drawdown of 539 EUR at the tested position size, against a net result of 1,016 EUR.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.