Table of Contents

Class MomentumOscillator

Namespace
ATAS.Indicators.Technical
Assembly
ATAS.Indicators.Technical.dll
[Display(ResourceType = typeof(Strings), Description = "MomentumOscillatorDescription")]
[HelpLink("https://help.atas.net/support/solutions/articles/72000602449")]
public class MomentumOscillator : Indicator, INotifyPanelPropertyChanged, IPropertiesEditorOwner, IMarketTimeProvider
Inheritance
object
MomentumOscillator
Implements
Inherited Members
Extension Methods

Constructors

MomentumOscillator()

public MomentumOscillator()

Properties

Period1

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period1", GroupName = "Settings", Description = "PeriodDescription", Order = 120)]
[Range(1, 10000)]
public int Period1 { get; set; }

Property Value

int

Period2

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period2", GroupName = "Settings", Description = "PeriodDescription", Order = 120)]
[Range(1, 10000)]
public int Period2 { get; set; }

Property Value

int

SignalPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "SignalPeriod", GroupName = "Settings", Description = "EMAPeriodDescription", Order = 110)]
[Range(1, 10000)]
public int SignalPeriod { 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

bar int

Bar number.

value decimal

Input data series value.