Simple Moving Average of the specified period for the barsAgo
Returns the moving average value for the current bar.
plot the 30 bar moving average of price, 1 bar ago
CopyVB.NET
plot = price.AVG(30,1)
plot = price.AVG(30,1)