Table of Contents

Class ADX

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

Constructors

ADX()

public ADX()

Properties

Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Common", Description = "PeriodDescription", Order = 20)]
public int Period { get; set; }

Property Value

int

SmoothPeriod

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Smoothing", GroupName = "Common", Description = "SmoothPeriodFilterDescription", Order = 19)]
public int SmoothPeriod { get; set; }

Property Value

int

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()