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
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat TradingView sebenar, pencipta skrip ini telah menjadikannya sumber terbuka, jadi pedagang boleh menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupuan anda boleh menggunakan secara percuma, ingat bahawa penerbitan semula kod ini tertakluk kepada Peraturan Dalaman.
Penafian
Maklumat dan penerbitan adalah tidak bertujuan, dan tidak membentuk, nasihat atau cadangan kewangan, pelaburan, dagangan atau jenis lain yang diberikan atau disahkan oleh TradingView. Baca lebih dalam Terma Penggunaan.