Class HMA
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "HMADescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602550")]
public class HMA : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectHMA
- Implements
- Inherited Members
- Extension Methods
Constructors
HMA()
public HMA()
Properties
BearishColor
[Display(ResourceType = typeof(Strings), Name = "BearlishColor", GroupName = "Visualization", Description = "BearishColorDescription", Order = 220)]
public Color BearishColor { get; set; }
Property Value
- Color
BullishColor
[Display(ResourceType = typeof(Strings), Name = "BullishColor", GroupName = "Visualization", Description = "BullishColorDescription", Order = 210)]
public Color BullishColor { get; set; }
Property Value
- Color
ColoredDirection
[Display(ResourceType = typeof(Strings), Name = "ColoredDirection", GroupName = "Visualization", Description = "ColoredDirectionDescription", Order = 200)]
public bool ColoredDirection { get; set; }
Property Value
- bool
Period
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 100)]
[Range(1, 10000)]
public int Period { 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.