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 автор этого скрипта опубликовал его с открытым исходным кодом, чтобы трейдеры могли понять, как он работает, и проверить на практике. Вы можете воспользоваться им бесплатно, но повторное использование этого кода в публикации регулируется Правилами поведения.
Отказ от ответственности
Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.