Table of Contents

Class Alligator

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

Constructors

Alligator()

public Alligator()

Properties

JawPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "JawAlligator", Description = "LongPeriodDescription", Order = 0)]
public int JawPeriod { get; set; }

Property Value

int

JawShift

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Shift", GroupName = "JawAlligator", Description = "BarShiftDescription", Order = 1)]
public int JawShift { get; set; }

Property Value

int

LipsPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "LipsAlligator", Description = "ShortPeriodDescription", Order = 0)]
public int LipsPeriod { get; set; }

Property Value

int

LipsShift

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Shift", GroupName = "LipsAlligator", Description = "BarShiftDescription", Order = 1)]
public int LipsShift { get; set; }

Property Value

int

TeethPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "TeethAlligator", Description = "MediumPeriodDescription", Order = 0)]
public int TeethPeriod { get; set; }

Property Value

int

TeethShift

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Shift", GroupName = "TeethAlligator", Description = "BarShiftDescription", Order = 1)]
public int TeethShift { 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.