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.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.
Script de código abierto
Siguiendo fielmente el espíritu de TradingView, el creador de este script lo ha publicado en código abierto, permitiendo que otros traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Puede utilizarlo de forma gratuita, pero tenga en cuenta que la publicación de este código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones que ofrecemos, no implican ni constituyen un asesoramiento financiero, ni de inversión, trading o cualquier otro tipo de consejo o recomendación emitida o respaldada por TradingView. Puede obtener información adicional en las Condiciones de uso.