OPEN-SOURCE SCRIPT
VWAP + EMAs + Levels (ATR / Premarket / Yesterday)

Two questions decide every intraday trade: where is fair value, and where is price likely to react? This indicator answers both on one clean chart — no bands, no clutter, no redundant plots.
What it draws
Session VWAP — hairline green, anchorable to session, week, month, quarter, year, or even earnings, dividends and splits. The line institutions trade around, and nothing else around it.
EMA stack 5 / 9 / 21 / 50 / 200 — white, blue, yellow, red, gray. Trend, pullback zones and the long-term line at a single glance.
Daily ATR envelope — yesterday's close ± today's ATR, in red. The statistical ceiling and floor of the day: where continuation gets expensive and fades get interesting.
Yesterday's High & Low — yellow. The levels every desk is already watching.
Premarket High & Low — green. Auto-tracked from 04:00 to 09:30 NY, locked in at the bell.
What makes it different
Levels don't run off to infinity. Each one spans the regular session from open to close, tagged with a muted gray label that reads on dark charts without fighting your candles for attention. Turn the span off and they extend right, classic style.
Built for opening-range breaks, VWAP reclaims and rejections, fades into ATR extremes, and premarket-range plays.
Fully configurable — every color, line width, ATR length and MA type (RMA, EMA, SMA, Hull), premarket and regular session windows, time zone, label offset, and independent toggles for each level group.
Pine Script v6. Requires extended-hours data for premarket levels.
Credit: built on TradingView's built-in VWAP and the Day ATR H/L script by divinechartist, unified and rewritten for v6
What it draws
Session VWAP — hairline green, anchorable to session, week, month, quarter, year, or even earnings, dividends and splits. The line institutions trade around, and nothing else around it.
EMA stack 5 / 9 / 21 / 50 / 200 — white, blue, yellow, red, gray. Trend, pullback zones and the long-term line at a single glance.
Daily ATR envelope — yesterday's close ± today's ATR, in red. The statistical ceiling and floor of the day: where continuation gets expensive and fades get interesting.
Yesterday's High & Low — yellow. The levels every desk is already watching.
Premarket High & Low — green. Auto-tracked from 04:00 to 09:30 NY, locked in at the bell.
What makes it different
Levels don't run off to infinity. Each one spans the regular session from open to close, tagged with a muted gray label that reads on dark charts without fighting your candles for attention. Turn the span off and they extend right, classic style.
Built for opening-range breaks, VWAP reclaims and rejections, fades into ATR extremes, and premarket-range plays.
Fully configurable — every color, line width, ATR length and MA type (RMA, EMA, SMA, Hull), premarket and regular session windows, time zone, label offset, and independent toggles for each level group.
Pine Script v6. Requires extended-hours data for premarket levels.
Credit: built on TradingView's built-in VWAP and the Day ATR H/L script by divinechartist, unified and rewritten for v6
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。