Hi,
is it possible to plot a standard deviation on an indicator?
Daniel
volatility standard dev
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
StdDev (Function)
The StdDev function calculates a standard deviation of a population of values.
Syntax
StdDev( Price, Length )
Returns (Double)
A numeric value containing the current standard deviation.
Parameters
Price Numeric
Specifies which bar value (price, function, or formula) to be considered.
Length Numeric
Sets the number of bars to be considered.
Remarks
To find the standard deviation,
first find the variance and then take its square root.
Example
Assigns to Value1 the standard deviation of Close over 10 bars.
Value1 = StdDev(Close, 10);
The StdDev function calculates a standard deviation of a population of values.
Syntax
StdDev( Price, Length )
Returns (Double)
A numeric value containing the current standard deviation.
Parameters
Price Numeric
Specifies which bar value (price, function, or formula) to be considered.
Length Numeric
Sets the number of bars to be considered.
Remarks
To find the standard deviation,
first find the variance and then take its square root.
Example
Assigns to Value1 the standard deviation of Close over 10 bars.
Value1 = StdDev(Close, 10);
- TJ
- Posts: 7740
- Joined: 29 Aug 2006
- Location: Global Citizen
- Has thanked: 1033 times
- Been thanked: 2221 times
- Andrew Kirillov
- Posts: 1589
- Joined: 28 Jul 2005
- Has thanked: 2 times
- Been thanked: 31 times
- Contact: