The system sells short when price crosses above the upper Bollinger Band while RSI is below 70. It covers the short when price crosses back below the band while RSI is above 70, with no standing stop or target.
Best run of 4. Gold, 1 min, spread 0.6, from run sweeps:2026-10-11-GOLD-1m-opt.tsv:5.
| Period | Up to 2026-10-11 |
| Instrument | Gold, 1 minute |
| 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-11 |
Every run
| Market | Timeframe | PF | Trades | Win % | Net | Max DD |
|---|---|---|---|---|---|---|
| GoldBest run | 1 min | n/a | 495 | 38.99 | 826 EUR | -766 |
| USD/JPY | Daily | n/a | 61 | 37.70 | 1,110,300 USD | -1,033,900 |
| EUR/USD | Daily | n/a | 51 | 37.25 | 60,139 USD | -48,430 |
| GBP/USD | Daily | n/a | 55 | 30.91 | 9,644 USD | -8,420 |
Charts
The code
// ============================================================== // Upper Band Cross Short Selling // ProRealAlgos Strategy Library | prorealalgos.com // Type: Mean reversion // Direction: Short only // Timeframe tested: 1 minute // ============================================================== DEFPARAM CumulateOrders = false basis = Average[20](close) dev = 2 * STD[20](close) upper = basis + dev myRsi = RSI[14](close)
13 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 Gold, 1 minute, with 495 trades.
The best run had a maximum drawdown of 766 EUR at the tested position size, against a net result of 826 EUR.
It only takes short trades.
Related
The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.