Join waitlist
Strategies / Breakout / Higher Low Lower High Breakout

Higher Low Lower High Breakout

The strategy buys when a higher pivot low forms and the close breaks above the last pivot high, and sells short on the mirror pattern. Stops sit 3% from entry and targets 6% from entry.

BreakoutLong & shortSwingEUR/USDDaily
1.71Profit factor
157,281Net profit USD
45.57%Win rate
158Trades
-32,434Max drawdown
995Avg trade

Best run of 15. EUR/USD, Daily, spread 1, from run pf:2026-10-11-EURUSD-D.tsv:1.

Entry rules, long

  1. Pivots use 5 bars on each side and are confirmed 5 bars late.
  2. After a long signal, no new long fires until a short signal has fired.

Entry rules, short

  1. The last pivot high is below the one before it, and the close is below the last pivot low.

Exit rules

  1. An opposite signal reverses the position.

Test conditions

PeriodUp to 2026-10-11
InstrumentEUR/USD, Daily
Spread1 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
EUR/USDBest runDaily1.71 15845.57157,281 USD-32,434
USD/JPYDailyn/a 17340.461,394,590 USD-535,670
USD/JPY5 minn/a 2,55137.48240,670 USD-148,700
Nikkei 22530 minn/a 2,43537.9519,148 USD-18,551
Nikkei 225Dailyn/a 15337.2514,924 USD-7,387
Dow JonesDailyn/a 18235.7114,279 EUR-6,463
GBP/USD1 hourn/a 2,41438.827,213 USD-6,078
US Crude Oil1 hourn/a 1,25736.446,444 EUR-3,931
Brent CrudeDailyn/a 6944.933,907 EUR-3,524
Gold30 minn/a 2,66239.182,456 EUR-1,414
Gold15 minn/a 2,54935.111,904 EUR-815
Gold1 hourn/a 1,72337.961,413 EUR-1,074
Gold4 hoursn/a 41537.591,093 EUR-685
Gold5 minn/a 2,39837.70967 EUR-942
GoldDailyn/a 17233.14803 EUR-355

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Higher Low Lower High Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: Daily
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE lowa = 0
ONCE lowb = 0
ONCE higha = 0
ONCE highb = 0
ONCE nlow = 0
ONCE nhigh = 0
ONCE longtrig = 0
ONCE shorttrig = 0

llw = lowest[5](low)
hhw = highest[5](high)

43 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.
Longer historyRe-run on up to 1,000,000 barsEUR/USD · Daily · older data 0.00 USD

EUR/USD had no history beyond the standard run, so both runs used 12,000 bars.

EUR/USD · Daily

Bars available12,000
Net, standard 200,000-bar run157,281.00 USD
Net, long run157,281.00 USD
Net on the older data alone0.00 USD
Read this firstKnown weaknesses2 points
  • Results include the spread only. Commissions and overnight financing are not included.
  • The code is published as it was backtested and has not been compiled again since.

Questions

About this strategy

Can I run Higher Low Lower High 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 15 market and timeframe combinations. The best run was EUR/USD, Daily, with a profit factor of 1.71 over 158 trades.

How large was the drawdown?

The best run had a maximum drawdown of 32,434 USD at the tested position size, against a net result of 157,281 USD.

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

Slow MACD Slope

Best run on the same market, EUR/USD.

6.80 PF · 7,305 trades

Fractal Breakout

Also a breakout strategy.

1.71 PF · 235 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