Table of Contents

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
object
RoundNr
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

PenSettings

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

bar int

Bar number.

value decimal

Input 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

context RenderContext

The rendering context used to draw on the chart.

layout DrawingLayouts

The layout information for the drawing.