OPEN-SOURCE SCRIPT
(ES, NQ) Trend Checker SB1

(ES, NQ) Trend Checker SB1
Stay ahead of the market by tracking whether the E-mini S&P 500 (ES) and the Nasdaq 100 (NQ) are moving in sync.
📊 How it works:
The script checks whether each index is bullish (close > open) or bearish (close < open).
If both are aligned (all bullish or all bearish), conditions are stable.
If they diverge, the indicator instantly flags a mismatch in trend.
🎯 Features:
Background shading to highlight mismatched conditions.
Real-time alerts when ES and NQ fall out of sync.
Works on any timeframe.
🔥 Why it matters:
When ES and NQ move together, market momentum is usually stronger and cleaner.
But when they disagree, expect choppiness, fakeouts, or caution zones — the perfect heads-up before entering trades.
Stay ahead of the market by tracking whether the E-mini S&P 500 (ES) and the Nasdaq 100 (NQ) are moving in sync.
📊 How it works:
The script checks whether each index is bullish (close > open) or bearish (close < open).
If both are aligned (all bullish or all bearish), conditions are stable.
If they diverge, the indicator instantly flags a mismatch in trend.
🎯 Features:
Background shading to highlight mismatched conditions.
Real-time alerts when ES and NQ fall out of sync.
Works on any timeframe.
🔥 Why it matters:
When ES and NQ move together, market momentum is usually stronger and cleaner.
But when they disagree, expect choppiness, fakeouts, or caution zones — the perfect heads-up before entering trades.
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.