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
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que cualquier republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como, asesoramiento o recomendaciones financieras, de inversión, de trading u otro tipo, proporcionadas o respaldadas por TradingView. Obtenga más información en Condiciones de uso.