Table of Contents

Class DtOscillator

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

Constructors

DtOscillator()

public DtOscillator()

Properties

Period

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

Property Value

int

RsiPeriod

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

Property Value

int

SMAPeriod1

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod1", GroupName = "Smooth", Description = "SMAPeriod1Description", Order = 200)]
[Range(1, 10000)]
public int SMAPeriod1 { get; set; }

Property Value

int

SMAPeriod2

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "SMAPeriod2", GroupName = "Smooth", Description = "SMAPeriod2Description", Order = 210)]
[Range(1, 10000)]
public int SMAPeriod2 { 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.