Table of Contents

Class KeltnerChannel

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

Constructors

KeltnerChannel()

public KeltnerChannel()

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

Days

[Parameter]
[Display(ResourceType = typeof(Strings), GroupName = "Calculation", Name = "DaysLookBack", Order = 2147483647, Description = "DaysLookBackDescription")]
[Range(0, 1000)]
public int Days { get; set; }

Property Value

int

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

Koef

[Display(ResourceType = typeof(Strings), Name = "OffsetMultiplier", GroupName = "Calculation", Description = "ATRMultiplierDescription", Order = 20)]
[Parameter]
[Range(1E-08, 10000000)]
public decimal Koef { get; set; }

Property Value

decimal

Period

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Calculation", Description = "SMAPeriodDescription", Order = 20)]
[Range(1, 10000)]
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

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

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.