Table of Contents

Class BollingerBands

Namespace
ATAS.Indicators.Technical
Assembly
ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "BollingerBandsDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602339")]
public class BollingerBands : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
Inheritance
object
BollingerBands
Implements
Inherited Members
Extension Methods

Constructors

BollingerBands()

public BollingerBands()

Properties

AlertFileBot

[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "BottomBand", Description = "AlertFileDescription", Order = 330)]
public string AlertFileBot { get; set; }

Property Value

string

AlertFileMid

[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "MiddleBand", Description = "AlertFileDescription", Order = 230)]
public string AlertFileMid { get; set; }

Property Value

string

AlertFileTop

[Display(ResourceType = typeof(Strings), Name = "AlertFile", GroupName = "TopBand", Description = "AlertFileDescription", Order = 130)]
public string AlertFileTop { get; set; }

Property Value

string

AlertSensitivityBot

[Display(ResourceType = typeof(Strings), Name = "ApproximationFilter", GroupName = "BottomBand", Description = "ApproximationFilterDescription", Order = 320)]
[Range(0, 100000)]
public int AlertSensitivityBot { get; set; }

Property Value

int

AlertSensitivityMid

[Display(ResourceType = typeof(Strings), Name = "ApproximationFilter", GroupName = "MiddleBand", Description = "ApproximationFilterDescription", Order = 220)]
[Range(0, 100000)]
public int AlertSensitivityMid { get; set; }

Property Value

int

AlertSensitivityTop

[Display(ResourceType = typeof(Strings), Name = "ApproximationFilter", GroupName = "TopBand", Description = "ApproximationFilterDescription", Order = 120)]
[Range(0, 100000)]
public int AlertSensitivityTop { get; set; }

Property Value

int

BackgroundColorBot

[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "BottomBand", Description = "AlertFillColorDescription", Order = 350)]
public Color BackgroundColorBot { get; set; }

Property Value

Color

BackgroundColorMid

[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "MiddleBand", Description = "AlertFillColorDescription", Order = 250)]
public Color BackgroundColorMid { get; set; }

Property Value

Color

BackgroundColorTop

[Display(ResourceType = typeof(Strings), Name = "BackGround", GroupName = "TopBand", Description = "AlertFillColorDescription", Order = 150)]
public Color BackgroundColorTop { get; set; }

Property Value

Color

FontColorBot

[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "BottomBand", Description = "AlertTextColorDescription", Order = 340)]
public Color FontColorBot { get; set; }

Property Value

Color

FontColorMid

[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "MiddleBand", Description = "AlertTextColorDescription", Order = 240)]
public Color FontColorMid { get; set; }

Property Value

Color

FontColorTop

[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "TopBand", Description = "AlertTextColorDescription", Order = 140)]
public Color FontColorTop { get; set; }

Property Value

Color

Period

[Parameter]
[Range(0, 100000)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 20)]
public int Period { get; set; }

Property Value

int

RepeatAlertBot

[Display(ResourceType = typeof(Strings), Name = "RepeatAlert", GroupName = "BottomBand", Description = "RepeatAlertDescription", Order = 310)]
public bool RepeatAlertBot { get; set; }

Property Value

bool

RepeatAlertMid

[Display(ResourceType = typeof(Strings), Name = "RepeatAlert", GroupName = "MiddleBand", Description = "RepeatAlertDescription", Order = 210)]
public bool RepeatAlertMid { get; set; }

Property Value

bool

RepeatAlertTop

[Display(ResourceType = typeof(Strings), Name = "RepeatAlert", GroupName = "TopBand", Description = "RepeatAlertDescription", Order = 110)]
public bool RepeatAlertTop { get; set; }

Property Value

bool

Shift

[Display(ResourceType = typeof(Strings), Name = "Shift", GroupName = "Settings", Description = "BarShiftDescription", Order = 24)]
public int Shift { get; set; }

Property Value

int

UseAlertsBot

[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "BottomBand", Description = "UseAlertDescription", Order = 300)]
public bool UseAlertsBot { get; set; }

Property Value

bool

UseAlertsMid

[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "MiddleBand", Description = "UseAlertDescription", Order = 200)]
public bool UseAlertsMid { get; set; }

Property Value

bool

UseAlertsTop

[Display(ResourceType = typeof(Strings), Name = "UseAlerts", GroupName = "TopBand", Description = "UseAlertDescription", Order = 100)]
public bool UseAlertsTop { get; set; }

Property Value

bool

Width

[Parameter]
[Range(0, 100000)]
[Display(ResourceType = typeof(Strings), Name = "BBandsWidth", GroupName = "Settings", Description = "DeviationRangeDescription", Order = 22)]
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

bar int

Bar number.

value decimal

Input data series value.