OPEN-SOURCE SCRIPT
Cập nhật VWAP daily, weekly, monthly, yearly

VWAP Multi-Timeframe (D/W/M/Y) - Pro Clean Version
This multi-timeframe VWAP indicator is designed for traders who need a clear overview of institutional levels without cluttering their charts. Unlike standard scripts, it uses a clean-break logic that eliminates the annoying diagonal lines between sessions.
Key Features:
Multi-Timeframe View: Daily, Weekly, Monthly, and Yearly VWAPs all in one place.
Ultra-Clean Design: Automatic line breaks at the end of each period for maximum readability.
Standard Deviation Corridors: Color-coded fills between bands (1σ, 2σ, 3σ) with optimized Z-order to keep price action visible.
Extended Price Lines: Higher timeframe VWAPs (W/M/Y) project a horizontal line and a real-time price label for easy targeting or pivot reference.
Perfect Scale Sync: Fully synchronized with your candlestick chart, even during aggressive zooming or scrolling.
Trading Tip: Watch for "confluences" (clusters) where the Daily VWAP meets the Weekly VWAP to identify high-probability reversal or bounce zones.
This multi-timeframe VWAP indicator is designed for traders who need a clear overview of institutional levels without cluttering their charts. Unlike standard scripts, it uses a clean-break logic that eliminates the annoying diagonal lines between sessions.
Key Features:
Multi-Timeframe View: Daily, Weekly, Monthly, and Yearly VWAPs all in one place.
Ultra-Clean Design: Automatic line breaks at the end of each period for maximum readability.
Standard Deviation Corridors: Color-coded fills between bands (1σ, 2σ, 3σ) with optimized Z-order to keep price action visible.
Extended Price Lines: Higher timeframe VWAPs (W/M/Y) project a horizontal line and a real-time price label for easy targeting or pivot reference.
Perfect Scale Sync: Fully synchronized with your candlestick chart, even during aggressive zooming or scrolling.
Trading Tip: Watch for "confluences" (clusters) where the Daily VWAP meets the Weekly VWAP to identify high-probability reversal or bounce zones.
Phát hành các Ghi chú
🔴 Correctionsversion=6 — migration complète
Fonction VWAP simplifiée et nettoyée, variables internes renommées pour éviter les conflits de namespace
🟠 Logique enrichie
Bandes σ sur TF configurable — au lieu d'être forcées sur le Daily, les bandes peuvent maintenant être liées au VWAP Journalier, Hebdo, Mensuel ou Annuel via un input dédié
Détection de confluence multi-TF — surlignage de fond violet quand ≥ 2 VWAPs sont à moins de X% l'un de l'autre (seuil configurable). C'est le point le plus actionnable : ces clusters sont des zones de S/R institutionnel majeures
Niveau σ en temps réel — calcul continu de la distance du prix en nombre d'écarts-types par rapport au VWAP de référence
Score de biais (0–4) — compte combien de VWAPs le prix est au-dessus
🟡 Visuel enrichi
Couleurs distinctes par TF (jaune J, cyan H, orange M, rose A) — fini tout en gris
Labels avec distance % — chaque label affiche le prix + l'écart en % entre le prix actuel et ce VWAP, avec signe + ou −
🟢 Dashboard (bas gauche, 3 colonnes)
Position (DESSUS/DESSOUS), distance %, biais global avec label textuel, niveau σ + indicateur confluence
📢 12 alertes distinctes
Croisement haussier/baissier × 4 VWAPs, biais bull/bear max, entrée zone extrême >2.5σ, et apparition d'une nouvelle confluence
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.