Bollinger Constructor (IAverager, TimeSpan, 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 public Bollinger(
IAverager meanAverager,
TimeSpan deviationTimePeriod,
double factor,
bool highPrecision
)
Parameters
- meanAverager
- Type: FinAnalysis.BaseIAverager
Averager for calculating middle band. - deviationTimePeriod
- 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.
See Also