Class BollingerPercentB
- Namespace
- StockSharp.Algo.Indicators
- Assembly
- StockSharp.Algo.dll
Bollinger %b indicator.
[Display(ResourceType = typeof(LocalizedStrings), Name = "BBP", Description = "BollingerPercentB")]
public class BollingerPercentB : BaseIndicator, IIndicator, IPersistable, ICloneable<IIndicator>, ICloneable
- Inheritance
-
BollingerPercentB
- Implements
-
IPersistableICloneable<IIndicator>
- Derived
- Inherited Members
- Extension Methods
Constructors
BollingerPercentB()
Initializes a new instance of the BollingerPercentB.
public BollingerPercentB()
Properties
Length
Period length.
[Display(ResourceType = typeof(LocalizedStrings), Name = "Period", Description = "IndicatorPeriod", GroupName = "General")]
public int Length { get; set; }
Property Value
Measure
public override IndicatorMeasures Measure { get; }
Property Value
StdDevMultiplier
Standard deviation multiplier.
[Display(ResourceType = typeof(LocalizedStrings), Name = "StdDev", Description = "StdDevMultiplier", GroupName = "General")]
public decimal StdDevMultiplier { get; set; }
Property Value
Methods
Load(SettingsStorage)
Load settings.
public override void Load(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.
OnProcess(IIndicatorValue)
To handle the input value.
protected override IIndicatorValue OnProcess(IIndicatorValue input)
Parameters
input
IIndicatorValueThe input value.
Returns
- IIndicatorValue
The resulting value.
Reset()
To reset the indicator status to initial. The method is called each time when initial settings are changed (for example, the length of period).
public override void Reset()
Save(SettingsStorage)
Save settings.
public override void Save(SettingsStorage storage)
Parameters
storage
SettingsStorageSettings storage.