OPEN-SOURCE SCRIPT
Session Breakout ATR Levels

This script is an institutional-style intraday trading framework designed primarily for NQ/MNQ futures trading. It combines a New York session anchor price, ATR-based expansion levels, London session high and low liquidity zones, EMA trend filters, and a smooth session trendline to create a complete market structure map for the trading day. The script uses the 6:00 PM New York open as the session baseline and projects volatility levels above and below it using ATR calculations, which act as breakout triggers, targets, and exhaustion zones. It also tracks the London session range to identify important liquidity pools and breakout areas that often influence New York price action. The custom session trendline provides a visual representation of overall directional bias and momentum throughout the session, while the EMAs help confirm trend alignment and momentum continuation. In strategy mode, the script converts these levels into rule-based trade entries and exits, allowing traders to backtest breakout and momentum setups using ATR targets, London range breaks, and EMA confirmation. Overall, the system is built to help identify high-probability trend and volatility expansion moves during active market sessions while filtering out weaker or choppy conditions.
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.