Table of Contents

Class ForceIndex

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

Constructors

ForceIndex()

public ForceIndex()

Properties

Period

[Parameter]
[Browsable(false)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod", GroupName = "Settings", Order = 110)]
[Range(1, 10000)]
public int Period { get; set; }

Property Value

int

PeriodFilter

[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "EMAPeriod", GroupName = "Settings", Description = "EMAPeriodDescription", Order = 10)]
public FilterInt PeriodFilter { get; set; }

Property Value

FilterInt

UseEma

[Browsable(false)]
[Display(ResourceType = typeof(Strings), Name = "UseMA", GroupName = "Settings", Order = 100)]
public bool UseEma { get; set; }

Property Value

bool

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.

OnInitialize()

The method is executed before the first calculation.

protected override void OnInitialize()