| Multiply(Array1, Array2) as Array OR Multiply(Array, Number) as Array |
This function has two parameters:
| Array | An array, no matter the size. |
| Number | The number to multiply at each item of the array |
Example:
|
' This is an indicator ' It shows the multiplication of the simple and the exponential moving averages. Sub Main() TArr = SMA(GetClose, 10) TArr2 = EMA(GetClose, 10) SetIndic(Multiply(TArr, TArr2)) End Sub |