Table of Contents

Class Exhaustion

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

Constructors

Exhaustion()

public Exhaustion()

Properties

AlertFile

[Display(ResourceType = typeof(Strings), GroupName = "Alerts", Name = "AlertFile", Description = "AlertFileDescription")]
public FilterString AlertFile { get; set; }

Property Value

FilterString

AmoutOfPrices

[Parameter]
[Range(2, 2147483647)]
[Display(ResourceType = typeof(Strings), GroupName = "Settings", Name = "DepthLevelsCount", Description = "PriceLevelsCountDescription")]
public int AmoutOfPrices { get; set; }

Property Value

int

BottomClusterColor

[Display(ResourceType = typeof(Strings), GroupName = "SupportLevel", Name = "PriceSelectionColor", Description = "PriceSelectionColorDescription")]
public FilterColor BottomClusterColor { get; set; }

Property Value

FilterColor

BottomColor

[Display(ResourceType = typeof(Strings), GroupName = "SupportLevel", Name = "ObjectsColor", Description = "VisualObjectsDescription")]
public Color BottomColor { get; set; }

Property Value

Color

CalcMode

[Parameter]
[Display(ResourceType = typeof(Strings), GroupName = "Settings", Name = "CalculationMode", Description = "CalculationModeDescription")]
public Exhaustion.CalcModes CalcMode { get; set; }

Property Value

Exhaustion.CalcModes

OnBarCloseAlert

[Display(ResourceType = typeof(Strings), GroupName = "Alerts", Name = "OnBarClose", Description = "OnBarCloseDescription")]
public FilterBool OnBarCloseAlert { get; set; }

Property Value

FilterBool

ShowPriceSelection

[Display(ResourceType = typeof(Strings), GroupName = "Visualization", Name = "ShowPriceSelection", Description = "ShowPriceSelectionDescription")]
public bool ShowPriceSelection { get; set; }

Property Value

bool

Size

[Range(1, 2147483647)]
[Display(ResourceType = typeof(Strings), GroupName = "Visualization", Name = "Size", Description = "SizeDescription")]
public int Size { get; set; }

Property Value

int

TopClusterColor

[Display(ResourceType = typeof(Strings), GroupName = "ResistanceLevel", Name = "PriceSelectionColor", Description = "PriceSelectionColorDescription")]
public FilterColor TopClusterColor { get; set; }

Property Value

FilterColor

TopColor

[Display(ResourceType = typeof(Strings), GroupName = "ResistanceLevel", Name = "ObjectsColor", Description = "VisualObjectsDescription")]
public Color TopColor { get; set; }

Property Value

Color

UseAlerts

[Display(ResourceType = typeof(Strings), GroupName = "Alerts", Name = "UseAlert", Description = "UseAlertDescription")]
public bool UseAlerts { get; set; }

Property Value

bool

VisualObjectsTransparency

[Display(ResourceType = typeof(Strings), GroupName = "Visualization", Name = "VisualObjectsTransparency", Description = "VisualObjectsTransparencyDescription")]
[Range(0, 100)]
public int VisualObjectsTransparency { get; set; }

Property Value

int

VisualType

[Display(ResourceType = typeof(Strings), GroupName = "Visualization", Name = "VisualMode", Description = "VisualModeDescription")]
public ObjectType VisualType { get; set; }

Property Value

ObjectType

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.

OnInitialize()

The method is executed before the first calculation.

protected override void OnInitialize()