Look how the 50 SMA worked during the trending moves.
When it broke below it in the uptrend the regain of the 50 SMA was the sign of the continuation of the trend.
When price broke above it in the downtrend losing again the 50 SMA was the sign of the continuation of the downtrend.