Join waitlist
Strategies / Breakout / Reversal With High Low Bands

Reversal With High Low Bands

Buys when a reversal pattern on closing prices and a close above a band 1% over a double-smoothed average both point up, and sells short when both point down. Any open position is closed when the two signals disagree.

BreakoutLong & shortIntradayGold30 min
n/aProfit factor
1,685Net profit EUR
39.28%Win rate
1,497Trades
-904Max drawdown
1.13Avg trade

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

Entry rules, long

  1. High Low Band state is +1 when the close is above the upper band, and -1 when it is below the lower band, otherwise unchanged.
  2. The bands sit 1% above and below a 14-bar average of a 14-bar average of close.
  3. The system buys one contract at market when both states are +1.

Entry rules, short

  1. High Low Band state is -1 when the close is below the lower band.
  2. The system sells short one contract at market when both states are -1.

Exit rules

  1. A short closes when the two states no longer both point down.
  2. There is no stop or target.

Test conditions

PeriodUp to 2026-10-12
InstrumentGold, 30 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-12

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run30 minn/a 1,49739.281,685 EUR-904
USD/JPYDailyn/a 28840.972,182,470 USD-611,320
USD/JPY30 minn/a 1,23438.90477,710 USD-226,760
USD/JPY15 minn/a 1,18738.16268,080 USD-171,430
EUR/USD2 minn/a 1,19235.49126,599 USD-82,345
Nikkei 225Dailyn/a 32040.3136,461 USD-17,918
Silver4 hoursn/a 71436.9728,061 USD-14,179
Brent CrudeDailyn/a 17234.3018,049 EUR-11,310
Gold1 hourn/a 1,24539.202,099 EUR-886
Gold4 hoursn/a 52536.951,560 EUR-937
Gold10 minn/a 1,27436.971,009 EUR-625

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Reversal With High Low Bands
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: 30 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE posrev = 0
ONCE poshlb = 0
ONCE sincebad = 1000

ll = lowest[14](low)
hh = highest[14](high)

52 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

SMAStochastic
Read this firstKnown weaknesses2 points
  • No profit factor is available, because only sweep results exist for this strategy.
  • The maximum drawdown of 904 EUR is large next to the net profit of 1,685 EUR.

Questions

About this strategy

Can I run Reversal With High Low Bands 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 11 market and timeframe combinations. The best run by trade count was Gold, 30 minutes, with 1,497 trades.

How large was the drawdown?

The best run had a maximum drawdown of 904 EUR at the tested position size, against a net result of 1,685 EUR.

Does it trade long, short or both?

It trades both long and short.

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

Big Candle Breakout

Also a breakout strategy.

n/a PF · 4,636 trades

Want strategies that are already part of a live portfolio? Join the ProRealAlgos waitlist.

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