OPEN-SOURCE SCRIPT
NQ Reversal Framework

NQ Reversal Framework
The NQ Reversal Framework is a technical indicator designed to identify potential intraday reversals on the NASDAQ futures (NQ).
It is inspired by the methodology associated with Austin Clark and combines MACD momentum signals with the structural reference of the Midnight Open level.
This is a visual framework, not an automated trading system.
Core Components
1) MACD-Based Reversal Signals
The indicator uses classic MACD cross logic:
This structure focuses on momentum shifts occurring after an extended move, rather than mid-range noise.
2) Midnight Open Reference
Each day at midnight, a horizontal line is drawn at the session open price.
This level acts as an intraday reference point:
The Midnight Open provides structural context for price positioning during the trading day.
3) Custom Trading Session Filter
Users can define a specific intraday session window (for example 08:00–11:00 in a chosen timezone).
This helps restrict signal generation to preferred trading hours.
4) Timezone Control
A configurable timezone input (default: America/New_York) ensures proper alignment with exchange hours and session logic.
What This Indicator Does
What This Indicator Does Not Do
The NQ Reversal Framework is intended as a structured intraday analysis tool for traders seeking to identify momentum shifts around key time-based reference levels.
The NQ Reversal Framework is a technical indicator designed to identify potential intraday reversals on the NASDAQ futures (NQ).
It is inspired by the methodology associated with Austin Clark and combines MACD momentum signals with the structural reference of the Midnight Open level.
This is a visual framework, not an automated trading system.
Core Components
1) MACD-Based Reversal Signals
The indicator uses classic MACD cross logic:
- Buy signal when MACD crosses above the signal line below the zero line
- Sell signal when MACD crosses below the signal line above the zero line
This structure focuses on momentum shifts occurring after an extended move, rather than mid-range noise.
2) Midnight Open Reference
Each day at midnight, a horizontal line is drawn at the session open price.
This level acts as an intraday reference point:
- The line extends throughout the current session
- It resets when a new midnight session begins
The Midnight Open provides structural context for price positioning during the trading day.
3) Custom Trading Session Filter
Users can define a specific intraday session window (for example 08:00–11:00 in a chosen timezone).
- The chart background is highlighted during the selected session
- MACD signals are displayed only within this defined window
This helps restrict signal generation to preferred trading hours.
4) Timezone Control
A configurable timezone input (default: America/New_York) ensures proper alignment with exchange hours and session logic.
What This Indicator Does
- Highlights structured MACD reversal signals
- Provides a daily Midnight Open reference
- Filters signals by user-defined session
- Improves intraday context visualization
What This Indicator Does Not Do
- It does not place trades
- It does not manage risk
- It does not guarantee performance
The NQ Reversal Framework is intended as a structured intraday analysis tool for traders seeking to identify momentum shifts around key time-based reference levels.
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.