| SMA(Array, Period) as Array |
This function has two parameters:
| Array | The array that contains the initial values to process the simple moving average. |
| Period | The period of the moving average. Must be an integer. |
Example:
|
' Trix MA ' This is an indicator Sub Main() TempArr = GetIndic("Trix") SetIndic SMA(TempArr, 10) End Sub |