OPEN-SOURCE SCRIPT
Daily SMAs & Intraday VWAP

Daily SMAs & Intraday VWAP (v1.1)
What it does
This overlay blends higher-timeframe signal lines with intraday execution clarity. It plots three Daily Simple Moving Averages (fast/mid/slow) on any chart timeframe, plus an intraday VWAP that resets each session. The result is a lightweight “map” of multi-day trend structure (the SMAs) and real-time mean/flow (VWAP) in one glance.
How to use it
Trend context: Daily SMAs give you bias and structure on any intraday chart. Price above rising SMAs = supportive trend; below falling SMAs = headwinds.
Execution & risk: VWAP acts as the intraday “fair value.” Pullbacks to VWAP in an uptrend can be quality entries; rejections from VWAP in a downtrend often mark fades.
Confluence: Highest signal quality comes when VWAP behavior aligns with the Daily SMAs (e.g., price above VWAP and above the daily 20/200 = trend-with-support).
Inputs
Daily SMAs: Fast (default 5), Mid (20), Slow (200), each with custom color/width.
VWAP (intraday only): Toggle on/off, color and thickness controls.
Notes
Daily SMAs are pulled via request.security() on the Daily timeframe and displayed on any chart.
VWAP only plots on intraday timeframes (resets at the session open).
Keep your chart clean: adjust line widths/colors to match your theme.
What it does
This overlay blends higher-timeframe signal lines with intraday execution clarity. It plots three Daily Simple Moving Averages (fast/mid/slow) on any chart timeframe, plus an intraday VWAP that resets each session. The result is a lightweight “map” of multi-day trend structure (the SMAs) and real-time mean/flow (VWAP) in one glance.
How to use it
Trend context: Daily SMAs give you bias and structure on any intraday chart. Price above rising SMAs = supportive trend; below falling SMAs = headwinds.
Execution & risk: VWAP acts as the intraday “fair value.” Pullbacks to VWAP in an uptrend can be quality entries; rejections from VWAP in a downtrend often mark fades.
Confluence: Highest signal quality comes when VWAP behavior aligns with the Daily SMAs (e.g., price above VWAP and above the daily 20/200 = trend-with-support).
Inputs
Daily SMAs: Fast (default 5), Mid (20), Slow (200), each with custom color/width.
VWAP (intraday only): Toggle on/off, color and thickness controls.
Notes
Daily SMAs are pulled via request.security() on the Daily timeframe and displayed on any chart.
VWAP only plots on intraday timeframes (resets at the session open).
Keep your chart clean: adjust line widths/colors to match your theme.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
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.