During bull markets, when animal spirits are running wild, stocks run up a lot and get over-extended relative to the 40-week ma.
Then, profit taking reverses the momentum + shorts pile on and bring prices close to the 40-week ma.
No need to complicate things, keep it simple.