Class MomentumTrend
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "MomentumTrendDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602636")]
public class MomentumTrend : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectMomentumTrend
- Implements
- Inherited Members
- Extension Methods
Constructors
MomentumTrend()
public MomentumTrend()
Properties
Period
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 20)]
[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.