| Mov(Name, Place, Period) as Number |
This function has three parameters:
| Name | Enter the name of the indicator or price you want to retrieve the moving average |
| Place | Enter the place you want to retrieve the moving average of. |
| Period | Enter the period to calculate the simple moving average |
Example:
|
' This is a report showing the mean of the 10 last closing prices. Sub Main() TakeThisStock Header 1, "Mean Price" Header 2, "Last Price" PutInGrid 1, Mov("Close", Last, 10) PutInGrid 2, Close(Last) End Sub |