Join waitlist
Strategies / Breakout / Long Volatility Band Breakout

Long Volatility Band Breakout

Buys when the close crosses above a band set 2.5 standard deviations above its 350 period average. Closes the long when the close crosses below that average.

BreakoutLong onlyIntradayGold5 min
1.92Profit factor
2,065Net profit EUR
44.40%Win rate
232Trades
-337Max drawdown
8.90Avg trade

Best run of 44. Gold, 5 min, spread 0.6, from run pf:2026-10-04-GOLD-5m.tsv:2.

Entry rules, long

  1. Signals are only checked after bar 355.

Exit rules

  1. The close crosses below the 350 period average, closing the long.

Test conditions

PeriodUp to 2026-10-04
InstrumentGold, 5 minutes
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-04

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run5 min1.92 23244.402,065 EUR-337
Gold3 min1.67 23438.031,732 EUR-349
Gold2 min1.61 23139.831,446 EUR-259
Nasdaq 10015 min1.58 20448.048,712 EUR-2,175
USD/JPY30 minn/a 21138.86359,570 USD-231,530
USD/JPY10 minn/a 22441.52276,460 USD-139,590
USD/JPY15 minn/a 21841.74264,350 USD-140,900
USD/JPY4 hoursn/a 3737.84248,350 USD-191,340
EUR/USDDailyn/a 1154.5554,289 USD-31,530
Nikkei 225Dailyn/a 966.6740,690 USD-11,480
Silver30 minn/a 22436.1628,877 USD-9,952
Nikkei 22515 minn/a 20545.3724,241 USD-6,121
Nikkei 2254 hoursn/a 2352.1722,606 USD-6,293
Nikkei 22510 minn/a 21639.3520,192 USD-6,495
Silver3 minn/a 22940.6116,866 USD-7,865
Silver2 minn/a 23140.2615,890 USD-6,739
Silver5 minn/a 23639.4115,737 USD-9,776
Nikkei 2252 minn/a 23240.9515,565 USD-7,218
Nikkei 22530 minn/a 20738.6514,375 USD-5,651
Nikkei 2255 minn/a 21739.6313,516 USD-8,135
Nikkei 2251 hourn/a 9944.4412,924 USD-7,697
Dow JonesDailyn/a 1464.2912,821 EUR-7,283
DAX 40Dailyn/a 1369.2310,371 EUR-3,843
Nikkei 2253 minn/a 22538.679,147 USD-9,092
Nasdaq 10010 minn/a 19939.707,987 EUR-2,769
Nasdaq 10030 minn/a 19641.337,396 EUR-2,068
Dow Jones15 minn/a 16740.726,997 EUR-4,804
Brent Crude15 minn/a 21241.984,743 EUR-3,388
Dow Jones30 minn/a 8442.864,526 EUR-3,714
Nasdaq 1005 minn/a 22743.614,182 EUR-1,994
Nasdaq 1001 hourn/a 11846.614,120 EUR-2,779
Nasdaq 1002 minn/a 23937.663,923 EUR-1,889
DAX 4015 minn/a 21739.173,789 EUR-3,010
FTSE 100Dailyn/a 1163.643,563 EUR-1,737
DAX 4030 minn/a 22136.203,398 EUR-2,441
GoldDailyn/a 1258.333,248 EUR-1,466
Gold4 hoursn/a 3751.352,371 EUR-1,014
Gold10 minn/a 24141.911,923 EUR-686
Gold15 minn/a 23340.341,884 EUR-927
Gold1 hourn/a 13540.001,874 EUR-913
Gold30 minn/a 22338.571,867 EUR-1,035
S&P 50015 minn/a 19644.391,817 EUR-469
S&P 50030 minn/a 20640.29908 EUR-584
Gold1 minn/a 22433.93305 EUR-286

Charts

Results by run

Top 10 of 44 runs. The full list is in the table above.

Above 1.0 made money, below 1.0 lost money.

The code

ProBuilder code, as tested

// ==============================================================
// Long Volatility Band Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long only
// Timeframe tested: 5 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

sma = Average[350](close)
myStd = STD[350](close)
upper = sma + myStd * 2.5

11 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 Deviation
Longer historyRe-run on up to 1,000,000 barsGold · 5 min · older data 182.80 EUR

On the long run with 1,000,000 bars the net result was 2,248 EUR, against 2,065 EUR on the standard 200,000-bar run. The older data alone gave 183 EUR.

Gold · 5 min

Bars available1,000,000
Net, standard 200,000-bar run2,064.70 EUR
Net, long run2,247.50 EUR
Net on the older data alone182.80 EUR
Read this firstKnown weaknesses2 points
  • The code sets no stop loss, so a losing trade stays open until an exit signal arrives.
  • Results include the spread only. Commissions and overnight financing are not included.

Questions

About this strategy

Can I run Long Volatility Band Breakout 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 44 market and timeframe combinations. The best run was Gold, 5 minutes, with a profit factor of 1.92 over 232 trades.

How large was the drawdown?

The best run had a maximum drawdown of 337 EUR at the tested position size, against a net result of 2,065 EUR.

Does it trade long, short or both?

It only takes long 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

Morning Range Breakout

Also a breakout strategy.

1.89 PF · 434 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