Simple Moving Average of the specified period for the current bar
 
- period (Int32)
 - moving average period (in bars)
 
Returns the moving average value for the current bar.
 plot the 30 bar moving average of price
 
CopyVB.NET
plot = price.AVG(30)