Click or drag to resize

Bollinger Constructor (TimeSpan, Double, Boolean)

Creates new instance of Bollinger technical indicator with time window.

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

Parameters

timePeriod
Type: SystemTimeSpan
Time period used to calculate Bollinger bands.
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.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when factor is less or equal to 0.
See Also