Ok, I see now what you want to do. That is just a delayed SMA.

You could shift the series into the past by adding +n, or even simpler, just calculate the SMA from a delayed price:

vars Buy1_1 = series(SMA(series(priceClose(n)),14));

n is the displacement.