Table of Contents

Class DOM

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

Constructors

DOM()

public DOM()

Properties

AskRows

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

Property Value

Color

AsksBackGround

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

Property Value

Color

BestAskBackGround

[Display(ResourceType = typeof(Strings), Name = "BestAskBackGround", GroupName = "LevelsMode", Description = "BestAskBGColorDescription", Order = 260)]
public Color BestAskBackGround { get; set; }

Property Value

Color

BestBidBackGround

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

Property Value

Color

BidRows

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

Property Value

Color

BidsBackGround

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

Property Value

Color

CumulativeAskColor

[Display(ResourceType = typeof(Strings), Name = "AskColor", GroupName = "CumulativeMode", Description = "CumulativeModeAskColorDescription", Order = 280)]
public Color CumulativeAskColor { get; set; }

Property Value

Color

CumulativeBidColor

[Display(ResourceType = typeof(Strings), Name = "BidColor", GroupName = "CumulativeMode", Description = "CumulativeModeBidColorDescription", Order = 285)]
public Color CumulativeBidColor { get; set; }

Property Value

Color

DepthChangesDisplayMode

Added in ATAS 8.0.15.

[Display(ResourceType = typeof(Strings), Name = "Mode", GroupName = "PullingAndStacking", Description = "DepthChangesDisplayModeDescription", Order = 325)]
public DOM.DepthChangesMode DepthChangesDisplayMode { get; set; }

Property Value

DOM.DepthChangesMode

DepthChangesFilter

Added in ATAS 8.0.15.

[Range(0, 2147483647)]
[PostValueMode(PostValueModes.Delayed, DelayMilliseconds = 500)]
[Display(ResourceType = typeof(Strings), Name = "Filter", GroupName = "PullingAndStacking", Description = "DepthChangesFilterDescription", Order = 330)]
public VolumeFilter DepthChangesFilter { get; set; }

Property Value

VolumeFilter

DepthChangesTextColor

Added in ATAS 8.0.15.

[Display(ResourceType = typeof(Strings), Name = "TextColor", GroupName = "PullingAndStacking", Description = "DepthChangesTextColorDescription", Order = 360)]
public Color DepthChangesTextColor { get; set; }

Property Value

Color

FilterColors

[Display(ResourceType = typeof(Strings), Name = "Filters", GroupName = "LevelsMode", Description = "FiltersMaxVolumeDecimalColorDescription", Order = 270)]
public ObservableCollection<FilterColor> FilterColors { get; set; }

Property Value

ObservableCollection<FilterColor>

PriceLevelsHeight

[Range(0, 1000)]
[Display(ResourceType = typeof(Strings), Name = "CustomPriceLevelsHeight", GroupName = "Other", Description = "CustomPriceLevelsHeightDescription", Order = 310)]
public int PriceLevelsHeight { get; set; }

Property Value

int

ProportionVolume

[Display(ResourceType = typeof(Strings), Name = "ProportionVolume", GroupName = "HistogramSize", Description = "MaxSizeProportionVolumeDescription", Order = 110)]
[Range(0, 1000000000000)]
public decimal ProportionVolume { get; set; }

Property Value

decimal

PullingColor

Added in ATAS 8.0.15.

[Display(ResourceType = typeof(Strings), Name = "Pulling", GroupName = "PullingAndStacking", Description = "PullingDescription", Order = 340)]
public Color PullingColor { get; set; }

Property Value

Color

RightToLeft

[Display(ResourceType = typeof(Strings), Name = "RightToLeft", GroupName = "HistogramSize", Description = "RightToLeftDescription", Order = 130)]
public bool RightToLeft { get; set; }

Property Value

bool

Scale

[Display(ResourceType = typeof(Strings), Name = "CustomScale", GroupName = "Scale", Description = "ElementScaleValueDescription", Order = 410)]
[Range(0, 1000)]
public int Scale { get; set; }

Property Value

int

ShowCumulativeValues

[Display(ResourceType = typeof(Strings), Name = "ShowCumulativeValues", GroupName = "Other", Description = "ShowCumulativeValuesDescription", Order = 300)]
public bool ShowCumulativeValues { get; set; }

Property Value

bool

ShowDepthChanges

Added in ATAS 8.0.15.

[Display(ResourceType = typeof(Strings), Name = "ShowDepthChanges", GroupName = "PullingAndStacking", Description = "ShowDepthChangesDescription", Order = 320)]
public bool ShowDepthChanges { get; set; }

Property Value

bool

StackingColor

[Display(ResourceType = typeof(Strings), Name = "Stacking", GroupName = "PullingAndStacking", Description = "StackingDescription", Order = 350)]
public Color StackingColor { get; set; }

Property Value

Color

TextColor

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

Property Value

Color

UseAutoSize

[Display(ResourceType = typeof(Strings), Name = "UseAutoSize", GroupName = "HistogramSize", Description = "UseAutoMaxSizeDetectionDescription", Order = 105)]
public bool UseAutoSize { get; set; }

Property Value

bool

UseScale

[Display(ResourceType = typeof(Strings), Name = "UseScale", GroupName = "Scale", Description = "UseScaleDescription", Order = 400)]
public bool UseScale { get; set; }

Property Value

bool

VisualMode

[Display(ResourceType = typeof(Strings), Name = "VisualMode", GroupName = "HistogramSize", Description = "ElementDisplayModeDescription", Order = 100)]
public DOM.Mode VisualMode { get; set; }

Property Value

DOM.Mode

Width

[Display(ResourceType = typeof(Strings), Name = "Width", GroupName = "HistogramSize", Description = "HistogramWidthDescription", Order = 120)]
[Range(0, 4000)]
public int Width { 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.

MarketDepthsChanged(IEnumerable<MarketDataArg>)

Added in ATAS 8.0.15.

protected override void MarketDepthsChanged(IEnumerable<MarketDataArg> depths)

Parameters

depths IEnumerable<MarketDataArg>

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.

OnBestBidAskChanged(MarketDataArg)

Added in ATAS 8.0.15.

protected override void OnBestBidAskChanged(MarketDataArg depth)

Parameters

depth MarketDataArg

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.

OnDataProviderChanged(IIndicatorDataProvider, IIndicatorDataProvider)

Not in ATAS 8.0.15 yet: available from the next version.

protected override void OnDataProviderChanged(IIndicatorDataProvider oldDataProvider, IIndicatorDataProvider newDataProvider)

Parameters

oldDataProvider IIndicatorDataProvider
newDataProvider IIndicatorDataProvider

OnDispose()

Called when the indicator is being disposed.

protected override void OnDispose()

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.

OnValuationChanged()

Not in ATAS 8.0.15 yet: available from the next version.

protected override void OnValuationChanged()