Table of Contents

Class AMA

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

Constructors

AMA()

public AMA()

Properties

FastConstant

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "FastConst", GroupName = "Settings", Description = "FastConstDescription", Order = 110)]
public decimal FastConstant { get; set; }

Property Value

decimal

Period

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

Property Value

int

SlowConstant

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SlowConst", GroupName = "Settings", Description = "SlowConstDescription", Order = 110)]
public decimal SlowConstant { get; set; }

Property Value

decimal

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.

OnInitialize()

Added in ATAS 8.0.15.

protected override void OnInitialize()