Class BarNumbering
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "BarNumberingDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000618457")]
public class BarNumbering : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectBarNumbering
- Implements
- Inherited Members
- Extension Methods
Constructors
BarNumbering()
public BarNumbering()
Properties
DisplayBottom
[Display(ResourceType = typeof(Strings), Name = "DisplayBottom", GroupName = "Visualization", Description = "DisplayLabelChartBottomDescription", Order = 100)]
public bool DisplayBottom { get; set; }
Property Value
- bool
Font
[Display(ResourceType = typeof(Strings), Name = "Font", GroupName = "Visualization", Description = "FontSettingDescription", Order = 90)]
public FontSetting Font { get; set; }
Property Value
FontColor
[Display(ResourceType = typeof(Strings), Name = "FontColor", GroupName = "Visualization", Description = "LabelTextColorDescription", Order = 95)]
public Color FontColor { get; set; }
Property Value
- Color
Offset
[Display(ResourceType = typeof(Strings), Name = "VerticalOffset", GroupName = "Visualization", Description = "LabelOffsetYDescription", Order = 110)]
public int Offset { get; set; }
Property Value
- int
Period
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Visualization", Description = "PeriodDescription", Order = 120)]
[Range(1, 100000)]
public int Period { get; set; }
Property Value
- int
ResetOnSession
[Display(ResourceType = typeof(Strings), Name = "ResetOnSession", GroupName = "Visualization", Description = "ResetOnSessionFilterDescription", Order = 130)]
public bool ResetOnSession { 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
barintBar number.
valuedecimalInput data series value.
OnRender(RenderContext, DrawingLayouts)
Added in ATAS 8.0.15.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextlayoutDrawingLayouts