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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.