StdDev(Array, Period) as Array

StdDev returns an array containing the Standard Deviation of the selected period of the array.

 

This function has two parameters:
Array   The array that contains the initial values to process the standard deviation.
Period   The period of the standard deviation. Must be an integer.

 

Example:

' This is an indicator showing the standard deviation of the closing prices.
Sub Main()
  SetIndic(StdDev(GetClose, 10))
End Sub