Opens in a new tab
Inside Bar Indicator MT4

Inside Bar Indicator MT4

An inside bar - a candle whose entire range is contained within the candle before it - is one of the simplest compression patterns in price action trading, and often precedes a breakout. The Inside Bar Indicator scans any timeframe you choose for that exact pattern and plots the resulting range directly on your chart…

Download the Inside Bar Indicator MT4

An inside bar – a candle whose entire range is contained within the candle before it – is one of the simplest compression patterns in price action trading, and often precedes a breakout. The Inside Bar Indicator scans any timeframe you choose for that exact pattern and plots the resulting range directly on your chart as breakout levels, without you having to hunt for it manually. It’s a free download from MT4Indicators.com.

What Is the Inside Bar Indicator?

This is a chart-window overlay that continuously scans a timeframe you specify (TF_find, default H1) for inside bars: a candle whose high is lower than the prior candle’s high and whose low is higher than the prior candle’s low, with a minimum range so a doji-sized bar doesn’t false-trigger the pattern. Once it finds a qualifying inside bar, it draws that candle’s own high and low as two horizontal lines – green for the high, red for the low – stretching across the lower-timeframe candles on your chart for as long as that TF_find candle is open.

If the pattern breaks (the next TF_find candle no longer qualifies as an inside bar), the lines don’t disappear immediately. The indicator keeps them visible for up to five additional TF_find candles, giving you a short grace period to watch for delayed follow-through, before clearing the lines entirely. The indicator enforces that your chart’s period must be less than or equal to TF_find – if you set TF_find to a lower timeframe than your chart, it displays a warning in the comment area instead of plotting.

Key Features

  • Scans any chosen timeframe (TF_find) for inside bar patterns independently of your chart’s own period
  • Plots the identified inside bar’s own high and low as two distinct colored lines (green high, red low) directly on the price chart
  • Five-bar grace period keeps the lines visible for a few candles after the pattern ends, to watch for late breakouts
  • Built-in safeguard that warns you in the chart comment if your chart period is set higher than TF_find
  • Short name in the indicator list shows which timeframe is currently being scanned

How to Use It

Installation

Copy the .mq4 file into MQL4/Indicators in your MT4 data folder, refresh the Navigator, and drag it onto a chart whose timeframe is equal to or lower than the TF_find setting you plan to use.

Reading and Trading Off It

Once an inside bar is found on your chosen TF_find timeframe, treat the green and red lines as the compressed range to watch: many price-action traders look for a decisive close above the green (high) line as a bullish breakout trigger, or below the red (low) line as a bearish breakout trigger, often waiting for the higher-timeframe candle itself to confirm the break rather than reacting to every lower-timeframe wick. A common multi-timeframe workflow is to set TF_find to a higher timeframe than your chart – for example H4 while trading on M15 – so you can see the higher-timeframe compression pattern while still timing entries on your lower-timeframe candles.

Why It Requires TF_find Above the Chart Period

The requirement that TF_find be equal to or higher than your chart’s timeframe exists because the indicator has to translate each TF_find candle’s open/close time into a block of lower-timeframe bars on your chart (using iBarShift and iTime under the hood) so it can paint the high/low lines across the correct span of candles. If you set TF_find lower than your chart period, there’s no way to subdivide a single chart bar into a “lower” timeframe’s worth of price action, so the indicator stops and posts a warning instead of plotting something misleading.

Best Timeframes / Best Use Cases

Because TF_find is fully adjustable, this indicator works across intraday and swing setups alike: scanning H1 or H4 for inside bars while entering on M5-M15, or scanning D1 for inside bars while managing entries on H1-H4. It’s best suited to breakout and price-action strategies built around consolidation-then-expansion setups, where knowing the exact high/low of a recent compression candle matters more than a lagging indicator value.

It also suits traders who like to pre-mark potential setups before a session starts – scanning a higher timeframe like H4 or D1 overnight, then simply watching whether price approaches the plotted high or low lines during the next session, rather than manually scrolling back through candles looking for a qualifying inside bar. Because the lines persist for a few extra bars after the pattern technically ends, it also tolerates a short delay between the setup forming and price actually reacting to it.

Final Thoughts

The Inside Bar Indicator automates a pattern that’s easy to describe but tedious to spot manually across every candle on a chosen timeframe. By drawing the pattern candle’s own high and low as clean breakout lines and giving you a short grace period after the setup fades, it keeps the compression range visible exactly when you need it – without adding any predictive claims about which way the breakout will go.

Download the Inside Bar Indicator MT4
  • TF_find (default PERIOD_H1) — The timeframe scanned for inside bar patterns. Must be equal to or higher than the chart's own period, or the indicator displays a warning instead of plotting.

FAQs About the MT4 Inside Bar Indicator MT4

One Quick Step

Enter your name and email and check your inbox for the download link.