Class RolloverDates
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
public class RolloverDates : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectRolloverDates
- 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
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
RolloverType
[Display(ResourceType = typeof(Strings), Name = "RolloverType", GroupName = "Settings")]
[Parameter]
public FilterEnum<ContractRolloverType> RolloverType { get; set; }
Property Value
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
barintBar number.
valuedecimalInput 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
contextRenderContextThe rendering context used to draw on the chart.
layoutDrawingLayoutsThe layout information for the drawing.
ProcessMouseMove(RenderControlMouseEventArgs)
Processes a mouse move event on the chart object.
public override bool ProcessMouseMove(RenderControlMouseEventArgs e)
Parameters
eRenderControlMouseEventArgsThe mouse event arguments.
Returns
- bool
trueif the event was handled; otherwise,false.