StandardDeviation(StdDev)
The Standard Deviation (StdDev) is a tool used in statistics and probability calculation. It measures the dispersion of the values of a random variable around its median value. The Standard Deviation is used for the calculation of many indicators, such as for example, the Bollinger Bands.
A lower standard deviation implies that the data points are located very close to their median value. The trading application assumes that prices will return to their median value.
StdDev (int period)
StdDev (IDataSeries inSeries, int period)
StdDev (int period)[int barsAgo]
StdDev (IDataSeries inSeries, int period)[int barsAgo]
double
When using this method with an index (e.g. StdDev(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
inSeries Input data series for the indicator
period Number of bars included in the calculations

StandardDeviation(StdDev)
//Output for the StdDev
Print("The current value for the standard deviation is: " + StdDev(14)[0]);