Table of Contents

Class Donchian

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

Constructors

Donchian()

public Donchian()

Properties

Period

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

Property Value

int

ShowAverage

[Display(ResourceType = typeof(Strings), Name = "ShowAverage", Description = "ShowMidlineDescription")]
public bool ShowAverage { get; set; }

Property Value

bool

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.