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.
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。
オープンソーススクリプト
TradingViewの精神に則り、このスクリプトの作者はコードをオープンソースとして公開してくれました。トレーダーが内容を確認・検証できるようにという配慮です。作者に拍手を送りましょう!無料で利用できますが、コードの再公開はハウスルールに従う必要があります。
免責事項
これらの情報および投稿は、TradingViewが提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。