
An advanced indicator tracking exponentially weighted correlation between S&P 500 E-mini and 30-Year Treasury Bond futures, revealing dynamic intermarket relationships.
Explore complementary indicator rolesHow it works
The indicator first retrieves closing prices for ES1! and ZB1! futures contracts, then applies an exponential moving average (EMA) to smooth the data. By using a customizable lookback period and alpha value, it calculates the exponentially weighted correlation, which gives more significance to recent price movements.
The computation involves determining the exponentially weighted covariance and variances between the two financial instruments. These calculations create a dynamic correlation metric that is then visualized as a color-coded histogram, with green representing positive correlation and red indicating negative correlation.
Why it may be useful
This signal provides traders with a sophisticated tool for understanding complex intermarket relationships between equity and bond markets. By revealing how the S&P 500 E-mini and Treasury Bond futures interact, traders can gain deeper insights into potential market trends and economic dynamics.
The exponentially weighted approach allows for more responsive and nuanced analysis compared to traditional correlation methods. Traders can use this information to make more informed decisions about portfolio allocation, risk management, and potential trading opportunities across different market segments.
When to explore it
This indicator is most effective during periods of significant market uncertainty or potential economic transitions. Traders can leverage it to monitor shifts in the stock-bond relationship, which often signals broader economic trends or potential market regime changes.
It is particularly valuable during events that might impact both equity and bond markets, such as Federal Reserve announcements, major economic data releases, or global geopolitical developments. The indicator helps traders identify potential divergences or alignments between these two critical financial instruments.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.



![Moving Average Shift [ChartPrime] chart preview](https://s3.tradingview.com/a/aApUyBnk.png?v=1741613333)
