Table of Contents

Class SchaffTrendCycle

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

Constructors

SchaffTrendCycle()

public SchaffTrendCycle()

Properties

DownLine

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

Property Value

LineSeries

DrawLines

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

Property Value

bool

LongPeriod

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

Property Value

int

Period

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

Property Value

int

ShortPeriod

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

Property Value

int

UpLine

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

Property Value

LineSeries

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.