Table of Contents

Class ChaikinOscillator

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

Constructors

ChaikinOscillator()

public ChaikinOscillator()

Properties

Divisor

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), GroupName = "Settings", Name = "Divisor", Description = "DivisorDescription", Order = 3)]
public int Divisor { get; set; }

Property Value

int

DrawLines

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

Property Value

bool

LongAvg

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), GroupName = "Settings", Name = "LongPeriod", Description = "LongPeriodDescription", Order = 1)]
public int LongAvg { get; set; }

Property Value

int

Overbought

[Parameter]
[Browsable(false)]
public decimal Overbought { get; set; }

Property Value

decimal

OverboughtLine

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

Property Value

LineSeries

Oversold

[Parameter]
[Browsable(false)]
public decimal Oversold { get; set; }

Property Value

decimal

OversoldLine

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

Property Value

LineSeries

ShortAvg

[Parameter]
[Range(1, 10000)]
[Display(ResourceType = typeof(Strings), GroupName = "Settings", Name = "ShortPeriod", Description = "ShortPeriodDescription", Order = 2)]
public int ShortAvg { 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.

OnRecalculate()

The method is executed before a new calculation.

protected override void OnRecalculate()