Table of Contents

Class CCI

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

Constructors

CCI()

public CCI()

Properties

DrawLines

[Display(ResourceType = typeof(Strings), Name = "Show", GroupName = "Line", Description = "DrawLinesDescription", Order = 30)]
public bool DrawLines { get; set; }

Property Value

bool

Line100

[Display(ResourceType = typeof(Strings), Name = "p100", GroupName = "Line", Description = "OverboughtLimitDescription", Order = 30)]
public LineSeries Line100 { get; set; }

Property Value

LineSeries

LineM100

[Display(ResourceType = typeof(Strings), Name = "m100", GroupName = "Line", Description = "OversoldLimitDescription", Order = 30)]
public LineSeries LineM100 { get; set; }

Property Value

LineSeries

Period

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