OPEN-SOURCE SCRIPT
Cross Asset Class Row Stack v2

What You're Seeing
Looking at your cross-asset indicator, you have a global market pulse showing:
US Equities (top rows) - SPY, QQQ, RUT, NDX, DJI, RSP
These show the health of American stock markets across different segments
Large cap, tech, small cap, blue chip, etc.
Risk Indicators - VIX, US10YR
VIX measures fear/volatility
Bond yields show rate expectations and inflation sentiment
Commodities & Currencies - OIL, USDJPY, DXY, CXY
Oil reflects global growth and energy demand
USD pairs show dollar strength vs other currencies
These are leading indicators for inflation and economic health
International Markets - NIFTY, GER40, HK50, UK100, HSI, IRUS, PSEI, AU30
Show if weakness/strength is global or US-centric
Emerging markets vs developed markets
Why This Matters
The pattern across all assets tells you:
If everything is green → Risk-on, growth sentiment strong, global demand healthy
If tech (QQQ, MAG5) is down but commodities up → Inflation concerns, Fed tightening
If VIX is high and bonds rallying (US10YR down) → Flight to safety, market stress
If emerging markets lag → Risk appetite weakening
If USD strength (DXY up) → Safe haven buying, emerging market headwinds
What You Should Expect Next 📊
Based on typical market mechanics:
Sector Rotation Clues
If small caps (RUT) underperform large caps (SPY) → Flight to quality, economic slowdown ahead
If tech (QQQ) rallies hard → Risk appetite, rate cut expectations, or AI enthusiasm
Divergences Signal Turns
When international markets diverge from US (HSI, GER40 weak but SPY strong) → Warning sign
When bonds rally hard while stocks hold up → Market pricing in cuts soon
Commodity-Equity Relationship
Oil up + Equities down = Stagflation risk
Oil down + Equities up = Goldilocks scenario (growth without inflation)
Currency Strength
Strong USD (DXY up) typically coincides with:
Weak emerging markets (NIFTY, PSEI struggle)
Tech underperformance (rate sensitivity)
Commodity underperformance (priced in USD)
Mean Reversion Signals
When one asset class (like commodities) gets too extreme vs others → Rotation likely
When VIX diverges from market movements → Volatility expansion expected
Action Items to Monitor 🎯
Create alerts for:
Divergence events - When your top gainers/losers change dramatically
Sector strength shifts - Watch if DJI outperforms QQQ (value vs growth)
International weakness - If Asian/European indices start failing while US holds
Rate signals - US10YR changes often precede equity moves
Dollar extremes - DXY above/below key levels affect emerging markets
Example Scenario from Image 1
Looking back at your first chart, if I saw:
QQQ, MAG5, NDX down (tech weak)
OIL, DXY, US10YR rising (inflation/rate concerns)
NIFTY, GER40 weaker than SPY (US insulated but others suffering)
I'd expect: Continued rotation from growth to value, rate hikes priced in longer, and potential emerging market weakness ahead.
The power of this indicator: It lets you see correlation breakdowns at a glance. When correlations break → opportunities and risks emerge! 📈
Does this framework help? What specific patterns are you seeing in your current data? 🤔
Looking at your cross-asset indicator, you have a global market pulse showing:
US Equities (top rows) - SPY, QQQ, RUT, NDX, DJI, RSP
These show the health of American stock markets across different segments
Large cap, tech, small cap, blue chip, etc.
Risk Indicators - VIX, US10YR
VIX measures fear/volatility
Bond yields show rate expectations and inflation sentiment
Commodities & Currencies - OIL, USDJPY, DXY, CXY
Oil reflects global growth and energy demand
USD pairs show dollar strength vs other currencies
These are leading indicators for inflation and economic health
International Markets - NIFTY, GER40, HK50, UK100, HSI, IRUS, PSEI, AU30
Show if weakness/strength is global or US-centric
Emerging markets vs developed markets
Why This Matters
The pattern across all assets tells you:
If everything is green → Risk-on, growth sentiment strong, global demand healthy
If tech (QQQ, MAG5) is down but commodities up → Inflation concerns, Fed tightening
If VIX is high and bonds rallying (US10YR down) → Flight to safety, market stress
If emerging markets lag → Risk appetite weakening
If USD strength (DXY up) → Safe haven buying, emerging market headwinds
What You Should Expect Next 📊
Based on typical market mechanics:
Sector Rotation Clues
If small caps (RUT) underperform large caps (SPY) → Flight to quality, economic slowdown ahead
If tech (QQQ) rallies hard → Risk appetite, rate cut expectations, or AI enthusiasm
Divergences Signal Turns
When international markets diverge from US (HSI, GER40 weak but SPY strong) → Warning sign
When bonds rally hard while stocks hold up → Market pricing in cuts soon
Commodity-Equity Relationship
Oil up + Equities down = Stagflation risk
Oil down + Equities up = Goldilocks scenario (growth without inflation)
Currency Strength
Strong USD (DXY up) typically coincides with:
Weak emerging markets (NIFTY, PSEI struggle)
Tech underperformance (rate sensitivity)
Commodity underperformance (priced in USD)
Mean Reversion Signals
When one asset class (like commodities) gets too extreme vs others → Rotation likely
When VIX diverges from market movements → Volatility expansion expected
Action Items to Monitor 🎯
Create alerts for:
Divergence events - When your top gainers/losers change dramatically
Sector strength shifts - Watch if DJI outperforms QQQ (value vs growth)
International weakness - If Asian/European indices start failing while US holds
Rate signals - US10YR changes often precede equity moves
Dollar extremes - DXY above/below key levels affect emerging markets
Example Scenario from Image 1
Looking back at your first chart, if I saw:
QQQ, MAG5, NDX down (tech weak)
OIL, DXY, US10YR rising (inflation/rate concerns)
NIFTY, GER40 weaker than SPY (US insulated but others suffering)
I'd expect: Continued rotation from growth to value, rate hikes priced in longer, and potential emerging market weakness ahead.
The power of this indicator: It lets you see correlation breakdowns at a glance. When correlations break → opportunities and risks emerge! 📈
Does this framework help? What specific patterns are you seeing in your current data? 🤔
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.