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
-
objectExhaustion
- 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
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
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
OnBarCloseAlert
[Display(ResourceType = typeof(Strings), GroupName = "Alerts", Name = "OnBarClose", Description = "OnBarCloseDescription")]
public FilterBool OnBarCloseAlert { get; set; }
Property Value
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
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
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
barintBar number.
valuedecimalInput data series value.
OnInitialize()
The method is executed before the first calculation.
protected override void OnInitialize()