Volumatic VIDYA Indicator Script
Volumatic VIDYA Indicator Script
Color-coding is employed in the strategy to distinguish between uptrends and downtrends; uptrend areas are marked with the color #17dfad while downtrends use #dd326b. These colors are applied to various indicators such as trend lines, liquidity zones, and labels to immediately convey the market sentiment. This visual representation is effective for traders as it reduces cognitive load, allowing for quicker recognition of trend patterns and decisions without relying purely on numerical data .
The 'delta volume percentage' is significant as it measures the relative difference between the volume of uptrends and downtrends, scaled by the average volume delta. It serves as an indicator of market strength and internal sentiment. In volatile markets, this percentage highlights whether bullish or bearish forces dominate, aiding in making more informed decisions. A positive delta volume suggests stronger buying pressure, while a negative delta indicates stronger selling pressure. These insights are crucial for traders to gauge trend sustainability and the potential for reversals .
Liquidity lines in the Volumatic VIDYA strategy are used to represent support and resistance zones by storing pivot highs and lows. Volume information is reinforced by these lines; when a price cross occurs at these critical levels, it suggests significant market activity. The strategy further differentiates between up and down trends by accumulating volume data during these periods and using this data to generate liquidity labels and a delta volume percentage. This approach allows traders to visualize market strength at these pivot points .
Trend cross detection is critical in the Volumatic VIDYA implementation as it identifies transitions between bullish and bearish phases. When the system detects a trend change, visual markers such as arrows signal these crossings, making traders aware of essential turning points. Such detection triggers adjustments in the trend-based smoothing variable, which alters the trajectory of liquidity lines and volume calculations. Consequently, it ensures the strategy adapts quickly and allows for recalibration, thus maintaining relevance and efficacy through volatile market conditions .
'Pivot highs' and 'pivot lows' are key components in identifying potential reversal points or continuation in the market. The strategy calculates these by evaluating multiple bars to determine local highs and lows, which serve as critical points for support and resistance. Graphically, these points are represented as lines on a chart, using different colors to denote market trends. For instance, pivot lines are created at these levels to show potential liquidity and price action zones, supporting traders in making informed decisions on buying or selling .
The Average True Range (ATR) is used in the trading strategy to determine the distance of upper and lower bands from the VIDYA value by multiplying the ATR with a specified band distance factor. The bands are used to detect trend changes; a crossover of the source with the upper band suggests an upward trend, whereas a crossunder with the lower band indicates a downward trend. This application of the ATR allows the system to adjust the sensitivity of trend detection based on market volatility, providing a more robust measure for identifying true market trends .
The strategy aggregates volume data by continuously accumulating volume during identified uptrends and downtrends. This is done by summing the trade volumes where the closing price exceeds the opening price for uptrends and vice versa for downtrends. This aggregated volume data is useful as it provides insights into the strength of current trends, helping to anticipate reversals or continuations. Moreover, the delta between these aggregated volumes underscores the prevailing market bias, providing traders with actionable insights on potential entry or exit points .
Support and resistance zones are dynamically adjusted by calculating pivot highs and lows and evaluating whether these price levels exceed or fall below the calculated VIDYA value adjusted with market momentum. This ensures that zones align with current volatility and trend conditions, keeping these zones relevant to real-time market activity. As market conditions change, the strategy recalculates these zones based on updated VIDYA values and market momentum, providing traders with a continuously adapting landscape of potential price action levels .
The strategy computes volatility through the ATR, which measures price range expansion over a 200-period length. This volatility measure is then incorporated in extending liquidity lines by dictating the magnitude of the distance factor applied to upper and lower bands derived from the VIDYA value. When there is a significant price cross at these levels, liquidity lines are extended based on this volatility information and the corresponding volume, allowing traders to track market movements and the liquidity built around these critical zones .
The Variable Index Dynamic Average (VIDYA) is used to adapt to the volatility of the market by adjusting the smoothing factor. Unlike simple moving averages which apply a fixed weight to all data points, VIDYA dynamically adjusts based on market momentum. It calculates the momentum as the change in price and computes separate sums for positive and negative momentum over the specified VIDYA momentum period. An absolute Chaikin Money Flow Oscillator (CMO) is then calculated to scale the smoothing factor, allowing the VIDYA to respond faster during volatile periods while remaining stable in quieter markets .