OPEN-SOURCE SCRIPT
MA Cloud with VWAP thresholds

MA Cloud with VWAP Thresholds (MAC & VHOLDS)
This indicator combines a multi-EMA trend cloud with VWAP Fibonacci deviation bands to give traders a dual perspective on trend strength and reversal opportunities.
🔹 EMA Cloud & ADX Trend Filter
Plots EMA 9, 21, and 50 as a cloud to highlight bullish (green), bearish (red), or neutral (yellow) market conditions.
EMA 200 is color-coded using ADX + DI to confirm trend strength:
🟢 Green = strong bullish trend
🔴 Red = strong bearish trend
🟡 Yellow = weak/neutral trend
Optional gray background appears when ADX is below threshold, signaling weak momentum.
Automatic alerts fire when EMA alignment shifts bullish, bearish, or neutral.
🔹 VWAP with Fibonacci Deviations
Weekly VWAP is calculated with rolling volume integration.
Fibonacci deviation bands (±1.618 and ±2.618) are plotted as support and resistance zones.
Zones are shaded for clear visualization of upper and lower extremes.
🔹 Bullish & Bearish Signals
✅ Bullish signal: Price dips near the lower VWAP deviation band (Fib −1 to −2) with strong deviation.
❌ Bearish signal: Price tests the upper VWAP deviation band (Fib +1 to +2) with strong deviation.
Both signals are marked with chart shapes (green triangle up / red triangle down) and can trigger alerts.
Use case:
This tool is designed for traders who want both a trend-following framework (EMA cloud with ADX filter) and mean-reversion entries (VWAP deviation signals) in one indicator. It works across multiple markets (Forex, Crypto, Futures) and is most effective when combined with price action or volume confirmation.
This indicator combines a multi-EMA trend cloud with VWAP Fibonacci deviation bands to give traders a dual perspective on trend strength and reversal opportunities.
🔹 EMA Cloud & ADX Trend Filter
Plots EMA 9, 21, and 50 as a cloud to highlight bullish (green), bearish (red), or neutral (yellow) market conditions.
EMA 200 is color-coded using ADX + DI to confirm trend strength:
🟢 Green = strong bullish trend
🔴 Red = strong bearish trend
🟡 Yellow = weak/neutral trend
Optional gray background appears when ADX is below threshold, signaling weak momentum.
Automatic alerts fire when EMA alignment shifts bullish, bearish, or neutral.
🔹 VWAP with Fibonacci Deviations
Weekly VWAP is calculated with rolling volume integration.
Fibonacci deviation bands (±1.618 and ±2.618) are plotted as support and resistance zones.
Zones are shaded for clear visualization of upper and lower extremes.
🔹 Bullish & Bearish Signals
✅ Bullish signal: Price dips near the lower VWAP deviation band (Fib −1 to −2) with strong deviation.
❌ Bearish signal: Price tests the upper VWAP deviation band (Fib +1 to +2) with strong deviation.
Both signals are marked with chart shapes (green triangle up / red triangle down) and can trigger alerts.
Use case:
This tool is designed for traders who want both a trend-following framework (EMA cloud with ADX filter) and mean-reversion entries (VWAP deviation signals) in one indicator. It works across multiple markets (Forex, Crypto, Futures) and is most effective when combined with price action or volume confirmation.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.