AMEX:SPY   SPDR S&P 500 ETF TRUST
See chart below. This is a different way of doing this but...

I have circled on 1 day ticks every time that the S&P has touched the 200 day moving average with Orange circles.

I have also measured some of the longest runs that we have not touched the 200 day M/A.

Comment your thoughts.
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.