OPEN-SOURCE SCRIPT

Enhanced High Volume Absorption

Updated
Description of the "Enhanced High Volume Absorption" Indicator

The "Enhanced High Volume Absorption" indicator is a specialized trading tool designed for the TradingView platform, optimized for the 15-minute chart timeframe. It offers traders a unique approach to analyzing market momentum and strength by focusing on significant volume movements, which are often precursors to major price shifts.


What the Indicator Does:

High Volume Detection: This indicator identifies periods of high volume trading, which is a key indicator of strong market interest. High volume periods often precede significant price movements, making this an essential tool for anticipating market trends.


Volume Absorption Analysis: It analyzes the absorption of volume in the market. Absorption here refers to situations where the market is able to absorb trading volumes significantly higher than the average without a corresponding substantial change in price. This can be an indication of strong underlying market strength or weakness.


Price Movement Correlation: The script correlates volume spikes with price movements (upward or downward) to provide context to the volume absorption. This correlation helps determine whether the absorption is due to buying pressure (bullish indication) or selling pressure (bearish indication).


How It Does It:

Moving Average Comparisons: The script calculates short-term and long-term Simple Moving Averages (SMAs) of trading volumes. By comparing current volumes to these averages, it determines if the current volume is significantly higher than usual.

Volume Thresholds: It uses user-defined multipliers and minimum volume thresholds to filter significant volume events, ensuring that only notable volume spikes are considered.

Impact Analysis: Alongside volume analysis, the script computes the price change and its impact as a percentage of the current price, providing insights into the magnitude of price movements during these high-volume periods.


How to Use It:

Market Entry and Exit Points: The indicator can be used to spot potential entry and exit points. For example, a high volume absorption event with a minimal price change might indicate a strong support or resistance level.

Confirming Market Sentiment: It can be used in conjunction with other technical indicators to confirm market trends or reversals. High volume absorption aligned with other bullish or bearish indicators can provide a stronger case for a market move.

Scalping and Short-Term Trading: Optimized for the 15-minute timeframe, this indicator is particularly useful for scalpers and short-term traders. It helps in identifying quick market movements and can be a crucial part of a scalping strategy.


Originality and Underlying Concepts:

The originality of this indicator lies in its specific focus on volume absorption and its impact on price, especially tailored for short-term trading scenarios. Unlike many indicators that only analyze price movements or standard volume analysis, this script delves deeper into how the market is reacting to volume spikes, offering a nuanced view of market dynamics

that is often overlooked. The concept of volume absorption, coupled with the analysis of price movement direction, provides a unique perspective on market strength or weakness.

This tool is distinct in its approach as it doesn't just follow trends or provide generic scalping signals. Instead, it offers a methodical analysis of volume dynamics in relation to price action. By focusing on how the market absorbs volume, the indicator gives traders insights into whether current market movements are backed by substantial trading activity or if they are more likely to be short-lived.

Understanding volume absorption is crucial, especially in a 15-minute trading environment where market movements are swift and require quick decision-making. This indicator aids in identifying those moments when the market shows a significant reaction (or lack thereof) to large volumes, indicating potential setup for a strong move or reversal.

In summary, the "Enhanced High Volume Absorption" indicator is a valuable tool for traders who want to incorporate volume analysis into their trading strategy, especially in a fast-paced, short-term trading environment. It provides a deeper understanding of market dynamics, enabling traders to make more informed decisions based on the interplay between volume and price action.
Release Notes
Enhancements


Label Implementation:

Removed plotshape functions that plotted triangles above or below the bars.
Introduced label.new functions to display detailed information directly on the chart.
Labels now show "Volume Up" or "Volume Down" along with the formatted absorbed volume and impact percentage.

Dynamic Label Positioning:

Implemented a dynamic method to position labels above the candles using the Average True Range (ATR) for better visibility and to avoid overlapping with the candle bars.
Labels are now dynamically positioned above the highest price of the candle, taking into account market volatility.

Refined Variable Scope and Initialization:

Adjusted the scope of several variables (lastVolume, lastVolumeFormatted, lastPriceDiff, lastCondition, lastImpact, lastImpactFormatted, volumeUpAbsorption, volumeDownAbsorption) to be global, ensuring they are accessible throughout the script.
This change resolved previous issues with undeclared identifiers and improved the script's overall robustness.

Improved Readability and Code Organization:

Restructured the script for better readability and maintainability.
Comments and code sections were refined for clarity, aiding in understanding and future modifications.

Fixed Issues:

Resolved an error related to the usage of the atr function by properly integrating the ATR calculation for dynamic label positioning.
Addressed script errors regarding undeclared identifiers by adjusting variable scopes.

Usage Notes:

Users can customize the atrLength or fixedOffset values to adjust label spacing according to their preference.
This update aims to enhance the visual representation of volume absorption on the chart, making it more intuitive and informative.
Release Notes
Update

Improved Entry Price Calculation: The indicator now calculates the best average entry price within each absorption label. This provides traders with valuable information on the average price at which they could enter a trade.

Parameters:

length: Length for Volume and Analysis.
longTermVolumeLength: Long Term Volume Length.
volumeMultiplier: Volume Multiplier.
minVolumeThreshold: Minimum Volume Threshold.
volumeAnalysisBars: Volume Analysis Bars.
confirmatoryDelayBars: Confirmatory Delay Bars.
stopLossMultiplier: Stop Loss Multiplier.
takeProfitMultiplier: Take Profit Multiplier.

Usage:

The indicator identifies high volume absorption with additional confirmation criteria.
It calculates the percentage impact of price movements.
Displays the last absorption type (Volume Up or Volume Down).
Shows absorbed volume rounded up to the nearest million.
Calculates and displays the best average entry price within the label.
Provides stop loss and take profit levels based on user-defined multipliers.

How to Use:

Look for absorption labels above the candles.
Observe the last absorption type (Volume Up or Volume Down).
Check the absorbed volume (rounded to million) and best average entry price.
Consider the provided stop loss and take profit levels for trading decisions.


NOTE

This indicator is for informational purposes and should be used in conjunction with other trading analysis and strategies. Always use proper risk management when trading.
Candlestick analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer