Table of Contents

Class ColorBarOpenClose

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

Constructors

ColorBarOpenClose()

public ColorBarOpenClose()

Properties

HighColor

[Display(ResourceType = typeof(Strings), Name = "Highest", GroupName = "Color", Description = "BullishColorDescription", Order = 100)]
public Color HighColor { get; set; }

Property Value

Color

LowColor

[Display(ResourceType = typeof(Strings), Name = "Lowest", GroupName = "Color", Description = "BearishColorDescription", Order = 100)]
public Color LowColor { get; set; }

Property Value

Color

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.

OnRecalculate()

The method is executed before a new calculation.

protected override void OnRecalculate()