Table of Contents

Class AveragePriceBar

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

Constructors

AveragePriceBar()

public AveragePriceBar()

Properties

CalcMode

[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Settings", Description = "CalculationModeDescription", Order = 110)]
public AveragePriceBar.Mode CalcMode { get; set; }

Property Value

AveragePriceBar.Mode

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.