OPEN-SOURCE SCRIPT
SPX Levels on NQ (Auto)

SPX Levels on NQ (Auto-Calibrating)
Plot S&P 500 support/resistance levels directly on your NQ/MNQ chart — converted automatically using a live rolling linear regression.
How it works:
The indicator pulls real-time SPX price data and runs a linear regression against NQ over a configurable lookback window. This gives you a dynamically updating formula (NQ = slope × SPX + intercept) that adapts as the relationship between the two instruments shifts. Any SPX level you input gets converted to its NQ equivalent and drawn as a horizontal line on your chart.
Use cases:
Map SPX gamma/GEX levels (from Unusual Whales, SpotGamma, etc.) onto your NQ chart
Track SPX key support/resistance while trading NQ or MNQ
Cross-reference SPX options positioning with NQ price action
Features:
Auto-calibrating — no manual slope/intercept needed
8 configurable level slots with custom labels
Info box showing current regression stats and R²
Adjustable lookback, line style, and colors
How to use:
Add to any NQ1! or MNQ1! chart
Enter your SPX levels in the settings
Lines appear at the equivalent NQ price, updating in real time
Built for anyone who reads SPX flows but trades NQ.
Plot S&P 500 support/resistance levels directly on your NQ/MNQ chart — converted automatically using a live rolling linear regression.
How it works:
The indicator pulls real-time SPX price data and runs a linear regression against NQ over a configurable lookback window. This gives you a dynamically updating formula (NQ = slope × SPX + intercept) that adapts as the relationship between the two instruments shifts. Any SPX level you input gets converted to its NQ equivalent and drawn as a horizontal line on your chart.
Use cases:
Map SPX gamma/GEX levels (from Unusual Whales, SpotGamma, etc.) onto your NQ chart
Track SPX key support/resistance while trading NQ or MNQ
Cross-reference SPX options positioning with NQ price action
Features:
Auto-calibrating — no manual slope/intercept needed
8 configurable level slots with custom labels
Info box showing current regression stats and R²
Adjustable lookback, line style, and colors
How to use:
Add to any NQ1! or MNQ1! chart
Enter your SPX levels in the settings
Lines appear at the equivalent NQ price, updating in real time
Built for anyone who reads SPX flows but trades NQ.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.