Table of Contents

Class GMMA

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

Constructors

GMMA()

public GMMA()

Properties

EmaLongPeriod1

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod1", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 200)]
[Range(1, 10000)]
public int EmaLongPeriod1 { get; set; }

Property Value

int

EmaLongPeriod2

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod2", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 210)]
[Range(1, 10000)]
public int EmaLongPeriod2 { get; set; }

Property Value

int

EmaLongPeriod3

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod3", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 220)]
[Range(1, 10000)]
public int EmaLongPeriod3 { get; set; }

Property Value

int

EmaLongPeriod4

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod4", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 230)]
[Range(1, 10000)]
public int EmaLongPeriod4 { get; set; }

Property Value

int

EmaLongPeriod5

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod5", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 240)]
[Range(1, 10000)]
public int EmaLongPeriod5 { get; set; }

Property Value

int

EmaLongPeriod6

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EmaPeriod6", GroupName = "LongPeriod", Description = "PeriodDescription", Order = 250)]
[Range(1, 10000)]
public int EmaLongPeriod6 { get; set; }

Property Value

int

EmaPeriod1

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

Property Value

int

EmaPeriod2

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

Property Value

int

EmaPeriod3

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

Property Value

int

EmaPeriod4

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

Property Value

int

EmaPeriod5

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

Property Value

int

EmaPeriod6

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

Property Value

int

LongColor

[Display(ResourceType = typeof(Strings), Name = "LongPeriod", GroupName = "Colors", Description = "LongPeriodColorDescription", Order = 60)]
public Color LongColor { get; set; }

Property Value

Color

ShortColor

[Display(ResourceType = typeof(Strings), Name = "ShortPeriod", GroupName = "Colors", Description = "ShortPeriodColorDescription", Order = 50)]
public Color ShortColor { get; set; }

Property Value

Color

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.