Table of Contents

Class DailyChange

Namespace
ATAS.Indicators.Technical
Assembly
ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "DailyChangeDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602542")]
public class DailyChange : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
Inheritance
object
DailyChange
Implements
Inherited Members
Extension Methods

Constructors

DailyChange()

public DailyChange()

Properties

Alignment

[Display(ResourceType = typeof(Strings), Name = "TextLocation", GroupName = "Common", Description = "LabelLocationDescription")]
public DailyChange.Align Alignment { get; set; }

Property Value

DailyChange.Align

BackGroundBuyColor

[Display(ResourceType = typeof(Strings), Name = "BackGroundBuyColor", GroupName = "Colors", Description = "LabelFillColorDescription", Order = 2)]
public Color BackGroundBuyColor { get; set; }

Property Value

Color

BackGroundSellColor

[Display(ResourceType = typeof(Strings), Name = "BackGroundSellColor", GroupName = "Colors", Description = "LabelFillColorDescription", Order = 4)]
public Color BackGroundSellColor { get; set; }

Property Value

Color

BuyColor

[Display(ResourceType = typeof(Strings), Name = "BuyColor", GroupName = "Colors", Description = "PositiveValueColorDescription", Order = 1)]
public Color BuyColor { get; set; }

Property Value

Color

CalcType

[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Common", Description = "CalculationModeDescription")]
public DailyChange.CalculationType CalcType { get; set; }

Property Value

DailyChange.CalculationType

FontSize

[Display(ResourceType = typeof(Strings), Name = "FontSize", GroupName = "Common", Description = "FontSizeDescription")]
public int FontSize { get; set; }

Property Value

int

SellColor

[Display(ResourceType = typeof(Strings), Name = "SellColor", GroupName = "Colors", Description = "NegativeValueColorDescription", Order = 3)]
public Color SellColor { get; set; }

Property Value

Color

ValType

[Display(ResourceType = typeof(Strings), Name = "Type", GroupName = "Common", Description = "SourceDescription")]
public DailyChange.ValueType ValType { get; set; }

Property Value

DailyChange.ValueType

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.