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

Latest: Metatrader 5 Indicator | Inside Bar Detector with Alerts | MQL5 Code

RobotFX curates the best open-source MetaTrader code to inspire your trading automation.

Description:

This indicator detects Inside Bar candlestick patterns on the chart and highlights them by coloring the candle. An Inside Bar occurs when the current candle’s high and low are fully contained within the range of the previous candle, indicating a period of market consolidation that may precede a breakout.

When a new Inside Bar is detected on the most recently closed candle, the indicator can optionally trigger popup alerts and push notifications to inform the trader in real time.


External Inputs:
  • InsideBarColor : Color used to highlight Inside Bar candles.
  • FireAlerts : Enables or disables alerts when an Inside Bar is detected.
  • EnablePushNotification : Sends a push notification to the MetaTrader mobile application.
  • EnablePopupAlert : Displays a popup alert in the MetaTrader terminal.

Illustration:


Classic MACD strategy made fully automatic – the MACD Expert Advisor for MT4 handles it all. Check it out.

Image for Inside Bar Detector with Alerts

Thanks for reading. Discover premium MetaTrader solutions at RobotFX.

70649

Best MetaTrader Indicators + Profitable Expert Advisors