OPEN-SOURCE SCRIPT

VWAP 2.0 with desv + Initial Balance by RiotWolftrading

790
🌟 Overview
This powerful tool is designed for traders who want to harness the power of the Volume Weighted Average Price (VWAP) alongside session-based ranges to make informed trading decisions. Whether you're a day trader or a swing trader, this indicator provides a clean and effective way to identify support, resistance, and market trends—all in one place! 💡

✨ Key Features
Auto-Anchored VWAP 📊
Automatically calculates the VWAP based on a user-defined anchor period (e.g., Daily, Weekly, Monthly).
Resets at the start of each period (e.g., daily for a Daily anchor).
Displays a customizable VWAP line with standard deviation bands to highlight key price levels.
Standard Deviation Bands 📏
Plots up to three sets of standard deviation bands above and below the VWAP (multipliers: 1.0, 2.0, 3.0).

Includes volume percentage labels to show where trading volume is concentrated. 📉
Session High/Low Range 🕒
Identifies the high and low prices within a customizable session (default: 12:00 to 15:31).
Draws horizontal lines at the session high and low, with dotted deviation lines for additional reference points.
Perfect for spotting key levels during your trading session! 🔑

Time-Based Range Box ⏰
Highlights a specific time window (default: 15:40 to 15:50) with a colored box showing the high and low prices.
Ideal for tracking price action during high-impact events like news releases or market opens. 📅
Alerts 🚨
Set up alerts for when the price crosses above or below the VWAP—never miss a potential trading opportunity!

⚙️ Settings
Customize the indicator to fit your trading style with these easy-to-use settings:
VWAP Settings

Timezone 🌍: Select your timezone (default: GMT+2) to align calculations with your local time.

VWAP Source 📈: Choose the price source for VWAP (default: hlc3 - average of high, low, close).
Std Deviation Multipliers 📐: Adjust the multipliers for the bands (default: 1.0, 2.0, 3.0).
Line Width ✏️: Set the thickness of the VWAP and band lines (default: 1).
Session Time ⏳: Define the session window for VWAP calculations (default: 08:00-18:00, all days).
Show Upper/Lower Bands 👀: Toggle visibility for each set of bands (default: Band 1 visible, Bands 2 & 3 hidden).


Range Settings
Range Start/End Time 🕙: Set the time window for the range box (default: 15:40 to 15:50).
Box Color 🎨: Customize the border color (default: blue).
Box Background Color 🖌️: Adjust the background color (default: light aqua, 90% transparency).

I created this indicator to provide a streamlined, clutter-free tool for traders who rely on VWAP and session-based analysis. It focuses on the essentials—VWAP, standard deviation bands, session high/low, and range box—without unnecessary overlays. I hope it helps you in your trading journey! If you have feedback or suggestions, feel free to share—I’d love to hear from you! 😊

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.