Table of Contents

Class CBI

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

Constructors

CBI()

public CBI()

Properties

MomentumPeriod

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Momentum", Description = "PeriodDescription", Order = 200)]
public int MomentumPeriod { get; set; }

Property Value

int

Rsi1Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod1", GroupName = "RSI", Description = "PeriodDescription", Order = 100)]
public int Rsi1Period { get; set; }

Property Value

int

Rsi2Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod2", GroupName = "RSI", Description = "PeriodDescription", Order = 110)]
public int Rsi2Period { get; set; }

Property Value

int

Sma1Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod1", GroupName = "SMA", Description = "PeriodDescription", Order = 300)]
public int Sma1Period { get; set; }

Property Value

int

Sma2Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod2", GroupName = "SMA", Description = "PeriodDescription", Order = 310)]
public int Sma2Period { get; set; }

Property Value

int

Sma3Period

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod3", GroupName = "SMA", Description = "PeriodDescription", Order = 320)]
public int Sma3Period { 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.