Table of Contents

Class Inertia2

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

Constructors

Inertia2()

public Inertia2()

Properties

LinearRegPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "LinearReg", GroupName = "Period", Description = "LinearRegPeriodDescription", Order = 110)]
[Range(1, 10000)]
public int LinearRegPeriod { get; set; }

Property Value

int

RviPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "RVI", GroupName = "Period", Description = "RVIPeriodDescription", Order = 100)]
[Range(1, 10000)]
public int RviPeriod { get; set; }

Property Value

int

StdDevPeriod

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "StdDev", GroupName = "Period", Description = "StdDevPeriodDescription", Order = 120)]
[Range(1, 10000)]
public int StdDevPeriod { 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.