Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

Metatrader 4 Indicator | Inside Bar | MQL5 Release

Explore the latest free tools from the MQL5 community. Here's a new indicator, expert advisor, or script for MetaTrader.

Image for Inside Bar

Key Features
FeatureBenefit
✅ Auto Pattern DetectionIdentifies every Inside Bar – no manual scanning required.
✅ Smart Direction FilterSmall candle’s close vs open determines bullish (⬆) or bearish (⬇) bias.
✅ Projection RectangleDrawn from the mother candle’s high/low and extended forward (customizable bars).
✅ Multi‑Channel AlertsPopup, sound,
✅ Color by DirectionGreen = bullish, Red = bearish, Blue = neutral – or set manual colors.
✅ Clean Chart Labels“Inside Bar BULLISH / BEARISH” text next to each rectangle.
✅ Keep Last N BarsShow only recent rectangles (e.g., last 50 bars) – keeps chart uncluttered.
✅ Works on Any SymbolForex, indices, stocks, crypto, commodities – any timeframe.
✅ Lightweight & FastOptimized loop processes only visible / recent bars.

Input Parameters (fully adjustable)
ParameterDescription
BarsToKeepNumber of past candles to keep rectangles visible (e.g., 50, 100).
ForwardBarsHow many bars to extend the rectangle to the right from the mother candle.
RectangleFillEnable/disable filled rectangle (true/false).
AutoColorByDirectionIf true – color changes automatically (green/red/blue).
BullishColor / BearishColor / NeutralColorCustom colors when auto mode is ON.
RectangleFillColorFill color when auto mode is OFF.
EnableAlertTurn notifications ON/OFF.
EnableLabelShow text labels on chart.
LabelOnlyOnNewBarShow label only for the most recent pattern (reduces clutter).
FilterDirectionIgnore neutral patterns – show only bullish or bearish signals.

Who Is This For?
Breakout traders who trade consolidations before strong moves.

Price action traders who rely on Inside Bar setups.

Swing & day traders who need immediate notifications.

Traders who use multiple timeframes – works perfectly on M1 to MN1.
No repainting – signals are fixed once the bar closes.

Capture price channel breakouts with the Price Channel Expert Advisor. Precise entries and exits. Explore now.

Level up your trading with professional RobotFX expert advisors and indicators. Visit www.robotfx.org for proven MT4/MT5 tools.

73463

Best MetaTrader Indicators + Profitable Expert Advisors