OPEN-SOURCE SCRIPT
Session Edge

Session Edge is a clean, no-clutter 5-minute trading indicator built for futures traders who want clear, actionable signals without a crowded chart. It combines three core elements, EMA-9, VWAP, and session high/low levels, with a volume confirmation filter to identify only the highest-probability trade setups.
When the EMA-9 crosses VWAP with above-average volume, the indicator automatically draws a green profit box and a red risk box directly on the chart, showing your exact entry price, stop loss, TP1, and TP2 — with the dollar value of each level calculated in real time based on your selected tick value ($1.50, $2.50, or $5.00 per tick).
A built-in 30–50 point minimum filter blocks weak, low-range signals so you are only alerted when the market has enough momentum and range to make the trade worth taking. If the setup doesn't meet the minimum, the signal is suppressed automatically — no guesswork needed.
When it's time to get out, a simple orange X appears on the bar — no extra lines, no extra boxes, just a clean exit marker.
What you see on the chart:
EMA-9 (orange) and VWAP (aqua) for trend and fair value
Previous session high and low (two white lines) as key reference levels
A green box for your target zone and a red box for your risk zone on every valid signal
Dollar-based SL and TP levels calculated per trade automatically
Orange X exit signals when the opposing cross fires
Best used on: MES, MNQ, ES, NQ, or any high-volume futures instrument on the 5-minute timeframe during the London or New York session open.
When the EMA-9 crosses VWAP with above-average volume, the indicator automatically draws a green profit box and a red risk box directly on the chart, showing your exact entry price, stop loss, TP1, and TP2 — with the dollar value of each level calculated in real time based on your selected tick value ($1.50, $2.50, or $5.00 per tick).
A built-in 30–50 point minimum filter blocks weak, low-range signals so you are only alerted when the market has enough momentum and range to make the trade worth taking. If the setup doesn't meet the minimum, the signal is suppressed automatically — no guesswork needed.
When it's time to get out, a simple orange X appears on the bar — no extra lines, no extra boxes, just a clean exit marker.
What you see on the chart:
EMA-9 (orange) and VWAP (aqua) for trend and fair value
Previous session high and low (two white lines) as key reference levels
A green box for your target zone and a red box for your risk zone on every valid signal
Dollar-based SL and TP levels calculated per trade automatically
Orange X exit signals when the opposing cross fires
Best used on: MES, MNQ, ES, NQ, or any high-volume futures instrument on the 5-minute timeframe during the London or New York session open.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.