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.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, người tạo ra tập lệnh này đã biến tập lệnh thành mã nguồn mở để các nhà giao dịch có thể xem xét và xác minh công năng. Xin dành lời khen tặng cho tác giả! Mặc dù bạn có thể sử dụng miễn phí, nhưng lưu ý nếu đăng lại mã, bạn phải tuân theo Quy tắc nội bộ của chúng tôi.
Thông báo miễn trừ trách nhiệm
Thông tin và ấn phẩm không có nghĩa là và không cấu thành, tài chính, đầu tư, kinh doanh, hoặc các loại lời khuyên hoặc khuyến nghị khác được cung cấp hoặc xác nhận bởi TradingView. Đọc thêm trong Điều khoản sử dụng.