About the Double Inside Bars Indicator
The Double Inside Bars Indicator for MT5 identifies a specific candlestick formation where two consecutive candles are fully contained within a larger mother bar.
Traders use this setup to detect market consolidation and anticipate potential breakouts.
By highlighting these patterns, the indicator helps pinpoint precise entry and exit points for trending markets.
The indicator alerts you to both bullish and bearish breakout opportunities, simplifying the process of spotting high-probability trades.
Using the Double Inside Bars Indicator can improve timing, reduce guesswork, and enhance overall trading efficiency.
Free Download
Double Inside Bars.mq5 Indicator (MT5)
Key Features
- Detects double inside bar formations automatically.
- Signals potential bullish and bearish breakouts.
- Works on multiple timeframes for flexibility.
- Helps traders enter trades with higher probability setups.
- Provides visual alerts when formations occur.
- Improves timing for entries and exits in trending markets.
Indicator Chart
The chart displays the Double Inside Bars Indicator in action on the USDJPY H4 timeframe.
It highlights mother bars and the two inside bars, showing potential breakout points.
Bullish blue and bearish red signals are clearly marked, helping traders anticipate trend continuation or reversal.
This visualization allows quick identification of consolidation phases and breakout setups.
Guide to Trade with the Double Inside Bars Indicator
Buy Rules
- Wait for a bullish breakout of the second blue inside bar above the mother bar.
- Confirm the breakout with a candle close above the inside bar high.
- Enter a buy position once the breakout is validated.
- Avoid trades if the market shows strong resistance nearby.
Sell Rules
- Look for a bearish breakout of the second red inside bar below the mother bar.
- Confirm the breakout with a candle close below the inside bar low.
- Enter a sell position after the breakout confirmation.
- Avoid trades if the market shows strong support nearby.
Stop Loss
- Set stop loss just beyond the opposite end of the mother bar.
- Adjust according to recent volatility for safety.
- Do not move the stop unless trade conditions change.
Take Profit
- Close the trade when a reversal candle forms opposite to your position.
- Optionally, set a profit target near the next support or resistance level.
- Lock in partial profits at intermediate price levels.
Double Inside Bars and XMaster Formula MT5 Scalping Strategy
This scalping strategy combines the Double Inside Bars Indicator for MT5 and the XMaster Formula Indicator for MT5 to catch fast breakout moves in the direction of the trend.
The Double Inside Bars indicator identifies tight consolidation patterns, with the second inside bar signaling a potential breakout.
Bullish breakouts occur when the second blue inside bar breaks above the mother bar, while bearish breakouts happen when the second red inside bar breaks below the mother bar.
The XMaster Formula adds trend confirmation with green lines for bullish momentum and red lines for bearish momentum.
This strategy works best on 1‑minute, 5‑minute, and 15‑minute charts and is ideal for scalpers seeking quick, high-probability trades with tight risk management.
Buy Entry Rules
- Confirm the trend is bullish with the XMaster Formula indicator. A green signal line indicates a bullish bias.
- Wait for a bullish breakout of the second blue inside bar above the mother bar on the Double Inside Bars indicator.
- Open a buy trade once both the green XMaster signal and the bullish inside bar breakout are confirmed.
- Place the stop loss just below the low of the mother bar to protect against false breakouts.
- Set a tight take profit target based on the next minor resistance or a small risk-reward ratio such as 1:1 or 1:1.5, suitable for scalping.
- If the price moves quickly in your favor, trail the stop below each new higher low to lock in profits.
Sell Entry Rules
- Confirm the trend is bearish with the XMaster Formula indicator. A red signal line indicates a bearish bias.
- Wait for a bearish breakout of the second red inside bar below the mother bar on the Double Inside Bars indicator.
- Open a sell trade once both the red XMaster signal and the bearish inside bar breakout are confirmed.
- Place the stop loss just above the high of the mother bar to reduce risk from false breakouts.
- Set a tight take profit at the next minor support level or use a 1:1 to 1:1.5 risk-reward ratio, optimized for quick scalping.
- If the price continues downward, trail the stop above each new lower high to secure profits.
Cast Study 1
On the AUD/USD 5‑minute chart, the XMaster Formula showed a green signal line, indicating a bullish trend.
A second blue inside bar formed and broke above the mother bar, signaling a bullish breakout.
A buy trade was entered with a stop loss just below the mother bar.
Price quickly rallied toward the next minor resistance, hitting the take profit target.
Trailing the stop below each new higher low captured extra profit in a fast-moving scalping setup while keeping risk tight.
Cast Study 2
On the USD/JPY 1‑minute chart, the XMaster Formula displayed a red signal line, indicating a bearish trend.
A second red inside bar formed and broke below the mother bar, signaling a bearish breakout.
A sell order was placed with the stop loss just above the mother bar. Price dropped swiftly toward the next minor support, achieving the take profit target.
Using trend confirmation combined with precise inside bar breakout entries produced a fast, low-risk scalp in line with the intraday momentum.
Download Now
Double Inside Bars.mq5 Indicator (MT5)
FAQ
What timeframe works best with the Double Inside Bars Indicator?
It works on all timeframes, but 1-hour and 4-hour charts often provide the most reliable breakouts. Shorter timeframes are better for scalping setups.
How do I confirm a breakout is valid?
Look for a candle closing beyond the inside bar range. Volume spikes or trend alignment increase the breakout’s reliability.
Does it indicate trend reversals or continuations?
It can signal both. Breakouts in the direction of the previous trend suggest continuation, while breakouts against it may indicate reversals.
Summary
The Double Inside Bars Indicator for MT5 is a powerful tool for spotting consolidation and breakout opportunities.
It simplifies the identification of high-probability setups and works across multiple timeframes.
Traders can rely on it for both trend continuation and reversal signals.
Its alert system ensures no potential trade is missed.
Overall, it enhances trade timing and helps manage risk efficiently, making it a valuable addition to any forex trading toolkit.

