Table of Contents

Class RolloverDates

Namespace
ATAS.Indicators.Technical
Assembly
ATAS.Indicators.Technical.dll
public class RolloverDates : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
Inheritance
object
RolloverDates
Implements
Inherited Members
Extension Methods

Constructors

RolloverDates()

public RolloverDates()

Properties

FontSetting

[Display(ResourceType = typeof(Strings), Name = "Font", GroupName = "Label", Description = "FontSettingDescription")]
public FontSetting FontSetting { get; set; }

Property Value

FontSetting

LabelOffsetX

[Display(ResourceType = typeof(Strings), Name = "OffsetX", GroupName = "Label", Description = "LabelOffsetXDescription")]
public int LabelOffsetX { get; set; }

Property Value

int

LabelOffsetY

[Range(0, 2147483647)]
[Display(ResourceType = typeof(Strings), Name = "OffsetY", GroupName = "Label", Description = "LabelOffsetYDescription")]
public int LabelOffsetY { get; set; }

Property Value

int

LineSettings

[Display(ResourceType = typeof(Strings), Name = "LineSettings", GroupName = "Drawing", Description = "LineSettingsDescription")]
public PenSettings LineSettings { get; set; }

Property Value

PenSettings

RolloverType

[Display(ResourceType = typeof(Strings), Name = "RolloverType", GroupName = "Settings")]
[Parameter]
public FilterEnum<ContractRolloverType> RolloverType { get; set; }

Property Value

FilterEnum<ContractRolloverType>

ShowLabels

[Display(ResourceType = typeof(Strings), Name = "ShowLabelsOfFinishedLines", GroupName = "Label", Description = "ShowLabelsOfFinishedLinesDescription")]
public bool ShowLabels { get; set; }

Property Value

bool

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.

OnInitialize()

The method is executed before the first calculation.

protected override void OnInitialize()

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.

ProcessMouseMove(RenderControlMouseEventArgs)

Processes a mouse move event on the chart object.

public override bool ProcessMouseMove(RenderControlMouseEventArgs e)

Parameters

e RenderControlMouseEventArgs

The mouse event arguments.

Returns

bool

true if the event was handled; otherwise, false.