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.
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。