Table of Contents

Class CMO

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

Constructors

CMO()

public CMO()

Properties

PeriodLong

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "LongPeriod", Description = "LongPeriodDescription")]
[Range(1, 10000)]
public int PeriodLong { get; set; }

Property Value

int

PeriodShort

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "ShortPeriod", Description = "ShortPeriodDescription")]
[Range(1, 10000)]
public int PeriodShort { 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.