Table of Contents

Class ROC

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

Constructors

ROC()

public ROC()

Properties

CalcMode

[Display(ResourceType = typeof(Strings), Name = "CalculationMode", GroupName = "Settings", Description = "CalculationModeDescription", Order = 90)]
public ROC.Mode CalcMode { get; set; }

Property Value

ROC.Mode

Multiplier

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Multiplier", GroupName = "Settings", Description = "MultiplierDescription", Order = 110)]
[Range(1E-07, 10000000000)]
public decimal Multiplier { get; set; }

Property Value

decimal

Period

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "PeriodDescription", Order = 100)]
[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

bar int

Bar number.

value decimal

Input data series value.