It's the actual 50 day SMA, calculated all the way to the end, but then you move it to the left 20 candles.
On the attached chart, the turquoise SMA is the 50SMA with NO shift. As you can see the lines are exactly the same.
You can do all that crazy stuff with metatrader, thats why I...