Click or drag to resize

Bollinger Constructor (IAverager, Int32, Double, Boolean)

Creates new instance of Bollinger technical indicator with given averager for calculating middle band and given period for deviation.

Namespace:  FinAnalysis.TA
Assembly:  FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax
C#
public Bollinger(
	IAverager meanAverager,
	int deviationPeriod,
	double factor,
	bool highPrecision
)

Parameters

meanAverager
Type: FinAnalysis.BaseIAverager
Averager for calculating middle band.
deviationPeriod
Type: SystemInt32
Period for calculating deviation.
factor
Type: SystemDouble
Multiplier for Upper/Lower bands.
highPrecision
Type: SystemBoolean
Calculate separate statistics on non-overlapped windows and update it on the window boundary for statistics error minimization at the cost of small performance decrease.
See Also