Class MacdLeader
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "MacdLeaderDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602419")]
public class MacdLeader : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectMacdLeader
- Implements
- Inherited Members
- Extension Methods
Constructors
MacdLeader()
public MacdLeader()
Properties
MacdLongPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "LongPeriod", GroupName = "Settings", Description = "LongPeriodDescription", Order = 120)]
[Range(1, 10000)]
public int MacdLongPeriod { get; set; }
Property Value
- int
MacdPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 100)]
[Range(1, 10000)]
public int MacdPeriod { get; set; }
Property Value
- int
MacdShortPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "ShortPeriod", GroupName = "Settings", Description = "ShortPeriodDescription", Order = 110)]
[Range(1, 10000)]
public int MacdShortPeriod { 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.
OnRecalculate()
The method is executed before a new calculation.
protected override void OnRecalculate()