Class ADR
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "ADRDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602312")]
public class ADR : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectADR
- Implements
- Inherited Members
- Extension Methods
Constructors
ADR()
public ADR()
Properties
CalculationMode
[Display(ResourceType = typeof(Strings), Name = "CalculationMode", Description = "CalculationModeDescription")]
public ADR.ControlPoint CalculationMode { get; set; }
Property Value
FontSize
[Range(1, 100)]
[Display(ResourceType = typeof(Strings), Name = "FontSize", Description = "FontSizeDescription")]
public float FontSize { get; set; }
Property Value
- float
Pen
[Display(ResourceType = typeof(Strings), Name = "ADR", GroupName = "Drawing", Description = "PenSettingsDescription")]
public PenSettings Pen { get; set; }
Property Value
Period
[Parameter]
[Range(2, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Period", Description = "PeriodDescription")]
public int Period { get; set; }
Property Value
- int
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
barintBar number.
valuedecimalInput data series value.