OPEN-SOURCE SCRIPT

NY Open Market Condition Analyzer โ€“ TTR & RI

90
NY Open Market Condition Analyzer โ€“ TTR & RI (Dynamic Edition)

Built for MNQ/NQ scalpers using 1-minute charts, this upgraded analyzer continuously reevaluates structural quality during the NY Open, and now includes optional divergence detection between MNQ and MES.

๐Ÿ“Š Core Strategy Filters
  • TTR = Total Trading Range (2:00โ€“6:30AM PST premarket movement)
  • RI = Reactive Impulse (body of current 5-min candle)
  • VWAP Clearance = Confirms directional momentum
  • VWAP Slope Alignment = Confirms trend context (optional)
  • MNQ/MES Divergence Filter = Detects structural disagreement (optional)


๐ŸŽฏ Primary Objective
This tool helps you:
  • Avoid low-conviction sessions and false breakouts
  • React to structure as it evolves between 6:30โ€“8:30AM PST
  • Confirm ideal trading windows based on clear, aligned structure


โœ… Features

๐Ÿ” Dynamic Evaluation Logic
  • Starts at 6:34AM PST (after first 5-min bar)
  • Reevaluates every 5 minutes until 8:30AM PST
  • Signal (GOOD or SKIP) updates dynamically based on latest structure
  • Once structure improves, you'll know โ€” in real-time


๐Ÿ“Š Condition Checks
  • Premarket Range โ‰ฅ threshold (default: 15 pts)
  • 5-min Candle Body โ‰ฅ threshold (default: 10 pts)
  • Distance from VWAP โ‰ฅ threshold (default: 5 pts)
  • VWAP Slope alignment (optional)
  • MNQ/MES Directional Divergence (optional)


๐Ÿ“‹ Visual Output
  • ๐Ÿ“ฆ Icon above bar for every 5-min window
  • ๐Ÿท Label displays โ€œGOOD SETUPโ€ or โ€œSKIPโ€
  • ๐Ÿ“Š Dashboard panel shows:
  • - Premarket Range
  • - 5-min Candle Size
  • - VWAP Distance
  • - VWAP Slope Status
  • - Divergence Check Result
  • - Final Verdict


๐Ÿ› ๏ธ Configurable Settings
  • Minimum Range / Candle / VWAP thresholds
  • Toggle VWAP Slope Filter
  • Toggle MNQ/MES Divergence Filter
  • Custom Colors for:
  • - GOOD/Skip Session
  • - Divergence Alert
  • - Dashboard Panel


๐Ÿ”” How to Add the Alert
  1. Load on a 1-minute MNQ chart
  2. Click the Alerts tab (๐Ÿ”” icon)
  3. Click + Create Alert
  4. Condition: NY Open Market Condition Analyzer โ€“ TTR & RI โ†’ Good Setup Alert
  5. Set to: โ€œOnly Once Per Bar Closeโ€


๐Ÿงช Best For
  • Scalpers trading 10โ€“30 pt MNQ/NQ setups
  • Traders filtering out low-structure sessions (especially Mondays & Fridays)
  • Discretionary traders who want real-time structure confirmation


๐Ÿง  Pro Tip
Pair with:
  • Opening Range Breakout strategies
  • Session VWAP
  • Pre-market S/R zones
  • MAS Capital RI confirmation for trade entry


This tool adapts with the market โ€” because setups arenโ€™t static, and neither is your edge.

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.