Table of Contents

Class DomStrength

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

Constructors

DomStrength()

public DomStrength()

Properties

Color20

[Display(ResourceType = typeof(Strings), Name = "Color20", GroupName = "Color", Description = "PercentColorDescription", Order = 220)]
public Color Color20 { get; set; }

Property Value

Color

Color50

[Display(ResourceType = typeof(Strings), Name = "Color50", GroupName = "Color", Description = "PercentColorDescription", Order = 210)]
public Color Color50 { get; set; }

Property Value

Color

Color80

[Display(ResourceType = typeof(Strings), Name = "Color80", GroupName = "Color", Description = "PercentColorDescription", Order = 200)]
public Color Color80 { get; set; }

Property Value

Color

ColorMinus20

[Display(ResourceType = typeof(Strings), Name = "ColorMinus20", GroupName = "Color", Description = "PercentColorDescription", Order = 230)]
public Color ColorMinus20 { get; set; }

Property Value

Color

ColorMinus50

[Display(ResourceType = typeof(Strings), Name = "ColorMinus50", GroupName = "Color", Description = "PercentColorDescription", Order = 240)]
public Color ColorMinus50 { get; set; }

Property Value

Color

ColorMinus80

[Display(ResourceType = typeof(Strings), Name = "ColorMinus80", GroupName = "Color", Description = "PercentColorDescription", Order = 250)]
public Color ColorMinus80 { get; set; }

Property Value

Color

LevelDepth

[Display(ResourceType = typeof(Strings), Name = "DepthMarketFilter", GroupName = "Settings", Description = "DOMMaxFilterDescription", Order = 90)]
[Range(1, 1000)]
public FilterInt LevelDepth { get; }

Property Value

FilterInt

Percent

[Parameter]
[Display(ResourceType = typeof(Strings), Name = "Percent", GroupName = "Settings", Description = "DOMPercentDescription", Order = 110)]
[Range(0, 100)]
public decimal Percent { get; set; }

Property Value

decimal

Period

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

Property Value

int

Methods

MarketDepthChanged(MarketDataArg)

Handles changes in a single market depth represented by a MarketDataArg object.

protected override void MarketDepthChanged(MarketDataArg depth)

Parameters

depth MarketDataArg

The MarketDataArg representing the market depth data.

OnApplyDefaultColors()

Invoked to apply default colors to the drawing elements.

protected override void OnApplyDefaultColors()

Remarks

This method can be overridden in derived classes to customize or set default color values for the drawing elements. When this method is called, it is an opportunity for the derived class to apply its own default color scheme to the drawing elements used in the specific implementation.

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.

OnCumulativeTradesResponse(CumulativeTradesRequest, IEnumerable<CumulativeTrade>)

Added in ATAS 8.0.15.

protected override void OnCumulativeTradesResponse(CumulativeTradesRequest request, IEnumerable<CumulativeTrade> cumulativeTrades)

Parameters

request CumulativeTradesRequest
cumulativeTrades IEnumerable<CumulativeTrade>

OnDispose()

Called when the indicator is being disposed.

protected override void OnDispose()

OnInitialize()

The method is executed before the first calculation.

protected override void OnInitialize()

OnNewTrade(MarketDataArg)

Added in ATAS 8.0.15.

protected override void OnNewTrade(MarketDataArg trade)

Parameters

trade MarketDataArg

OnRecalculate()

Added in ATAS 8.0.15.

protected override void OnRecalculate()

OnRender(RenderContext, DrawingLayouts)

Override this method for implementing your own data rendering logic.

protected override void OnRender(RenderContext context, DrawingLayouts layout)

Parameters

context RenderContext

The rendering context used to draw on the chart.

layout DrawingLayouts

The layout information for the drawing.