Class KAMA
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "KAMADescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602525")]
public class KAMA : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectKAMA
- Implements
- Inherited Members
- Extension Methods
Constructors
KAMA()
public KAMA()
Properties
EfficiencyRatioPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EfficiencyRatioPeriod", GroupName = "Common", Description = "PeriodDescription")]
[Range(1, 10000)]
public int EfficiencyRatioPeriod { get; set; }
Property Value
- int
LongPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "LongPeriod", GroupName = "Common", Description = "LongPeriodDescription")]
[Range(1, 10000)]
public int LongPeriod { get; set; }
Property Value
- int
ShortPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "ShortPeriod", GroupName = "Common", Description = "ShortPeriodDescription")]
[Range(1, 10000)]
public int ShortPeriod { 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
barintBar number.
valuedecimalInput data series value.