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 อ่านเพิ่มเติมที่ ข้อกำหนดการใช้งาน