Listshifter Moving Average Calculation

Hi - this is a bit more of an advanced question, but I’ll try anyways.

I’m bringing in price data for cryptocurrencies and stocks via an API. I am trying to calculate moving averages based on this data using list shifter, though I’m open to using any method.

Trying to figure out which mathematical operators to use in listshifter to achieve the desired result.

Here is the formula to calculate a moving average:
image

Any help at all would be greatly appreciated!