Class StochasticMomentum
- Namespace
- ATAS.Indicators.Technical
- Assembly
- ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "StochasticMomentumDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602480")]
public class StochasticMomentum : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
- Inheritance
-
objectStochasticMomentum
- Implements
- Inherited Members
- Extension Methods
Constructors
StochasticMomentum()
public StochasticMomentum()
Properties
EmaPeriod
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "EMA", GroupName = "Settings", Description = "EMAPeriodDescription", Order = 120)]
[Range(1, 10000)]
public int EmaPeriod { get; set; }
Property Value
- int
PeriodD
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "PeriodD", GroupName = "Settings", Description = "PeriodDescription", Order = 110)]
[Range(1, 10000)]
public int PeriodD { get; set; }
Property Value
- int
PeriodK
[Parameter]
[Display(ResourceType = typeof(Strings), Name = "PeriodK", GroupName = "Settings", Description = "PeriodDescription", Order = 100)]
[Range(1, 10000)]
public int PeriodK { 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.