Class BollingerBandsPercent
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "BollingerBandsPercentDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602336")]
public class BollingerBandsPercent : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectBollingerBandsPercent
- Implements
- Inherited Members
- Extension Methods
Constructors
BollingerBandsPercent()
public BollingerBandsPercent()
Properties
CalcMode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Settings", Description = "CalculationModeDescription", Order = 100)]
public BollingerBandsPercent.Mode CalcMode { get; set; }
Property Value
Period
[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 110)]
public int Period { get; set; }
Property Value
- int
Width
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "BBandsWidth", GroupName = "Settings", Description = "DeviationRangeDescription", Order = 120)]
public decimal Width { get; set; }
Property Value
- decimal
Methods
OnCalculate(int, decimal)
The main indicator calculation method is called for each bar on the history, then it is called on each tick.
protected override void OnCalculate(int bar, decimal value)
Parameters
barintBar number.
valuedecimalInput data series value.