OPEN-SOURCE SCRIPT
MRG VWAP Complete

MRG VWAP Complete - Indicator Description
📊 Overview
MRG VWAP Complete is a professional all-in-one VWAP indicator that combines two powerful volume-weighted average price tools into a single, highly customizable solution. This indicator provides traders with both anchored VWAP with deviation bands and a weekly VWAP that resets every Sunday, offering comprehensive price analysis across multiple timeframes.
🎯 Key Features
Dual VWAP System
Standard VWAP: Highly configurable with multiple anchor periods and deviation bands
Weekly VWAP: Automatically resets every Sunday for swing trading strategies
Option to display both simultaneously or independently
Standard VWAP Capabilities
Multiple Anchor Periods:
Session (Daily)
Week / Month / Quarter / Year
Decade / Century
Corporate Events: Earnings / Dividends / Splits
Customizable Parameters:
Source selection (HLC3, Close, Open, etc.)
Hide on 1D timeframes and above
Offset adjustment
Custom color and line thickness (1-5)
Advanced Deviation Bands System
Three Independent Band Levels:
Each band can be enabled/disabled individually
Customizable multipliers for each level
Independent color selection for each band
Optional fill toggle for each band
Two Calculation Modes:
Standard Deviation: Traditional statistical approach
Percentage: Distance calculated as percentage of VWAP value
Visual Customization:
✅ Enable/disable band fills independently
🎨 Choose any color for each band
📏 Transparent fills (95% opacity) for clear price action visibility
🎯 Clean chart display with only desired elements
Weekly VWAP Features
Resets automatically every Sunday
Customizable source input
Independent color and line width settings
Perfect for identifying weekly trends and key levels
⚙️ Complete Parameter List
Display Options
Show/Hide Standard VWAP
Show/Hide Weekly VWAP
Standard VWAP Settings
Anchor Period selection
Source selection
Hide on 1D or above option
Offset value
VWAP color
VWAP line width (1-5)
Bands Settings
Calculation mode (Standard Deviation / Percentage)
Band #1: Enable, Multiplier, Color, Fill toggle
Band #2: Enable, Multiplier, Color, Fill toggle
Band #3: Enable, Multiplier, Color, Fill toggle
Weekly VWAP Settings
Weekly VWAP color
Weekly VWAP line width (1-5)
Source selection
📈 Strategic Applications
Mean Reversion Trading
Use deviation bands to identify overbought/oversold conditions
Enter trades when price reaches outer bands
Target VWAP for exits
Trend Confirmation
Price above VWAP = Bullish bias
Price below VWAP = Bearish bias
Weekly VWAP confirms longer-term trend direction
Support & Resistance
VWAP acts as dynamic support/resistance
Deviation bands provide multiple levels for entries/exits
Weekly VWAP identifies major swing levels
Multi-Timeframe Analysis
Combine Standard VWAP (intraday) with Weekly VWAP (swing)
Identify confluence zones where both VWAPs align
Spot divergences between short-term and weekly trends
Breakout Trading
Monitor price action around VWAP levels
Trade breakouts through deviation bands
Weekly VWAP breaks signal strong momentum
💡 Advantages
✨ All-in-One Solution: No need for multiple VWAP indicators
⏱️ Time-Saving: Pre-configured with professional settings
🎯 Precision: Multiple anchor periods for different trading styles
🎨 Fully Customizable: Every visual element can be adjusted
📊 Clean Charts: Toggle fills on/off for optimal visualization
🔄 Automatic Updates: Both VWAPs update in real-time
📱 Universal: Works on all timeframes and instruments
🎓 Ideal For
Trading Styles
Day Trading (M1, M5, M15)
Swing Trading (H1, H4, D1)
Scalping strategies
Position trading
Markets
Forex (XAUUSD, EUR/USD, GBP/USD, etc.)
Indices (US30, NAS100, SPX500)
Cryptocurrencies
Commodities
Stocks
Strategies
VWAP mean reversion
Trend following
Breakout trading
Volume-weighted support/resistance
Institutional order flow analysis
🔧 Recommended Settings
For Day Trading (M5-M15)
Standard VWAP: Anchor = Session
Band #1: Multiplier 1.0, Fill ON
Band #2: Multiplier 2.0, Fill OFF
Weekly VWAP: Enabled for major levels
For Swing Trading (H1-H4)
Standard VWAP: Anchor = Week
Band #1: Multiplier 1.5, Fill ON
Band #2: Multiplier 2.5, Fill ON
Weekly VWAP: Primary level for trend confirmation
For Scalping (M1-M5)
Standard VWAP: Anchor = Session
Band #1: Multiplier 0.5, Fill ON
Band #2: Multiplier 1.0, Fill OFF
Weekly VWAP: Disabled for cleaner chart
📊 Understanding the Bands
Band Multiplier = 1.0
Contains ~68% of price action (1 standard deviation)
Primary mean reversion zone
Band Multiplier = 2.0
Contains ~95% of price action (2 standard deviations)
Strong overbought/oversold signal
Band Multiplier = 3.0
Contains ~99.7% of price action (3 standard deviations)
Extreme reversal zones
🎯 Trading Tips
Confluence Trading: Enter when price touches a deviation band AND Weekly VWAP
Trend Confirmation: Only take long trades above both VWAPs, shorts below both
Band Rejection: Watch for candle rejections at outer bands for reversal signals
Volume Confirmation: Strong moves should break bands with high volume
Time of Day: VWAP is most reliable during high-volume sessions
📌 Important Notes
VWAP resets based on anchor period selection
Weekly VWAP uses Sunday as the start of the week
Deviation bands require sufficient volume data
Best used in combination with other technical analysis tools
Not a standalone trading system - use proper risk management
🚀 Why Choose MRG VWAP Complete?
✅ Professional Grade: Used by institutional traders
✅ Maximum Flexibility: Adapt to any trading style
✅ Visual Clarity: Customizable colors and fills
✅ Dual Perspective: Intraday + weekly analysis combined
✅ Easy to Use: Intuitive parameter organization
✅ Performance Optimized: Efficient code for smooth charting
Master volume-weighted price analysis with the most complete VWAP indicator available! 📊🚀
💼 Perfect For Professional Traders
Whether you're a retail trader or institutional analyst, MRG VWAP Complete provides the tools you need to:
Identify fair value zones
Spot institutional order flow
Time entries with precision
Manage risk effectively
Trade with the smart money
Elevate your VWAP trading to the next level! 💎
📊 Overview
MRG VWAP Complete is a professional all-in-one VWAP indicator that combines two powerful volume-weighted average price tools into a single, highly customizable solution. This indicator provides traders with both anchored VWAP with deviation bands and a weekly VWAP that resets every Sunday, offering comprehensive price analysis across multiple timeframes.
🎯 Key Features
Dual VWAP System
Standard VWAP: Highly configurable with multiple anchor periods and deviation bands
Weekly VWAP: Automatically resets every Sunday for swing trading strategies
Option to display both simultaneously or independently
Standard VWAP Capabilities
Multiple Anchor Periods:
Session (Daily)
Week / Month / Quarter / Year
Decade / Century
Corporate Events: Earnings / Dividends / Splits
Customizable Parameters:
Source selection (HLC3, Close, Open, etc.)
Hide on 1D timeframes and above
Offset adjustment
Custom color and line thickness (1-5)
Advanced Deviation Bands System
Three Independent Band Levels:
Each band can be enabled/disabled individually
Customizable multipliers for each level
Independent color selection for each band
Optional fill toggle for each band
Two Calculation Modes:
Standard Deviation: Traditional statistical approach
Percentage: Distance calculated as percentage of VWAP value
Visual Customization:
✅ Enable/disable band fills independently
🎨 Choose any color for each band
📏 Transparent fills (95% opacity) for clear price action visibility
🎯 Clean chart display with only desired elements
Weekly VWAP Features
Resets automatically every Sunday
Customizable source input
Independent color and line width settings
Perfect for identifying weekly trends and key levels
⚙️ Complete Parameter List
Display Options
Show/Hide Standard VWAP
Show/Hide Weekly VWAP
Standard VWAP Settings
Anchor Period selection
Source selection
Hide on 1D or above option
Offset value
VWAP color
VWAP line width (1-5)
Bands Settings
Calculation mode (Standard Deviation / Percentage)
Band #1: Enable, Multiplier, Color, Fill toggle
Band #2: Enable, Multiplier, Color, Fill toggle
Band #3: Enable, Multiplier, Color, Fill toggle
Weekly VWAP Settings
Weekly VWAP color
Weekly VWAP line width (1-5)
Source selection
📈 Strategic Applications
Mean Reversion Trading
Use deviation bands to identify overbought/oversold conditions
Enter trades when price reaches outer bands
Target VWAP for exits
Trend Confirmation
Price above VWAP = Bullish bias
Price below VWAP = Bearish bias
Weekly VWAP confirms longer-term trend direction
Support & Resistance
VWAP acts as dynamic support/resistance
Deviation bands provide multiple levels for entries/exits
Weekly VWAP identifies major swing levels
Multi-Timeframe Analysis
Combine Standard VWAP (intraday) with Weekly VWAP (swing)
Identify confluence zones where both VWAPs align
Spot divergences between short-term and weekly trends
Breakout Trading
Monitor price action around VWAP levels
Trade breakouts through deviation bands
Weekly VWAP breaks signal strong momentum
💡 Advantages
✨ All-in-One Solution: No need for multiple VWAP indicators
⏱️ Time-Saving: Pre-configured with professional settings
🎯 Precision: Multiple anchor periods for different trading styles
🎨 Fully Customizable: Every visual element can be adjusted
📊 Clean Charts: Toggle fills on/off for optimal visualization
🔄 Automatic Updates: Both VWAPs update in real-time
📱 Universal: Works on all timeframes and instruments
🎓 Ideal For
Trading Styles
Day Trading (M1, M5, M15)
Swing Trading (H1, H4, D1)
Scalping strategies
Position trading
Markets
Forex (XAUUSD, EUR/USD, GBP/USD, etc.)
Indices (US30, NAS100, SPX500)
Cryptocurrencies
Commodities
Stocks
Strategies
VWAP mean reversion
Trend following
Breakout trading
Volume-weighted support/resistance
Institutional order flow analysis
🔧 Recommended Settings
For Day Trading (M5-M15)
Standard VWAP: Anchor = Session
Band #1: Multiplier 1.0, Fill ON
Band #2: Multiplier 2.0, Fill OFF
Weekly VWAP: Enabled for major levels
For Swing Trading (H1-H4)
Standard VWAP: Anchor = Week
Band #1: Multiplier 1.5, Fill ON
Band #2: Multiplier 2.5, Fill ON
Weekly VWAP: Primary level for trend confirmation
For Scalping (M1-M5)
Standard VWAP: Anchor = Session
Band #1: Multiplier 0.5, Fill ON
Band #2: Multiplier 1.0, Fill OFF
Weekly VWAP: Disabled for cleaner chart
📊 Understanding the Bands
Band Multiplier = 1.0
Contains ~68% of price action (1 standard deviation)
Primary mean reversion zone
Band Multiplier = 2.0
Contains ~95% of price action (2 standard deviations)
Strong overbought/oversold signal
Band Multiplier = 3.0
Contains ~99.7% of price action (3 standard deviations)
Extreme reversal zones
🎯 Trading Tips
Confluence Trading: Enter when price touches a deviation band AND Weekly VWAP
Trend Confirmation: Only take long trades above both VWAPs, shorts below both
Band Rejection: Watch for candle rejections at outer bands for reversal signals
Volume Confirmation: Strong moves should break bands with high volume
Time of Day: VWAP is most reliable during high-volume sessions
📌 Important Notes
VWAP resets based on anchor period selection
Weekly VWAP uses Sunday as the start of the week
Deviation bands require sufficient volume data
Best used in combination with other technical analysis tools
Not a standalone trading system - use proper risk management
🚀 Why Choose MRG VWAP Complete?
✅ Professional Grade: Used by institutional traders
✅ Maximum Flexibility: Adapt to any trading style
✅ Visual Clarity: Customizable colors and fills
✅ Dual Perspective: Intraday + weekly analysis combined
✅ Easy to Use: Intuitive parameter organization
✅ Performance Optimized: Efficient code for smooth charting
Master volume-weighted price analysis with the most complete VWAP indicator available! 📊🚀
💼 Perfect For Professional Traders
Whether you're a retail trader or institutional analyst, MRG VWAP Complete provides the tools you need to:
Identify fair value zones
Spot institutional order flow
Time entries with precision
Manage risk effectively
Trade with the smart money
Elevate your VWAP trading to the next level! 💎
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน