Bollinger Constructor (Int32, Double, Boolean) |
Creates new instance of Bollinger technical indicator with point window.
Namespace:
FinAnalysis.TA
Assembly:
FinAnalysis (in FinAnalysis.dll) Version: 2.1.13-cc97e13414b71fde928e8f3a546ac1daf26f295f
Syntax public Bollinger(
int period,
double factor,
bool highPrecision
)
Parameters
- period
- Type: SystemInt32
Number of items 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 Exception | Condition |
---|
ArgumentException | Thrown when factor is less or equal to 0. |
See Also