Join waitlist
Strategies / Breakout / Pivot High Close Breakout

Pivot High Close Breakout

Buys when the close rises above the close of the latest confirmed pivot high of closes, confirmed with a 32-bar delay. Once a close fails to stay above that level, a 1.75% stop and 2% target are set from the entry price.

BreakoutLong onlyIntradayEUR/USD3 min
1.53Profit factor
106,772Net profit USD
61.40%Win rate
215Trades
-22,707Max drawdown
497Avg trade

Best run of 53. EUR/USD, 3 min, spread 1, from run pf:2026-10-10-EURUSD-3m.tsv:1.

Entry rules, long

  1. A pivot high of closes is recorded when the close 32 bars back equals the highest close of the last 79 bars.

Exit rules

  1. Once a close fails to stay above the stored level while long, a 1.75% stop loss and 2% profit target are armed from the entry price.

Test conditions

PeriodUp to 2026-10-10
InstrumentEUR/USD, 3 minutes
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-10

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
EUR/USDBest run3 min1.53 21561.40106,772 USD-22,707
USD/JPYDailyn/a 63949.771,082,430 USD-404,590
USD/JPY15 minn/a 17653.41556,600 USD-201,850
USD/JPY10 minn/a 14454.17491,620 USD-219,380
USD/JPY30 minn/a 33450.00381,990 USD-317,770
USD/JPY3 minn/a 3154.84124,130 USD-91,440
USD/JPY2 minn/a 1855.56104,370 USD-92,960
EUR/USD2 minn/a 30855.1957,869 USD-45,053
EUR/USDDailyn/a 60149.2556,954 USD-37,320
EUR/USD5 minn/a 22754.6341,988 USD-25,590
Nikkei 22530 minn/a 1,28248.8331,803 USD-10,525
Nikkei 2251 hourn/a 1,07148.4629,561 USD-14,914
Nikkei 225Dailyn/a 1,54948.4222,644 USD-14,688
Nikkei 2254 hoursn/a 87147.8820,717 USD-12,816
Nikkei 2252 minn/a 20251.9820,274 USD-10,277
Dow Jones30 minn/a 38251.0519,595 EUR-6,344
Silver4 hoursn/a 2,28046.9719,300 USD-13,903
Nikkei 2251 minn/a 14052.8618,851 USD-12,001
Nasdaq 10015 minn/a 86950.5217,334 EUR-6,060
Nikkei 2253 minn/a 28350.1816,656 USD-16,270
Nikkei 22510 minn/a 56848.7716,208 USD-13,093
Nasdaq 10030 minn/a 1,20950.7915,695 EUR-6,775
Dow Jones4 hoursn/a 23851.6815,523 EUR-7,789
Dow Jones5 minn/a 13953.9614,655 EUR-5,629
Dow Jones15 minn/a 44049.5512,874 EUR-8,416
Nasdaq 1005 minn/a 27153.1412,447 EUR-6,328
DAX 401 hourn/a 1,20749.2110,108 EUR-4,109
Dow JonesDailyn/a 1,89646.479,273 EUR-7,756
Nasdaq 1001 hourn/a 1,31747.307,898 EUR-6,414
DAX 405 minn/a 17552.576,763 EUR-5,443
Dow Jones1 minn/a 2560.006,496 EUR-4,130
Nasdaq 1001 minn/a 6357.146,300 EUR-3,860
Nasdaq 1002 minn/a 10752.345,883 EUR-4,801
Nasdaq 1004 hoursn/a 1,04547.565,617 EUR-4,545
DAX 4015 minn/a 57848.965,525 EUR-5,525
DAX 4010 minn/a 37749.345,480 EUR-4,314
S&P 50030 minn/a 81252.714,625 EUR-1,264
DAX 40Dailyn/a 1,91647.234,097 EUR-3,758
S&P 50015 minn/a 57950.263,217 EUR-1,313
FTSE 10010 minn/a 21851.833,129 EUR-1,138
FTSE 1005 minn/a 9856.123,100 EUR-803
Gold15 minn/a 51652.522,768 EUR-1,284
S&P 5005 minn/a 15955.352,731 EUR-945
Gold5 minn/a 28654.202,467 EUR-1,158
Gold1 hourn/a 1,11349.692,412 EUR-1,016
Gold30 minn/a 87450.002,273 EUR-1,334
Gold10 minn/a 39252.042,259 EUR-1,589
GoldDailyn/a 1,76447.512,164 EUR-890
S&P 5001 hourn/a 1,02147.601,869 EUR-1,610
Gold4 hoursn/a 97248.871,819 EUR-778
S&P 50010 minn/a 34549.281,779 EUR-1,492
FTSE 1003 minn/a 7153.521,548 EUR-1,161
S&P 5001 minn/a 3259.38924 EUR-431

Charts

Results by run

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

Net profitMax drawdown

The code

ProBuilder code, as tested

// ==============================================================
// Pivot High Close Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long only
// Timeframe tested: 3 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

ONCE resv = 0
ONCE hasres = 0
ONCE armed = 0

26 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.
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 Pivot High Close 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 53 market and timeframe combinations. The best run was EUR/USD, 3 minutes, with a profit factor of 1.53 over 215 trades.

How large was the drawdown?

The best run had a maximum drawdown of 22,707 USD at the tested position size, against a net result of 106,772 USD.

Does it trade long, short or both?

It only takes long trades.

Related

Strategies like this one

Slow MACD Slope

Best run on the same market, EUR/USD.

6.80 PF · 7,305 trades

Volume Confirmed Breakout

Also a breakout strategy.

1.53 PF · 393 trades

See how ProRealAlgos combines strategies like this into one automated portfolio.

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