Purchase rules
The moving average changes from downward to horizontal and moves upward. When the closing price changes from downward to upward, it crosses the average and exceeds it, forming a buy signal. As shown in the figure below:
Sales rules
The price moves above the average line and shows an upward trend, and it is getting farther and farther away from the average line, indicating that the buyer has made a profit recently, and then there will be profit taking, which is a selling signal. As shown in the figure below: