Statistical function “standard deviation” of a time series N of selected price.

Syntax:

Calculation :

STD = SQUAREROOT[(summation(from d = 1 to n)(Close-Moving average on n days)²]

Interpretation :

Standard deviation measures the volatility of prices.

It is often used in relation to some indicators. For example the Bollinger bands are calculated from an arithmetic moving average. To plot an upper and lower band, add and substract 2 * (std deviation) as default parameters.

 

Example:

 

Share this