Join waitlist
Strategies / Mean reversion / Upper Band Cross Short Selling

Upper Band Cross Short Selling

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.

Mean reversionShort onlyIntradayGold1 min
n/aProfit factor
826Net profit EUR
38.99%Win rate
495Trades
-766Max drawdown
1.67Avg trade

Best run of 4. Gold, 1 min, spread 0.6, from run sweeps:2026-10-11-GOLD-1m-opt.tsv:5.

Entry rules, short

  1. After bar 21, the close crosses above the upper Bollinger Band (20 periods, 2 standard deviations) while RSI (14) is below 70.

Exit rules

  1. There is no standing stop or target.

Test conditions

PeriodUp to 2026-10-11
InstrumentGold, 1 minute
Spread0.6 points
Starting capital1,000,000
CostsSpread only. Commissions and overnight financing are not included.
BarsUp to 200,000 bars, fewer where the instrument has less history
Last tested2026-10-11

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run1 minn/a 49538.99826 EUR-766
USD/JPYDailyn/a 6137.701,110,300 USD-1,033,900
EUR/USDDailyn/a 5137.2560,139 USD-48,430
GBP/USDDailyn/a 5530.919,644 USD-8,420

Charts

Results by run

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// 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

How to load it

  1. Copy the code with the copy button on the code block.
  2. In ProRealTime, open a chart of the instrument and timeframe you want to test, then open ProOrder > New trading system and choose "Create with programming".
  3. Paste the code, give the system a name and save it.
  4. Click "Backtest", set your own spread and position size, and run it before you consider trading it live.

Indicators used

Bollinger BandsSMAStandard DeviationRSI
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 766 EUR is large next to the net profit of 826 EUR.

Questions

About this strategy

Can I run Upper Band Cross Short Selling in ProOrder?

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.

Which markets was it tested on?

It was tested on 4 market and timeframe combinations. The best run by trade count was Gold, 1 minute, with 495 trades.

How large was the drawdown?

The best run had a maximum drawdown of 766 EUR at the tested position size, against a net result of 826 EUR.

Does it trade long, short or both?

It only takes short trades.

Related

Strategies like this one

Trend Surfer

Uses the same indicator.

1.04 PF · 10,813 trades

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

ATR Band

Also a mean reversion strategy.

10.31 PF · 53 trades

Put your name on the ProRealAlgos waitlist to trade a tested portfolio instead of single strategies.

The ProRealAlgos community gets the full rules, the complete code and the automated portfolio.

Past backtest results do not guarantee future results. This is not financial advice. Curated and maintained by ProRealAlgos. ProRealTime™ is a trademark of ProRealTime SAS. prorealalgos.comStatsDocs