PROTECTED SOURCE SCRIPT
NQ Magic Hour Pro

# NQ Magic Hour Pro
## ⚠️ NQ FUTURES ONLY - NOT FOR OTHER INSTRUMENTS
**This indicator is specifically designed and calibrated for NQ (E-mini Nasdaq-100) futures only.** The probability statistics are hardcoded from a 6-year NQ-specific backtest (2020-2025, 1,546 sessions).
**Do NOT use this indicator on ES, MES, YM, RTY, or any other instruments** - the probabilities will not be accurate and may lead to incorrect trading decisions.
---
## Overview
NQ Magic Hour Pro is a probability-based mean reversion trading indicator built exclusively on NQ futures backtest data. The indicator identifies high-probability reversion setups based on pre-market range analysis during the "Magic Hour" (7:00-8:00 AM ET).
**Core Concept:**
- Captures 7:00-8:00 AM ET pre-market range (high/low/midpoint)
- Classifies range size: Below Average (<0.24%) vs Above Average (>0.24%)
- Projects extension levels (25%, 50%, 75%, 100%) with NQ-specific historical reversion probabilities
- Identifies optimal trading windows based on time-based edge decay
**NQ-Specific Probability Framework:**
- **Golden Window (8:00-9:00 AM):** 79-85% reversion probability (below-avg ranges)
- **Medium Window (9:00-10:00 AM):** 56-73% probability
- **Dead Zone (10:00+ AM):** 21-35% probability (avoid trading)
*These probabilities are derived from NQ futures data only and may not apply to other instruments.*
## Key Features
✅ **Visual Levels:** Displays magic hour range with color-coded extension levels
- Green (Lime): High probability (79-85%)
- Orange: Medium probability (52-73%)
- Red: Low probability (<52%)
✅ **Real-Time Dashboard:** Shows current range classification, time window, reversion probabilities, and tier classification (based on NQ data)
✅ **Time-Based Alerts:** Warns when entering Dead Zone (edge decay)
✅ **Fully Customizable Display:**
- Adjustable colors for all lines and boxes
- Label text size options (Tiny/Small/Normal/Large)
- Toggle visibility for any component
✅ **Session History:** Optional keeping of last 10 sessions for pattern recognition
✅ **Performance Optimized:** Smart object reuse system prevents hitting TradingView limits
## Settings Overview
**Session Settings:**
- Timezone (default: America/New_York)
- Magic Hour start time (default: 7:00 AM, adjustable 0-23)
- Monitoring window duration (default: 3 hours)
**Display Options:**
- Toggle dashboard, hour box, window box, key levels
- Show/hide probability labels
- Dark/Light dashboard theme
- Keep history (last 10 sessions)
**Extension Levels:**
- Enable/disable 25%, 50%, 75%, 100% extensions individually
- Useful for focusing on high-probability setups only
**Line Colors (Fully Customizable):**
- High/Low/Mid line color
- Golden zone color (below-avg 25% extensions)
- Medium zone color (50% extensions, above-avg 25%)
- Low probability color (75%, 100% extensions)
**Box Colors (Fully Customizable):**
- Magic Hour Box (Below Avg) - default green
- Magic Hour Box (Above Avg) - default orange
- Window Box Color - default purple
**Label Settings:**
- Text size: Tiny, Small, Normal, or Large
- Adjustable for visibility on different screen sizes
**Alerts:**
- Golden setup alert (79%+ probability on NQ)
- Dead zone alert (10:00 AM edge decay warning)
## How to Use (NQ Futures Only)
1. **Apply to NQ chart only** (NQ1!, MNQ1! for micro, or your broker's NQ symbol)
2. **Range Classification:** After 8:00 AM ET, check dashboard "Range Size" (BELOW AVG = higher probability)
3. **Time Window:** Trade during Golden (8-9 AM) or Medium (9-10 AM) windows only
4. **Entry Setup:** Wait for price to sweep 25% or 50% extension levels
5. **Target:** Mean reversion to magic hour range (high/low/mid)
6. **Avoid:** Trading after 10:00 AM when edge drops to 21-35%
**Highest Probability NQ Trades:**
- Below-average range + Golden window (8-9 AM) + 25% extension sweep = 79-85% reversion probability
- Use dashboard "Classification" to identify Tier 1 (Golden) setups
**Recommended Timeframes:** 1-minute, 5-minute, or 15-minute charts
## Important Risk Disclaimer
⚠️ **THIS INDICATOR IS FOR EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY**
**NQ-Specific Limitations:**
- **THIS INDICATOR IS CALIBRATED FOR NQ FUTURES ONLY** - probabilities are hardcoded from NQ backtest data
- **DO NOT USE ON OTHER INSTRUMENTS** (ES, MES, YM, RTY, stocks, crypto, etc.) - statistics will be inaccurate
- Even on NQ, past performance does not guarantee future results
- Market regime changes may cause historical probabilities to become invalid
- Probabilities are based on 2020-2025 backtest data and may not reflect current conditions
**General Trading Risks:**
- Trading futures involves substantial risk of loss and is not suitable for all investors
- This indicator does not constitute financial advice, investment advice, or trading advice
- Users are solely responsible for their own trading decisions and risk management
- The creator assumes no liability for trading losses incurred using this indicator
- Always use proper position sizing, stop losses, and risk management
- Consult a licensed financial advisor before making any trading decisions
**Before Using This Indicator:**
1. Understand that this is NQ-specific - not applicable to other markets
2. Paper trade for at least 30 days to verify edge still exists
3. Confirm probabilities match your forward testing results
4. Have a written trading plan with entry/exit rules
5. Never override your stop loss based on "high probability" setups
## Technical Specifications
- **Instrument:** NQ (E-mini Nasdaq-100 futures) ONLY
- **Timeframe:** All intraday timeframes (1m, 5m recommended)
- **Timezone:** America/New_York (ET) - adjustable
- **Session:** Pre-market + Regular hours (7:00 AM - market close)
- **Data:** Based on 1,546 NQ sessions (2020-2025)
- **Object Management:** Ring buffer system (max 10 sessions in history)
- **Performance:** Optimized for low-latency updates
## Version History
**Version 1.0** (Initial Release)
- NQ-specific probability framework
- Real-time dashboard with tier classification
- Customizable colors and label sizes
- Object reuse optimization
- Golden setup and dead zone alerts
---
**Developed by:** Constantin
**Based on:** NQ futures mean reversion research (2020-2025, 1,546 sessions)
**Indicator Type:** Mean Reversion / Range-Based
**Asset Class:** Futures (NQ only)
---
## FAQ
**Q: Can I use this on ES or MES?**
A: No. The probabilities are hardcoded from NQ data only. Using on other instruments will give inaccurate probability readings.
**Q: Why is it NQ-only?**
A: The backtest statistics (79%, 85%, etc.) are specific to NQ's volatility profile, contract specifications, and market structure. Each instrument has different characteristics.
**Q: Will you create versions for other instruments?**
A: Potentially in the future, but each instrument requires its own 6-year backtest to calibrate accurate probabilities.
**Q: What if the probabilities stop working?**
A: Market regimes change. Always forward test and monitor actual vs expected win rates. If results deviate >10%, stop using the indicator and reassess.
**Q: Can I use this for day trading?**
A: Yes, it's designed for intraday NQ trading during the morning session (7:00 AM - 11:00 AM ET).
---
For questions, feedback, or to report issues, please comment below or contact via TradingView messages.
**Remember: Trade NQ only with proper risk management. This indicator is a tool, not a guarantee.**
## ⚠️ NQ FUTURES ONLY - NOT FOR OTHER INSTRUMENTS
**This indicator is specifically designed and calibrated for NQ (E-mini Nasdaq-100) futures only.** The probability statistics are hardcoded from a 6-year NQ-specific backtest (2020-2025, 1,546 sessions).
**Do NOT use this indicator on ES, MES, YM, RTY, or any other instruments** - the probabilities will not be accurate and may lead to incorrect trading decisions.
---
## Overview
NQ Magic Hour Pro is a probability-based mean reversion trading indicator built exclusively on NQ futures backtest data. The indicator identifies high-probability reversion setups based on pre-market range analysis during the "Magic Hour" (7:00-8:00 AM ET).
**Core Concept:**
- Captures 7:00-8:00 AM ET pre-market range (high/low/midpoint)
- Classifies range size: Below Average (<0.24%) vs Above Average (>0.24%)
- Projects extension levels (25%, 50%, 75%, 100%) with NQ-specific historical reversion probabilities
- Identifies optimal trading windows based on time-based edge decay
**NQ-Specific Probability Framework:**
- **Golden Window (8:00-9:00 AM):** 79-85% reversion probability (below-avg ranges)
- **Medium Window (9:00-10:00 AM):** 56-73% probability
- **Dead Zone (10:00+ AM):** 21-35% probability (avoid trading)
*These probabilities are derived from NQ futures data only and may not apply to other instruments.*
## Key Features
✅ **Visual Levels:** Displays magic hour range with color-coded extension levels
- Green (Lime): High probability (79-85%)
- Orange: Medium probability (52-73%)
- Red: Low probability (<52%)
✅ **Real-Time Dashboard:** Shows current range classification, time window, reversion probabilities, and tier classification (based on NQ data)
✅ **Time-Based Alerts:** Warns when entering Dead Zone (edge decay)
✅ **Fully Customizable Display:**
- Adjustable colors for all lines and boxes
- Label text size options (Tiny/Small/Normal/Large)
- Toggle visibility for any component
✅ **Session History:** Optional keeping of last 10 sessions for pattern recognition
✅ **Performance Optimized:** Smart object reuse system prevents hitting TradingView limits
## Settings Overview
**Session Settings:**
- Timezone (default: America/New_York)
- Magic Hour start time (default: 7:00 AM, adjustable 0-23)
- Monitoring window duration (default: 3 hours)
**Display Options:**
- Toggle dashboard, hour box, window box, key levels
- Show/hide probability labels
- Dark/Light dashboard theme
- Keep history (last 10 sessions)
**Extension Levels:**
- Enable/disable 25%, 50%, 75%, 100% extensions individually
- Useful for focusing on high-probability setups only
**Line Colors (Fully Customizable):**
- High/Low/Mid line color
- Golden zone color (below-avg 25% extensions)
- Medium zone color (50% extensions, above-avg 25%)
- Low probability color (75%, 100% extensions)
**Box Colors (Fully Customizable):**
- Magic Hour Box (Below Avg) - default green
- Magic Hour Box (Above Avg) - default orange
- Window Box Color - default purple
**Label Settings:**
- Text size: Tiny, Small, Normal, or Large
- Adjustable for visibility on different screen sizes
**Alerts:**
- Golden setup alert (79%+ probability on NQ)
- Dead zone alert (10:00 AM edge decay warning)
## How to Use (NQ Futures Only)
1. **Apply to NQ chart only** (NQ1!, MNQ1! for micro, or your broker's NQ symbol)
2. **Range Classification:** After 8:00 AM ET, check dashboard "Range Size" (BELOW AVG = higher probability)
3. **Time Window:** Trade during Golden (8-9 AM) or Medium (9-10 AM) windows only
4. **Entry Setup:** Wait for price to sweep 25% or 50% extension levels
5. **Target:** Mean reversion to magic hour range (high/low/mid)
6. **Avoid:** Trading after 10:00 AM when edge drops to 21-35%
**Highest Probability NQ Trades:**
- Below-average range + Golden window (8-9 AM) + 25% extension sweep = 79-85% reversion probability
- Use dashboard "Classification" to identify Tier 1 (Golden) setups
**Recommended Timeframes:** 1-minute, 5-minute, or 15-minute charts
## Important Risk Disclaimer
⚠️ **THIS INDICATOR IS FOR EDUCATIONAL AND INFORMATIONAL PURPOSES ONLY**
**NQ-Specific Limitations:**
- **THIS INDICATOR IS CALIBRATED FOR NQ FUTURES ONLY** - probabilities are hardcoded from NQ backtest data
- **DO NOT USE ON OTHER INSTRUMENTS** (ES, MES, YM, RTY, stocks, crypto, etc.) - statistics will be inaccurate
- Even on NQ, past performance does not guarantee future results
- Market regime changes may cause historical probabilities to become invalid
- Probabilities are based on 2020-2025 backtest data and may not reflect current conditions
**General Trading Risks:**
- Trading futures involves substantial risk of loss and is not suitable for all investors
- This indicator does not constitute financial advice, investment advice, or trading advice
- Users are solely responsible for their own trading decisions and risk management
- The creator assumes no liability for trading losses incurred using this indicator
- Always use proper position sizing, stop losses, and risk management
- Consult a licensed financial advisor before making any trading decisions
**Before Using This Indicator:**
1. Understand that this is NQ-specific - not applicable to other markets
2. Paper trade for at least 30 days to verify edge still exists
3. Confirm probabilities match your forward testing results
4. Have a written trading plan with entry/exit rules
5. Never override your stop loss based on "high probability" setups
## Technical Specifications
- **Instrument:** NQ (E-mini Nasdaq-100 futures) ONLY
- **Timeframe:** All intraday timeframes (1m, 5m recommended)
- **Timezone:** America/New_York (ET) - adjustable
- **Session:** Pre-market + Regular hours (7:00 AM - market close)
- **Data:** Based on 1,546 NQ sessions (2020-2025)
- **Object Management:** Ring buffer system (max 10 sessions in history)
- **Performance:** Optimized for low-latency updates
## Version History
**Version 1.0** (Initial Release)
- NQ-specific probability framework
- Real-time dashboard with tier classification
- Customizable colors and label sizes
- Object reuse optimization
- Golden setup and dead zone alerts
---
**Developed by:** Constantin
**Based on:** NQ futures mean reversion research (2020-2025, 1,546 sessions)
**Indicator Type:** Mean Reversion / Range-Based
**Asset Class:** Futures (NQ only)
---
## FAQ
**Q: Can I use this on ES or MES?**
A: No. The probabilities are hardcoded from NQ data only. Using on other instruments will give inaccurate probability readings.
**Q: Why is it NQ-only?**
A: The backtest statistics (79%, 85%, etc.) are specific to NQ's volatility profile, contract specifications, and market structure. Each instrument has different characteristics.
**Q: Will you create versions for other instruments?**
A: Potentially in the future, but each instrument requires its own 6-year backtest to calibrate accurate probabilities.
**Q: What if the probabilities stop working?**
A: Market regimes change. Always forward test and monitor actual vs expected win rates. If results deviate >10%, stop using the indicator and reassess.
**Q: Can I use this for day trading?**
A: Yes, it's designed for intraday NQ trading during the morning session (7:00 AM - 11:00 AM ET).
---
For questions, feedback, or to report issues, please comment below or contact via TradingView messages.
**Remember: Trade NQ only with proper risk management. This indicator is a tool, not a guarantee.**
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.
סקריפט מוגן
סקריפט זה פורסם כמקור סגור. עם זאת, תוכל להשתמש בו בחופשיות וללא כל מגבלות – למד עוד כאן
כתב ויתור
המידע והפרסומים אינם מיועדים להיות, ואינם מהווים, ייעוץ או המלצה פיננסית, השקעתית, מסחרית או מכל סוג אחר המסופקת או מאושרת על ידי TradingView. קרא עוד ב־תנאי השימוש.