Request A Free Quote
MetaTrader 4

MT4 Inside & Outside Bar Indicator (Scanner)

MT4 Inside & Outside Bar Indicator automatically detects Inside Bar and Outside Bar (Engulfing) price patterns across all specified assets and timeframes. Detected patterns are displayed on the chart and in a structured scanner dashboard with configurable alerts and one-click chart navigation.

inside outside bar candlestick pattern indicator mt4 inside outside bar indicator inside outside bar indicator inside outside bar alerts indicator inside outside bar indicator parameters
5-Day Free Trial Cancel Anytime Continuous Product Updates Mon-Fri Free Support
Lifetime License
€120one-time
This indicator only · 1 PC · No recurring payments · Free updates included
Start Free Trial — 5 Days Free
Try all indicators & trade copiers free. If you don’t cancel within 5 days, a €25/mo subscription starts automatically.

Already a subscriber or have purchased a product?

Overview

What the Inside & Outside Bar Indicator (Scanner) Does

The Inside & Outside Bar Indicator automatically identifies two specific price bar patterns — Inside Bar and Outside Bar — and displays them across all monitored assets and timeframes through a structured dashboard.

Narrower range

Inside Bar

A bar whose high-low range falls completely within the high-low range of the preceding bar. This means the current bar represents a narrower price range than the one before it — a structural condition typically associated with consolidation or reduced directional pressure following a prior move.

Wider range

Outside Bar (Engulfing Bar)

A bar whose high-low range completely contains the high-low range of the preceding bar. The current bar extends beyond both the high and low of the prior bar — a structural condition typically associated with a directional expansion following a period of consolidation.

Both patterns are generally considered more structurally meaningful on timeframes from M30 and above. On lower timeframes, short-term price noise increases the frequency of pattern formation without the structural context that gives these patterns analytical weight.

How to Use

How to Interpret and Use the Inside & Outside Bar Indicator

The indicator registers a condition when it detects a qualifying Inside or Outside Bar. The directional context of the registered condition is determined by the character of the pattern bar itself — not by a subsequent price move.

Bullish condition — IBU / OBU

When the pattern bar is bullish (close above open), a bullish condition is registered — labeled IBU (Inside Bar Up) or OBU (Outside Bar Up) depending on pattern type.

Bearish condition — IBD / OBD

When the pattern bar is bearish (close below open), a bearish condition is registered — labeled IBD (Inside Bar Down) or OBD (Outside Bar Down).

Chart Markers

Each registered condition is displayed on the chart with three visual elements: a directional marker arrow, a vertical label showing the pattern abbreviation, and a dotted rectangle highlighting the bars that form the pattern.

Arrow thickness indicates pattern type — thin arrows correspond to Outside Bar conditions, thick arrows correspond to Inside Bar conditions. This allows both pattern types to be distinguished at a glance when both are enabled simultaneously.

Timeframe context: Inside and Outside Bar patterns reflect structural relationships between adjacent bars. On timeframes below M30, the frequency of these formations increases significantly due to short-term price noise — reducing the analytical context of each individual pattern. The indicator remains functional on all timeframes, but the structural significance of detected patterns is generally considered higher on M30 and above.

Multi-Asset Monitoring with the Dashboard

The dashboard displays the current detection status across all monitored assets and timeframes in a single structured view.

Each cell shows the pattern type detected (Inside or Outside Bar), the directional context of the registered condition (bullish or bearish), and the number of bars back at which the pattern was detected. Green cells indicate a bullish condition, red cells a bearish one. Color saturation decreases as the condition becomes less recent. Clicking any cell updates the chart to the corresponding asset and timeframe directly.

Indicator Limitations — Inside Bar and Outside Bar patterns are identified based on the structural relationship between adjacent price bars. The indicator detects formations that meet the defined geometric criteria — it does not predict the direction or magnitude of subsequent price movement. Pattern frequency increases on lower timeframes due to noise, reducing the structural context of individual detections. All registered conditions should be evaluated within a broader analytical framework that considers overall market structure and context.

Settings

Indicator Settings & Parameters

The indicator has the following parameters.

ParameterDescription
Scanner & Alerts
AssetsInstruments to include in the scanner.
Enable_M1–MNInclude or exclude individual timeframes from the scanner scope.
Max_barsLimits how far back the scanner evaluates conditions. Reducing this value improves calculation speed.
Enable alert / Enable email / Enable mobileAlert delivery: platform notifications, email, or mobile — each configurable independently.
Patterns
Enable_inside_barEnables or disables Inside Bar detection.
Enable_outside_barEnables or disables Outside Bar detection.
Enable_inside_bar_alertEnables or disables alerts specifically for Inside Bar conditions.
Enable_outside_bar_alertEnables or disables alerts specifically for Outside Bar conditions.
Requirements & Installation

System Requirements & Installation

What you need to run the indicator, how to download and install it in MetaTrader 4, and how the license works.

System Requirements

Platform
MetaTrader 4 (Desktop)
Operating system
Windows 10 or Windows 11
Instruments
Forex pairs, metals, indices, CFDs and other symbols available from your broker in MetaTrader 4
Data
Your broker’s price feed in MetaTrader 4

Not available on MetaTrader 4 Web or Mobile. Custom indicators run in the MetaTrader 4 desktop terminal only.

License Terms

Lifetime License
This indicator only, 1 live and 1 demo account, one-time payment, free updates included.
All-Access Subscription
All indicators and trade copiers, billed monthly, cancel anytime, updates included while the subscription is active.
Free trial
5 days on the subscription plan. If not cancelled, the subscription starts automatically.
License binding
Linked to your email and to your MetaTrader 4 trading accounts: one live account and one demo account.
Computers
Not restricted. The license is linked to your trading accounts, not to a specific computer.

Installation

  1. Get access

    Start the free trial, subscribe, or buy a lifetime license on this page.

  2. Download

    The indicator is not sent by email. Open (top right of this page) and enter the email you used for your trial, subscription or purchase. The indicator file (.ex4) downloads to your computer.

  3. Copy to the MetaTrader 4 data folder

    In MetaTrader 4, go to File → Open Data Folder, open MQL4 → Indicators and copy the downloaded .ex4 file there.

  4. Add to a chart

    Restart MetaTrader 4 or right-click Indicators in the Navigator window and select Refresh. Then drag the indicator from the Navigator onto a chart.

  5. Activate the license

    In the indicator inputs, enter the same email. On first activation, the license is linked to that email and to the trading account the terminal is logged into.

    If MetaTrader 4 asks for additional permissions when the indicator is attached, such as DLL imports or WebRequest access, allow them in the indicator’s Common tab or under Tools → Options → Expert Advisors.

Updating: When a new version is released, download it again through and replace the existing .ex4 file in the same folder.

Installation questions? Contact support, Monday to Friday.

Developed by Nordman Algorithms

Developed, tested, documented, and maintained by our algorithmic trading software development team.

Meet the Team →
We Value Your Feedback Help us make it better

If you’ve spotted a bug, feel something essential is missing, or have ideas that could make this indicator better — we want to hear it.
Your feedback directly shapes future updates.

Send Feedback →
Custom Programming

Need a different setup?

We can customize this indicator to your requirements: add new features, change the calculation logic, or combine several tools into a single solution. We also build Expert Advisors on your own logic, with configurable modules such as dynamic risk parameters, multi-stage trailing stops and additional confirmation filters.

Every project is delivered with full source code and post-delivery support. Fixed-price quote before development begins.

Custom Logic Expert Advisor Development Risk & Trailing-Stop Modules Full Source Code