Table of Contents

Class DMI

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

Constructors

DMI()

public DMI()

Properties

RsiMax

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "MaxPeriod", GroupName = "RSI", Description = "LongPeriodDescription", Order = 120)]
[Range(1, 10000)]
public int RsiMax { get; set; }

Property Value

int

RsiMin

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "MinPeriod", GroupName = "RSI", Description = "ShortPeriodDescription", Order = 110)]
[Range(1, 10000)]
public int RsiMin { get; set; }

Property Value

int

RsiPeriod

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

Property Value

int

SmaPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "StdDev", Description = "SMAPeriodDescription", Order = 210)]
public int SmaPeriod { get; set; }

Property Value

int

StdPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "StdPeriod", GroupName = "StdDev", Description = "StdPeriodDescription", Order = 200)]
[Range(1, 10000)]
public int StdPeriod { 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.