Basing Candlesticks Indicator for MT4 & MT5 – Automatically Detect Market Consolidation

12/03/2022

The Basing Candlesticks Indicator is an automated MetaTrader indicator designed for both MetaTrader 4 (MT4) and MetaTrader 5 (MT5). Its main purpose is to detect and highlight basing candles directly on the price chart, helping traders quickly identify periods of market indecision and consolidation.

A basing candle is defined as a candlestick whose body length is less than a specified percentage of its total high–low range. By default, this threshold is set to 50%, meaning the candle’s real body must be smaller than half of its full range. This percentage can be easily adjusted through the indicator’s input parameters to suit different trading styles and market conditions.

In MT4, basing candles are highlighted using histogram-style visual elements, while in MT5, they are displayed as custom candlesticks directly on the main chart. This clear visual presentation allows traders to instantly recognize basing structures without manually measuring candle sizes.

The indicator also supports alert functionality, notifying traders whenever a new basing candle appears. This makes it especially useful for traders who monitor supply and demand zones, price compression, or potential breakout setups.

Why Basing Candles Matter
Basing candles often represent periods of equilibrium between buyers and sellers, where neither side has full control of the market. These consolidation phases are commonly observed before strong directional moves and are a key concept in:

  • Supply and demand analysis
  • Breakout trading strategies
  • Market structure and price action analysis

By automatically identifying basing candles, this indicator saves time and improves consistency in technical analysis.

Input Parameters

  • Percentage (default = 50)
    Defines the maximum allowed ratio between the candle body and its high–low range for a candle to be classified as a basing candle.
  • TriggerCandle (default = 1)
    Determines which candle is checked for alerts.
    • 1 = the most recently completed candle
    • 0 = the current forming candle
  • EnableNativeAlerts (default = false)
    Enables MetaTrader pop-up alerts when a new basing candle is detected.
  • EnableSoundAlerts (default = false)
    Enables sound alerts on new basing candle detection.
  • EnableEmailAlerts (default = false)
    Sends email alerts when a new basing candle appears (email must be configured in MetaTrader).
  • EnablePushAlerts (default = false)
    Sends push notifications to your device when a new basing candle is detected (notifications must be enabled in MetaTrader).
  • AlertEmailSubject (default = "")
    Additional custom text for the email alert subject.
  • AlertText (default = "")
    Additional custom text for alert messages.
  • SoundFileName (default = "alert.wav")
    Sound file played when sound alerts are enabled.

Conclusion
The Basing Candlesticks Indicator is a practical and efficient tool for traders who rely on price action, consolidation patterns, and supply–demand analysis. By automatically detecting basing candles and offering flexible alert options, it enhances market awareness and helps traders prepare for potential breakout or continuation moves.

Basing Candlesticks | MT4
Basing Candlesticks | MT5

Password:forexsignalpro.net