Northen Trading Labs
The ABH - Average Bar Height indicator is designed to help traders analyze market volatility and identify potential buy and sell signals by measuring the average size of each candlestick component over a specific period. The indicator calculates and displays four lines representing different candlestick metrics. By analyzing these values, traders can interpret market strength, volatility, and potential trend changes.
Beyond standard volatility measures, the ABH indicator provides insights into the consistency of candlestick patterns over time. By observing changes in average body height and wick sizes, traders can detect subtle shifts in momentum or pressure from buyers and sellers, which may not be immediately obvious in raw price data. For example, a steady increase in the average body height can signal growing momentum in the direction of the trend, while shrinking wick heights may suggest reduced market indecision.
The primary purpose of the ABH indicator is to provide a clearer view of the typical price movements within a defined period. The four lines in the indicator each represent a key part of the candlestick structure:
This combination of metrics empowers traders to identify subtle shifts in market sentiment, better informing their entry and exit strategies based on real-time candlestick analysis.
This section provides the installation steps for setting up the ABH indicator on the MQL5 platform, as well as an explanations of customizable settings to configure it for optimal performance.
Install the Indicator:
Indicators\NTL
folder in your MQL5 platform directory. If this folder does not exist, create it manually.Terminal -> MQL5 -> Indicators -> NTL
. Restart the platform to make the indicator appear in the Navigator panel.Apply to a Chart:
Customize Settings:
Save as Template:
Template -> Save Template
. Give it a descriptive name like ABH_Custom
for easy access.Period: This setting allows the trader to specify the number of bars the indicator should use in its calculations. A higher period smooths out individual bar differences and provides a broader average, while a lower period makes the indicator more sensitive to recent bar changes.
Bar Flags: This is a bit mask setting that allows the trader to control which of the four lines appear on the chart. Each bit in the mask corresponds to a line:
To display a line, set the corresponding bit in the mask. For example, a Bar Flags value of 3 (binary 0011) will display the ABH Line and the Average Body Height Line but hide the other lines.
Identifying Volatility: The ABH Line gives an overall sense of market volatility. If the ABH line is high, the market is experiencing strong price movements, which might suggest a trend or high volatility phase. Lower ABH values often indicate a consolidating or less volatile market.
Spotting Trend Changes: Watch for shifts in the Average Body Height Line. Increasing values can signify that buyers or sellers are driving stronger price movements, possibly indicating the start of a trend. Decreasing values might suggest weakening momentum.
Buy and Sell Signals: The upper and lower wick lines can signal market rejections. For instance, a rising Average Upper Wick Line suggests repeated price rejections at higher levels, potentially signaling resistance. Conversely, a rising Average Lower Wick Line might indicate support, where buyers are stepping in at lower prices.
Divergence with Price Movement: Compare the ABH Line with the price trend. If the ABH Line shows decreasing volatility while price trends upwards, it might signal an impending trend reversal as momentum slows. Conversely, an increasing ABH Line during a downtrend might indicate strengthening momentum.
Body Height vs. Wick Height: A large Average Body Height Line relative to the wick lines often indicates a strong trend with decisive price movements. When wick lines grow relative to the body height, it may indicate more indecisive price action, often seen near potential reversal zones.
Fine-Tuning Entries and Exits: By adjusting the Bar Flags, you can focus on specific lines that are relevant to your strategy. For example, showing only the ABH Line and Average Body Height Line could help you concentrate on market volatility and trend strength while ignoring minor price rejections.
The ABH indicator is a versatile tool that can enhance a trader’s understanding of market conditions. By examining the average height of bars and their components, traders can gain insights into market volatility, trend strength, and potential reversal points. Experiment with the settings to find configurations that best support your trading strategy.
The ABH indicator provides data across four buffers, each corresponding to a distinct component of bar height analysis. These buffers are accessible when integrating ABH with other indicators or Expert Advisors (EAs), allowing you to incorporate bar height metrics into custom trading strategies.
Access these buffers directly within your MQL5 code by referencing the buffer index, enabling you to enhance analyses with ABH’s comprehensive bar height metrics.
Interpreting line crosses in the ABH indicator can offer nuanced insights into market dynamics, providing signals for potential buy or sell opportunities and hints at trend reversals or shifts in market sentiment. Here’s a speculative analysis of each line cross combination and what it might signify:
In summary, line crosses in the ABH indicator provide a unique perspective on price volatility, trend momentum, and potential support and resistance levels. By analyzing these crosses in context, traders can speculate on market conditions, align with trends, or anticipate possible reversals, making the ABH indicator a versatile tool for both trend and countertrend trading strategies.
One subtle but valuable insight with the ABH indicator is to monitor the relative height of the upper and lower wick lines in relation to average body height, especially during consolidating phases. When the upper wick height consistently exceeds the lower wick height, it may suggest persistent selling pressure at higher levels, even within a sideways market. Conversely, if the lower wick height shows dominance, it could indicate accumulation or underlying buying interest. Traders can use this relationship to spot early signs of potential breakout directions in consolidating markets, providing an edge in timing entry or exit points as the market prepares for a shift.
The ABH indicator offers several advantages over the ATR indicator, especially for traders interested in understanding specific candlestick dynamics and price action nuances:
Granular Analysis of Candlestick Components:
Enhanced Reversal and Continuation Signals:
Support for Short-Term Market Sentiment Analysis:
Application to Intraday Trading:
Overall, while the ATR is valuable for broader volatility analysis, the ABH indicator offers a more nuanced and targeted view of candlestick behavior, making it advantageous for traders focused on candlestick-level insights and immediate sentiment analysis.
Rev:10.11.2024