Class RoundNr
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "RoundNrDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602459")]
public class RoundNr : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectRoundNr
- Implements
- Inherited Members
- Extension Methods
Constructors
RoundNr()
public RoundNr()
Properties
Pen
[Display(ResourceType = typeof(Strings), Name = "Line", GroupName = "Settings", Description = "PenSettingsDescription", Order = 110)]
public PenSettings Pen { get; set; }
Property Value
Step
[Display(ResourceType = typeof(Strings), Name = "Step", GroupName = "Settings", Description = "StepSizeInTicksDescription", Order = 100)]
[Range(1, 1000000)]
public int Step { get; set; }
Property Value
- int
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
barintBar number.
valuedecimalInput data series value.
OnRender(RenderContext, DrawingLayouts)
Override this method for implementing your own data rendering logic.
protected override void OnRender(RenderContext context, DrawingLayouts layout)
Parameters
contextRenderContextThe rendering context used to draw on the chart.
layoutDrawingLayoutsThe layout information for the drawing.