The strategy buys when a bullish candle body is wider than the 14-bar ATR, with a rising EMA trend, RSI above 55, a positive MACD histogram, and volume above 1.5 times its average. It sells short on the mirror setup, with stop and target set from the ATR.
Best run of 4. Silver, 1 hour, spread 2, from run sweeps:2026-10-12-SILVER-1h-opt.tsv:9.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 1 hour |
| Spread | 2 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 |
|---|---|---|---|---|---|---|
| SilverBest run | 1 hour | n/a | 1,851 | 32.52 | 9,946 USD | -7,759 |
| Nasdaq 100 | 4 hours | n/a | 386 | 37.56 | 6,282 EUR | -2,278 |
| DAX 40 | 1 hour | n/a | 1,460 | 34.32 | 2,616 EUR | -2,328 |
| Gold | Daily | n/a | 55 | 43.64 | 488 EUR | -436 |
Charts
The code
// ============================================================== // Momentum Breakout Candle // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 1 hour // ============================================================== DEFPARAM CumulateOrders = false emaf = ExponentialAverage[21](close) emas = ExponentialAverage[50](close) myRsi = RSI[14](close) myMacd = ExponentialAverage[12](close) - ExponentialAverage[26](close) sig = ExponentialAverage[9](myMacd) hist = myMacd - sig avgvol = Average[20](volume) myAtr = AverageTrueRange[14](close)
20 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 Silver, 1 hour, with 1,851 trades.
The best run had a maximum drawdown of 7,758 USD at the tested position size, against a net result of 9,946 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.