The strategy buys when price is above its 200-period EMA, the 3-period RSI is above 70 and the close is above the upper Bollinger Band. It sells short on the mirror conditions, using ATR(14) for the stop and 2 times ATR(14) for the target.
Best run of 4. Silver, 4 hours, spread 2, from run pf:2026-10-12-SILVER-4h.tsv:1.
| Period | Up to 2026-10-12 |
| Instrument | Silver, 4 hours |
| 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 | 4 hours | 2.23 | 1,532 | 34.73 | 176,036 USD | -11,494 |
| Silver | 1 hour | n/a | 6,653 | 26.86 | 292,576 USD | -120,778 |
| Gold | 4 hours | n/a | 1,578 | 34.28 | 912 EUR | -619 |
| Gold | Daily | n/a | 705 | 34.61 | 686 EUR | -432 |
Charts
The code
// ============================================================== // EMA RSI Bollinger Band Breakout // ProRealAlgos Strategy Library | prorealalgos.com // Type: Breakout // Direction: Long & short // Timeframe tested: 4 hours // ============================================================== DEFPARAM CumulateOrders = false myRsi = RSI[3](close) myAtr = AverageTrueRange[14](close) basis = Average[20](close) dev = 2.0 * STD[20](close) upper = basis + dev lower = basis - dev ema = ExponentialAverage[200](close)
21 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 was Silver, 4 hours, with a profit factor of 2.23 over 1,532 trades.
The best run had a maximum drawdown of 11,494 USD at the tested position size, against a net result of 176,036 USD.
It trades both long and short.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.