Join waitlist
Strategies / Breakout / Large Body Range Breakout

Large Body Range Breakout

The system buys a green candle or sells short a red candle when its body is larger than the previous 22-bar body range. The stop sits at the signal bar's low or high, with a target at 3 times that risk.

BreakoutLong & shortIntradayGold5 min
1.52Profit factor
1,555Net profit EUR
26.03%Win rate
365Trades
-360Max drawdown
4.26Avg trade

Best run of 23. Gold, 5 min, spread 0.6, from run pf:2026-10-12-GOLD-5m.tsv:3.

Entry rules, long

  1. The candle is green, with close above open.
  2. Only one position is open at a time.

Entry rules, short

  1. The candle is red, with close below open.
  2. Only one position is open at a time.

Exit rules

  1. A target sits at 3 times the stop distance from the fill price.

Test conditions

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

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
GoldBest run5 min1.52 36526.031,555 EUR-360
Gold10 min1.45 57227.802,059 EUR-402
Silver30 minn/a 76823.4426,101 USD-13,086
Dow Jones1 hourn/a 16128.5716,566 EUR-4,748
Silver5 minn/a 45923.0912,913 USD-6,706
Dow Jones15 minn/a 55926.1210,832 EUR-7,053
Dow Jones4 hoursn/a 3531.437,918 EUR-7,017
Dow Jones30 minn/a 39025.907,485 EUR-6,332
DAX 4015 minn/a 68224.786,676 EUR-2,957
Nasdaq 10015 minn/a 81226.486,514 EUR-3,495
USD/JPYDailyn/a 2941.385,010 USD-1,860
DAX 404 hoursn/a 9533.684,977 EUR-4,704
Dow Jones5 minn/a 54925.324,698 EUR-4,683
Nasdaq 1003 minn/a 48123.912,883 EUR-2,212
S&P 5001 hourn/a 47423.002,454 EUR-992
Brent Crude1 minn/a 31727.762,232 EUR-1,907
S&P 50015 minn/a 60726.692,061 EUR-936
Gold30 minn/a 76524.051,681 EUR-953
S&P 5005 minn/a 46825.211,294 EUR-766
Gold3 minn/a 32127.101,269 EUR-470
S&P 50010 minn/a 56124.241,022 EUR-798
S&P 5003 minn/a 44621.75653 EUR-518
Gold15 minn/a 64923.73647 EUR-427

Charts

Results by run

Top 10 of 23 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

// ==============================================================
// Large Body Range Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: 5 minutes
// ==============================================================

DEFPARAM CumulateOrders = false

top = highest[22](max(close, open))
bot = lowest[22](min(close, open))
rangesize = top - bot
body = abs(close - open)

16 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 Large Body Range 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 23 market and timeframe combinations. The best run was Gold, 5 minutes, with a profit factor of 1.52 over 365 trades.

How large was the drawdown?

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

Does it trade long, short or both?

It trades both long and short.

Related

Strategies like this one

CCI Breakout

Best run on the same market, Gold.

1.08 PF · 6,065 trades

KAMA Standard Deviation Breakout

Also a breakout strategy.

1.51 PF · 540 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