How To Create TradingView Alerts on Cross of 5-Day SMA

In the Alpha indicator, starting in version 2.2, you can now create a custom TradingView alert when price cross over or under the 5-day SMA.

The 5-day SMA represents 5 full trading days, regardless of the chart’s time frame, it is ~not~ the same as a 5-period SMA.
For more information: Insider Details on the 5-Day Simple Moving Average.