Table of Contents

Class ColorBarHighLow

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

Constructors

ColorBarHighLow()

public ColorBarHighLow()

Properties

AverageColor

[Display(ResourceType = typeof(Strings), Name = "Average", GroupName = "Color", Description = "ColorDescription", Order = 100)]
public Color AverageColor { get; set; }

Property Value

Color

HighColor

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

Property Value

Color

LowColor

[Display(ResourceType = typeof(Strings), Name = "Lowest", GroupName = "Color", Description = "ColorDescription", 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()