PROTECTED SOURCE SCRIPT

EMA Crossover Lines with VWAP, EMA 50/200 and Premarket Alerts

37
Overview
An intraday overlay that combines trend and liquidity cues in one view. It plots your Fast/Slow EMAs, the widely watched EMA-50 and EMA-200, plus VWAP for session bias. During the configured pre-market session, it tracks and projects the pre-market high/low into regular hours—then alerts when price breaks those levels.

What it shows

EMAs: Fast + Slow (user-defined), EMA-50, EMA-200 for trend and crossover context.

VWAP: Session anchor for mean-reversion vs. trend continuation.

Pre-Market Levels: Dynamic Pre-Market High/Low lines (extend into RTH).

Alerts: Triggers when price crosses above pre-market high or below pre-market low (bar-close, non-repainting).

Inputs

Fast EMA Length (default 9)

Slow EMA Length (default 21)

EMA 50 Length (default 50)

EMA 200 Length (default 200)

Pre-market Session (default 04:00–09:30)

Session Timezone (default America/New_York)

How to use

Use EMA-50/200 slope and position to gauge higher-timeframe trend.

VWAP helps identify premium/discount within the day.

Watch pre-market breakouts for momentum entries, or fades back inside for mean reversion.

Combine with your own risk rules; alerts are informational.

Notes

Alerts fire on closed bars to avoid repainting.

Works on most intraday timeframes. Ensure the timezone matches the exchange you trade.

Lines only show when a pre-market session exists for the day.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.