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.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.
نص برمجي مفتوح المصدر
بروح TradingView الحقيقية، قام مبتكر هذا النص البرمجي بجعله مفتوح المصدر، بحيث يمكن للمتداولين مراجعة وظائفه والتحقق منها. شكرا للمؤلف! بينما يمكنك استخدامه مجانًا، تذكر أن إعادة نشر الكود يخضع لقواعد الموقع الخاصة بنا.
إخلاء المسؤولية
لا يُقصد بالمعلومات والمنشورات أن تكون، أو تشكل، أي نصيحة مالية أو استثمارية أو تجارية أو أنواع أخرى من النصائح أو التوصيات المقدمة أو المعتمدة من TradingView. اقرأ المزيد في شروط الاستخدام.