OPEN-SOURCE SCRIPT
Volumatic VIDYA Optimized

Volumatic VIDYA Optimized is a Pine Script® v6 indicator that combines a Variable Index Dynamic Average (VIDYA) with ATR-based dynamic bands, pivot-based liquidity zones, and volume delta analysis to identify trend direction and high-probability support/resistance levels.
It is forked from the excellent work by BigBeluga: "Variable Index Dynamic Average" or "Volumatic VIDYA" indicator.
Key Features:
Alerts:
Trend Up / Trend Down / Trend Changed
Ideal for trend-following, liquidity hunting, and volume-confirmed reversals. Clean, efficient, and highly visual.
It is forked from the excellent work by BigBeluga: "Variable Index Dynamic Average" or "Volumatic VIDYA" indicator.
Key Features:
- Adaptive VIDYA Trend Line: Smooths price action based on momentum (CMO), switching between upper/lower ATR bands during uptrends/downtrends.
- Liquidity Zones: Detects swing pivots and draws extendable dotted lines at key levels; short lines terminate with volume-labeled markers when price crosses.
- Volume Delta Tracking: Accumulates buy/sell volume per trend, displaying Buy/Sell volumes and % Delta on the last bar.
- Visual Enhancements: Trend-colored fill with optional shadow, clean labels, and circle markers at liquidity grabs.
- Performance Optimized: Largely enhanced. It also limits lines/labels to prevent lag; uses safe array management.
Alerts:
Trend Up / Trend Down / Trend Changed
Ideal for trend-following, liquidity hunting, and volume-confirmed reversals. Clean, efficient, and highly visual.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.