BollingerBand

StockSharp.Algo.Indicators

Bollinger band.

继承自: BaseIndicator

构造函数

BollingerBand(DecimalLengthIndicator, StandardDeviation)

Initializes a new instance of the BollingerBand.

ma
Moving Average.
dev
Standard deviation.

属性

NumValuesToInitialize : int

Number of values that need to be processed in order for the indicator to initialize (be IsFormed equals ). if undefined.

Width : decimal

Channel width.

方法

Load(SettingsStorage)

Load settings.

storage
Settings storage.
OnProcess(IIndicatorValue) : IIndicatorValue

To handle the input value.

input
The input value.

返回值: The resulting value.

Save(SettingsStorage)

Save settings.

storage
Settings storage.
ToString() : string

Преобразовать к строковому представлению.

返回值: Строковое представление.