Table of Contents

Class Fractals

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

Constructors

Fractals()

public Fractals()

Properties

HighPen

[Display(ResourceType = typeof(Strings), Name = "High", GroupName = "Line", Description = "PenSettingsDescription", Order = 110)]
public PenSettings HighPen { get; set; }

Property Value

PenSettings

IncludeEqualHighLow

[Display(ResourceType = typeof(Strings), Name = "IncludeEqualHighLow", GroupName = "Settings", Description = "IncludeEqualsValuesDescription", Order = 20)]
public bool IncludeEqualHighLow { get; set; }

Property Value

bool

LowPen

[Display(ResourceType = typeof(Strings), Name = "Low", GroupName = "Line", Description = "PenSettingsDescription", Order = 120)]
public PenSettings LowPen { get; set; }

Property Value

PenSettings

Mode

[Display(ResourceType = typeof(Strings), Name = "VisualMode", GroupName = "Visualization", Description = "VisualModeDescription", Order = 200)]
public Fractals.ShowMode Mode { get; set; }

Property Value

Fractals.ShowMode

Period

[Display(ResourceType = typeof(Strings), Name = "Period", GroupName = "Settings", Description = "FractalPeriodDescription", Order = 10)]
[Range(1, 2147483647)]
public int Period { get; set; }

Property Value

int

ShowLine

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

Property Value

bool

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.