Table of Contents

Class DynamicLevelsChannel

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

Constructors

DynamicLevelsChannel()

public DynamicLevelsChannel()

Properties

AlertBGColor

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

Property Value

Color

AlertFile

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

Property Value

string

AlertForeColor

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

Property Value

Color

ApproximationFilter

[Display(ResourceType = typeof(Strings), Name = "ApproximationFilter", GroupName = "Alerts", Description = "ApproximationFilterDescription", Order = 310)]
public int ApproximationFilter { get; set; }

Property Value

int

AreaColor

[Display(ResourceType = typeof(Strings), Name = "AreaColor", GroupName = "Drawing", Description = "AreaColorDescription")]
public Color AreaColor { get; set; }

Property Value

Color

CalcMode

[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Settings", Description = "SourceTypeDescription", Order = 100)]
public DynamicLevelsChannel.CalculationMode CalcMode { get; set; }

Property Value

DynamicLevelsChannel.CalculationMode

Days

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

Property Value

int

Period

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

Property Value

int

UseAlerts

[Display(ResourceType = typeof(Strings), Name = "PocChangeAlert", GroupName = "Alerts", Description = "UsePocChangeAlertDescription", Order = 320)]
public bool UseAlerts { get; set; }

Property Value

bool

UseApproximationAlert

[Display(ResourceType = typeof(Strings), Name = "ApproximationAlert", GroupName = "Alerts", Description = "IsApproximationAlertDescription", Order = 300)]
public bool UseApproximationAlert { get; set; }

Property Value

bool

UsePocTouchAlert

[Display(ResourceType = typeof(Strings), Name = "PocAlert", GroupName = "Alerts", Description = "UsePocTouchAlertDescription", Order = 330)]
public bool UsePocTouchAlert { get; set; }

Property Value

bool

UseVahTouchAlert

[Display(ResourceType = typeof(Strings), Name = "VahAlert", GroupName = "Alerts", Description = "UseVAHTouchAlertDescription", Order = 350)]
public bool UseVahTouchAlert { get; set; }

Property Value

bool

UseValTouchAlert

[Display(ResourceType = typeof(Strings), Name = "ValAlert", GroupName = "Alerts", Description = "UseVALTouchAlertDescription", Order = 340)]
public bool UseValTouchAlert { get; set; }

Property Value

bool

Methods

OnApplyDefaultColors()

Invoked to apply default colors to the drawing elements.

protected override void OnApplyDefaultColors()

Remarks

This method can be overridden in derived classes to customize or set default color values for the drawing elements. When this method is called, it is an opportunity for the derived class to apply its own default color scheme to the drawing elements used in the specific implementation.

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.