ForexBestRobots.comCompare EAs →

Price Action · Strategy 2

Inside Bar Forex Strategy: Mother Candle and Closed-Bar Breakout

A testable EUR/USD H1 Inside Bar plan: strict mother-candle boundaries, a closed-bar breakout, fixed exits and position sizing after trading costs.

24 min readReviewed by ForexBestRobots Editorial Team
Hypothetical EUR/USD H1 Inside Bar example showing three completed candles, fixed boundaries, entry quote, stop, target and event times.EUR/USD · H1 · Bid chartMother → Inside → Closed breakout

Freeze the levels before the breakout candle opens. Check the first tradable quote after it closes.

An Inside Bar describes a smaller candle entirely within the preceding candle's high–low range. It shows contraction; it does not establish the direction or profitability of the next move. This article turns that observation into one explicit research baseline, with three completed candles, fixed levels, a short entry window and a cost-aware rejection rule.

1. What this Inside Bar setup measures

The sequence is M → I → B: a mother candle, an Inside Bar and the immediately following breakout candle. All three must be completed adjacent H1 bars. The mother and Inside Bar define the candidate; the third candle either confirms it or cancels it. A price touch while that third candle is open is not an entry signal.

The limits below are author-defined research choices, not a standard guaranteed to work. The 12–40-pip mother range, 50% contraction limit, 2-pip buffers, 3-range target, 1.5 cost-adjusted ratio and 8-bar time exit belong to this specific baseline. Test them as a complete rule set before changing them.

2. Instrument, chart and clock

Use EUR/USD on an H1 Bid chart. Record the broker's server time, daylight-saving convention and bar-opening times. Each bar in the sequence must begin exactly 1 hour after the previous one. Reject a candidate crossing a weekend, missing bar or session gap; do not compress the gap into an apparently adjacent pattern.

Here 1 pip = 0.0001. A broker's displayed point may be smaller than a pip. Keep chart prices, Bid and Ask separate. Buy orders enter at Ask and close at Bid; sell orders enter at Bid and close at Ask. The examples use a USD account and illustrative contract terms, not live quotes.

3. Mother candle and strict Inside Bar

The mother is the immediately preceding completed bar, never an older convenient candle. Define its range as R = M_high − M_low. Require a mother range of 12–40 pips, inclusive. Both candles must have valid OHLC prices and nonzero ranges.

Require M_low < I_low < I_high < M_high using the entire candles, including wicks. Equal highs or lows do not qualify in this baseline. The Inside Bar range must be at least 3 pips and no greater than 50% of the mother range: 3 pips ≤ I_range ≤ 0.5 × R. Candle-body color is not an additional filter; even a doji can qualify if its full range passes these tests.

4. Freeze boundaries, stops and targets

When the Inside Bar closes, freeze the two candles and all levels before the next candle opens. The buffered Bid boundaries are U = M_high + 2 pips and L = M_low − 2 pips. Do not widen the mother range after observing a breakout.

For a buy, the fixed Bid stop is SL_buy = L and the fixed Bid target is TP_buy = U + 3 × R. For a sell, use a fixed spread allowance of 2 pips: SL_sell_Ask = U + 2 pips and TP_sell_Ask = L − 3 × R + 2 pips. Both sell exits are Ask prices because a short position closes at Ask.

The 2-pip sell allowance is a preset conversion choice, not reconstructed historical Ask data and not a forecast of future spread. It leaves the planned target fixed even when the entry quote changes. The 3-range projection is an authored target; reaching it is neither assumed nor promised. Reject a quote that fails the risk check rather than moving the target farther away.

5. Confirm only the next completed candle

Only the candle immediately after the Inside Bar may confirm the candidate. A buy requires B_close > B_open and B_close > U. A sell requires B_close < B_open and B_close < L. A close exactly on a boundary fails. A wick crossing a boundary without a qualifying close also fails.

Reject a candle that touches both buffered boundaries: B_high ≥ U together with B_low ≤ L. This is a conservative filter based on complete OHLC, not an inference about which boundary was hit first. For a buy, also reject B_high ≥ TP_buy or B_low ≤ SL_buy. For a sell, reject B_low ≤ L − 3 × R or B_high ≥ U; these are conservative Bid-chart vetoes, not claimed Ask executions.

If that one candle fails, the candidate expires. Do not keep the old mother alive for a later breakout. A later adjacent mother/inside pair may be logged as a separate new candidate, with fresh levels; a series of nested Inside Bars is a different variant unless it independently satisfies this exact adjacent-pair rule.

6. Buy procedure

  1. At the Inside Bar close, verify adjacency, strict containment and the two range filters; record the frozen upper boundary, Bid stop and Bid target.
  2. Wait for the immediately next H1 bar to close bullish above the upper boundary. Apply all OHLC vetoes before requesting an order.
  3. Check the first available tradable quote after that close. It must arrive within 60 seconds, have spread no greater than 2 pips, and have Bid strictly between the fixed stop and target. Ask must remain below the target.
  4. Calculate stop distance from entry Ask to stop Bid and reward distance from entry Ask to target Bid. Apply costs, the reserve, the 1.5 ratio floor and the position-size limit.
  5. Allow one immediate market-order attempt, with the fixed exits. If the quote or broker constraints fail, skip the candidate. If the execution response is uncertain, reconcile actual orders before any further action.

This is a market-entry baseline after a completed breakout. A buy-stop order placed before the close, an entry at the Inside Bar high or a later retest entry would require a separate specification and separate tests.

7. Sell procedure

  1. At the Inside Bar close, record the same frozen mother range and buffered boundaries, plus the fixed Ask stop and Ask target with the preset 2-pip allowance.
  2. Wait for the immediately next H1 bar to close bearish below the lower boundary. Reject a two-boundary candle and the sell-specific Bid-chart vetoes.
  3. Use the first tradable quote within 60 seconds, with spread no greater than 2 pips. Ask must be strictly between the fixed Ask exits, and entry Bid must remain above the Ask target.
  4. Compute risk from entry Bid to stop Ask and reward from entry Bid to target Ask. Apply the same cost model, 1.5 ratio floor and downward lot rounding.
  5. Allow one immediate market attempt. Keep the fixed Ask exits; skip an invalid quote, insufficient margin, invalid volume or unacceptable stop distance. Reconcile uncertain execution before acting again.

A sell is not a buy example with the price labels swapped. Ask-triggered exits and spread changes matter. In a backtest, obtain suitable Ask or tick/spread data rather than treating a Bid candle as proof that an Ask stop or target executed.

8. Quote window and broker constraints

The first available tradable quote decides the candidate; 60 seconds is a freshness limit, not permission to wait for a better spread or entry. Reject an absent or stale quote, a spread above 2 pips, an already crossed exit or a ratio below 1.5. No later quote rescues the same candidate. Log signal time, quote time, Bid, Ask, spread and the rejection reason.

Before sending the order, validate minimum lot, lot step, maximum lot, available margin, stop distance and any freeze restrictions on the actual symbol. A reported zero stop level does not necessarily mean there are no dynamic restrictions. Do not silently move a stop, round volume upward or repeatedly submit an uncertain order. Record the actual fill and any difference from the evaluated quote.

9. Fixed exits and the time limit

Keep the initial stop and target fixed. No averaging, stop widening, discretionary trailing or additional position is part of this baseline. Permit only one position from the strategy at a time; if it already has an open position, log and skip a new signal.

If neither price exit closes the trade, request a market close at the opening of the ninth H1 bar, counting the entry bar as bar 1. An entry at 11:00 therefore has a scheduled time exit at 19:00 after 8 bars. Use the first tradable quote at that time if the exact opening quote is unavailable. Apply whichever valid exit occurs first and reconcile a price-exit fill before sending a time-exit request.

Stops, the time limit and the reserve do not cap loss through gaps or poor execution. Record the actual closing quote, commission and slippage. If protective exits cannot be attached or confirmed, do not treat the position as safely protected; manage that execution failure explicitly in the test or live operating procedure.

10. Worked buy example

These are invented, internally consistent Bid candles for one EUR/USD H1 day. No trade outcome is shown. Times are broker server times; the row for each candle identifies its open-to-close interval.

StepPrices or fixed valuesCheck
Mother · 08:00–09:00O 1.0812 / H 1.0830 / L 1.0810 / C 1.0826Range 20 pips; within the mother filter.
Inside · 09:00–10:00O 1.0826 / H 1.0827 / L 1.0817 / C 1.0821Range 10 pips; strict containment; 50% of mother.
Freeze at 10:00U 1.0832 / L 1.0808 / TP_buy 1.0892Record before the breakout bar opens.
Breakout · 10:00–11:00O 1.0821 / H 1.0836 / L 1.0820 / C 1.0834Bullish close above the upper boundary; no veto.
First quote · 11:00Bid 1.0834 / Ask 1.0836Spread 2 pips; evaluate once.
Fixed buy exitsSL_Bid 1.0808 / TP_Bid 1.0892Entry uses Ask; exits use Bid.
Hypothetical EUR/USD H1 Inside Bar example showing three completed candles, fixed boundaries, entry quote, stop, target and event times.
Illustrative prices, not a trading result. The mother candle has a 20-pip range; the Inside Bar has a 10-pip range. The breakout closes at 11:00. Entry uses Ask 1.0836; the buy stop and target use Bid 1.0808 and 1.0892. No future price path is implied.

The mother range is 20 pips. The Inside Bar range is 10 pips, exactly 50% of the mother, with both extremes strictly inside it. At 10:00 the buffered boundaries become 1.0832 and 1.0808. The fixed buy target is 1.0892; it is recorded before the breakout candle begins.

The third candle closes bullish at 1.0834 above 1.0832. Its high and low pass the vetoes. The first tradable quote at 11:00 is Bid 1.0834 / Ask 1.0836. The 2-pip spread passes the cap. Entry uses Ask, so the stop distance is 28 pips and the target distance is 56 pips before the additional modeled costs.

11. Information available at each step

Do not use the final breakout OHLC, later spread or trade outcome to select the mother candle or target retrospectively.

Server timeWhat is knownPermitted action
09:00Mother candle completed.Observe the next candle; no entry.
10:00Inside Bar completed and eligible.Freeze the range, boundaries and exits.
11:00Breakout candle completed and eligible.Request the first tradable quote.
11:00:00First quote passes costs and size checks.One market attempt; entry hour counts as bar 1.
19:00Eight H1 bars have elapsed since the entry hour began.Time exit at the first tradable quote if still open.
After any rejectionThe candidate has expired.Log the reason; do not revive its frozen levels.

12. Costs, reward-to-risk and lot sizing

For this illustration, use USD 10,000 equity, a 0.5% budget of USD 50, EUR/USD contract size 100,000 EUR, USD 10 per pip per standard lot, and a lot step and minimum of 0.01. Round-trip commission is USD 7 per lot. These are example inputs; obtain actual symbol properties and account-currency pip value from the broker before sizing a real trade.

Reserve 1 pip for adverse entry execution and 1 pip for adverse exit execution, for 2 pips total. Let D be the stop distance and G the target distance in pips, measured from the appropriate entry and exit price sides. The model is risk_per_lot = (D + 2) × 10 + 7 and reward_per_lot = (G − 2) × 10 − 7. Require positive modeled reward and reward_per_lot / risk_per_lot ≥ 1.5. Spread is already included through Bid/Ask distances; do not add it a second time.

CalculationExample valueMeaning
Risk budget10,000 × 0.005 = 50 USD0.5% of example equity.
Stop distance(1.0836 − 1.0808) / 0.0001 = 28 pipsBuy Ask to stop Bid.
Target distance(1.0892 − 1.0836) / 0.0001 = 56 pipsBuy Ask to target Bid.
Gross ratio56 / 28 = 2.00Before reserve and commission.
Risk per lot(28 + 2) × 10 + 7 = 307 USDStop distance plus reserve and commission.
Reward per lot(56 − 2) × 10 − 7 = 533 USDTarget distance minus reserve and commission.
Cost-adjusted ratio533 / 307 ≈ 1.74Passes the 1.5 floor.
Raw → valid volume50 / 307 ≈ 0.1629 → 0.16 lotRound down to the 0.01 step.
Modeled position risk307 × 0.16 = 49.12 USDWithin the USD 50 budget.
Modeled position reward533 × 0.16 = 85.28 USDA projection if the fixed target executes; not a result.

The raw volume is rounded down to 0.16 lot. Its modeled risk is USD 49.12; 0.17 lot would model USD 52.19 and exceed the USD 50 budget. If even the minimum valid volume exceeds the budget, skip the trade. This arithmetic estimates exposure; the reserve is not a guaranteed maximum loss.

If the actual fill differs, recompute exposure and record the execution deviation without widening the frozen exits. A deterministic test must state how an over-budget fill or an unprotected position is handled; do not hide it by using the requested price as though it were the fill.

13. Examples that must be skipped

SituationRule checkDecision
First quote Bid 1.0834, Ask 1.0836533 / 307 ≈ 1.74; spread 2 pips.Eligible only if every other check passes.
First quote Bid 1.0838, Ask 1.0840493 / 347 ≈ 1.42; spread still 2 pips.Skip: cost-adjusted ratio is too low.
Breakout closes at 1.0832Close equals the upper boundary.Skip: strict breakout condition fails.
Breakout touches both buffered boundariesBoth-boundary OHLC veto applies.Skip: do not infer the intrabar order.
First quote has spread 3 pipsExceeds the 2-pip cap.Skip: do not wait for a narrower quote.
First tradable quote arrives 61 seconds after the closeExceeds the 60-second limit.Skip: the candidate has expired.

Also skip a fresh signal if the recorded calendar has a scheduled high-impact EUR or USD release within 15 minutes before or after the signal close. Choose the calendar, event classification and timezone before the test, retain that snapshot and handle missing calendar data explicitly. This entry filter does not change the fixed exits of an existing position.

14. Test the complete baseline

Log every eligible adjacent pair, including cancelled candidates and the reason for each cancellation. Keep the thresholds and target projection fixed for the initial evaluation. Split development data from later untouched evaluation data; include different volatility and spread conditions. If you change a threshold after examining results, treat that as a new variant requiring a fresh evaluation.

An H1 OHLC bar cannot reliably establish execution order when both exits lie within its range. Use appropriate lower-timeframe or tick data with Bid/Ask or spread records; flag unresolved cases rather than assigning favorable outcomes. Historical Bid candles alone are insufficient evidence for Ask-triggered sell exits.

MT4's Every tick mode may interpolate between OHLC control points; its tester can model Ask using a configured spread rather than historical variable spreads. Record the modeling method, data gaps, spread, commissions, slippage, news-calendar availability and broker restrictions. Report trade count, net results, drawdown, cost sensitivity and execution ambiguity. No performance backtest has been run for this article, so it provides no measured win rate or profitability claim.

15. Common implementation mistakes

  • Using candle bodies only, allowing equal extremes or selecting an older mother because it makes the pattern fit.
  • Entering on a wick touch or extending a failed candidate beyond its one allowed breakout candle.
  • Calculating the target after seeing the entry, or moving it outward to make a weak reward-to-risk ratio pass.
  • Using Bid as the buy entry or assuming a Bid high proves an Ask-triggered sell stop executed.
  • Ignoring costs, charging spread twice, rounding volume upward or treating the execution reserve as a loss guarantee.
  • Retrying an order with uncertain status, overlapping positions or choosing a favorable exit order from ambiguous H1 data.

16. Pre-entry checklist

  1. Three adjacent completed H1 Bid bars, valid OHLC and the recorded broker clock.
  2. Mother range 12–40 pips; strict full-range containment; Inside Bar range at least 3 pips and at most 50% of the mother.
  3. Buffered boundaries, fixed stop and projected target frozen at the Inside Bar close.
  4. Exactly the next candle gives a directional close beyond the required boundary and passes all vetoes.
  5. First tradable quote within 60 seconds, spread at most 2 pips, and no crossed or invalid exit.
  6. Positive reward after costs, ratio at least 1.5, valid downward-rounded volume and sufficient margin.
  7. Calendar filter passes, no existing strategy position, one immediate attempt and an explicit uncertain-fill procedure.
  8. Protective exits, the 8-bar time limit and the complete signal/quote/fill log are ready.

17. Inside Bar FAQ

Must the Inside Bar have the same color as the mother?

No. This baseline filters complete ranges, not mother or Inside Bar body color. The next completed breakout candle supplies the directional condition. A qualifying contraction alone does not predict a profitable move.

Can its high or low equal the mother's extreme?

Not here. Strict containment excludes equality. A rule allowing equal highs or lows would be a different variant and should not be mixed into this baseline's results.

What if several Inside Bars appear in a row?

The original candidate still has only one next candle in which to confirm. After expiry, a new adjacent mother/inside pair may qualify independently with new levels. Keeping the original mother for a multi-bar compression is another strategy variant.

Does a closed breakout prove an edge?

No. It defines a reproducible trigger. Only suitable tests with execution costs and untouched evaluation data can assess the baseline, and historical results would still not guarantee future performance.

18. Sources and their scope

The primary sources below support the pattern definition and platform mechanics. They do not validate this article's thresholds, projected target, filters or expected performance.

19. Keep the contraction and execution separate

The mother and Inside Bar define a contraction. One completed next candle may confirm it; one fresh quote then decides whether the fixed plan is still affordable. If any condition fails, skip it and retain the reason. The useful output of this article is a rule set that can be tested consistently, not a promise that a breakout will reach its target.