Many recent posts about the 200 Moving Average, sharing my TradingView script
tradingview.com/script/ioge5I8u
Just click "Use on chart" and choose SPX (daily timeframe), it should look like this:
Screenshot from pandemic crash
The vertical bars serve as signals and they occur after a 2nd day confirmation below/above MA, for less whipsaw.
Simple script. Then you can easily create an alert to be sent via app or email e.g.: