Join today
Strategies / Breakout / Big Candle Breakout

Big Candle Breakout

A long signal needs a bullish candle that closes above the highest high of the previous 8 bars with a body larger than ATR(24). Shorts mirror that on the downside. Every trade has a stop 20 price units away and a target at twice that distance, and an opposite signal reverses the position.

BreakoutLong & shortIntradayUSD/JPY30 min
n/aProfit factor
376,390Net profit JPY
37.81%Win rate
4,636Trades
-295,530Max drawdown
81.19Avg trade

Best run of 6. USD/JPY, 30 min, spread 1, from run sweeps:2026-09-24-USDJPY-30m-opt.tsv:4.

Entry rules, long

  1. Bullish candle
  2. Close above the highest high of the previous 8 bars
  3. Members only

Entry rules, short

  1. Bearish candle
  2. Close below the lowest low of the previous 8 bars
  3. Members only

Exit rules

  1. Stop loss 20 price units from entry
  2. Members only

Test conditions

PeriodUp to 2026-09-24
InstrumentUSD/JPY, 30 minutes
Spread1 points
Contracts1
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-09-24

Parameters

positionSize
Contracts per trade
1
lookbackPeriod
Prior bars whose high / low must be broken
8
atrPeriod
ATR length the candle body is compared with
24
stopLossDistance
Protective stop (price units)
20
rewardRatio
Target as a multiple of the stop
2

Every run

Markets and timeframes tested

MarketTimeframePFTradesWin %NetMax DD
USD/JPYBest run30 minn/a 4,63637.81376,390 JPY-295,530
USD/JPYDailyn/a 37345.312,955,660 JPY-940,800
USD/JPY1 hourn/a 3,33739.59780,930 JPY-317,430
EUR/USDDailyn/a 32944.07174,355 USD-49,166
Gold4 hoursn/a 1,29837.061,523 EUR-388
Brent CrudeDailyn/a 36439.841,148 EUR-600

Charts

Results by run

Net profit against max drawdown

Net profitMax drawdown
0-1.0M-500K2.5M5.0MUSD/JPY · DailyUSD/JPY · 1 hourUSD/JPY · 30 minEUR/USD · DailyGold · 4 hoursBrent Crude · Daily

The code

ProBuilder, rewritten to house standard

Every file in the library uses the same header, the same section order and the same variable names. The numbers above were produced by the original version before the rewrite, and the rewrite has not yet been compiled in ProRealTime.

// ============================================================
// Big Candle Breakout
// ProRealAlgos Strategy Library  |  prorealalgos.com
// Type: Breakout
// Direction: Long & short
// Timeframe tested: 30 minutes
// ============================================================

// --- Settings ---
DEFPARAM CumulateOrders = false

// --- Parameters ---
positionSize = 1          // contracts per trade
lookbackPeriod = 8        // prior bars whose high / low must be broken
atrPeriod = 24            // ATR length the candle body is compared with
stopLossDistance = 20     // protective stop (price units)
rewardRatio = 2           // target as a multiple of the stop

// --- Indicators ---
channelHigh = Highest[lookbackPeriod](high[1])
channelLow = Lowest[lookbackPeriod](low[1])
bodySize = ABS(close - open)
atrValue = AverageTrueRange[atrPeriod](close)

16 more lines: the entry and exit rules.

Read this first

Known weaknesses

  • The best run on USD/JPY 30 minutes made JPY 376,390 but the max drawdown was JPY 295,530, which is close to the full profit.
  • Profit factor was not recorded for any market. All results come from sweep data, so there is no profit factor to judge the edge by.
  • The stop and target are fixed in price units (20 and 40). That distance means very different things on USD/JPY, Gold and Brent Crude, so results do not transfer between instruments as-is.
  • Win rate was 37.81% in the best run, so long losing streaks are normal with a 2 to 1 target.

Indicators used

ATR

How to load it

  1. Copy the code with the copy button above 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.

Questions

About this strategy

Does the Big Candle Breakout work in ProOrder?

It is written for ProOrder and can run automatically. The code is a rewrite that has not been compile-checked yet, and the tested stats come from the earlier version, so check it on a demo account first.

Which markets were tested?

USD/JPY on 30 minutes, 1 hour and Daily, EUR/USD Daily, Gold 4 hours and Brent Crude Daily. All five rows were profitable, with USD/JPY Daily the largest at JPY 2,955,660 over 373 trades.

What drawdown should I expect at 1 contract?

The best run, USD/JPY 30 minutes at 1 contract, had a max drawdown of JPY 295,530. EUR/USD Daily was far smaller at USD 49,166. Check your own contract size and margin with your broker.

Why compare the candle body with ATR?

Measuring the body against ATR(24) keeps only candles that are large compared with recent volatility. Ordinary breakouts of the 8-bar range with small bodies are ignored.

Related

Strategies like this one

ATR Band

Uses the same indicator.

10.31 PF · 53 trades

Supertrend Counter Trend

Best run on the same market, USD/JPY.

3.47 PF · 1,444 trades

Breakout Regime Filter

Also a breakout strategy.

6.28 PF · 70 trades

Curious how breakout systems are combined with other strategy types? Get on 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