Table of Contents

Interface IChart

Namespace
ATAS.Indicators
Assembly
ATAS.Indicators.dll

Interface for a chart containing various chart-related information and methods.

public interface IChart : IContainer
Inherited Members
Extension Methods

Properties

ChartContainer

Gets the container representing the full area of the chart.

IContainer ChartContainer { get; }

Property Value

IContainer

ChartType

Gets the type of the chart.

string ChartType { get; }

Property Value

string

ChartVisualMode

Gets or sets the visual mode of the chart.

ChartVisualModes ChartVisualMode { get; set; }

Property Value

ChartVisualModes

ColorsStore

Gets the chart colors store providing various chart-related colors.

IChartColorsStore ColorsStore { get; }

Property Value

IChartColorsStore

CoordinatesManager

Gets the chart coordinates manager responsible for managing chart coordinates and scaling.

IChartCoordinatesManager CoordinatesManager { get; }

Property Value

IChartCoordinatesManager

DpiX

Gets the X-coordinate dots per inch (DPI) value of the chart.

decimal DpiX { get; }

Property Value

decimal

DpiY

Gets the Y-coordinate dots per inch (DPI) value of the chart.

decimal DpiY { get; }

Property Value

decimal

DrawingObjectsListInfo

Gets the list of drawing objects present in the chart.

IDrawingObjectsListInfo DrawingObjectsListInfo { get; }

Property Value

IDrawingObjectsListInfo

FootprintColorScheme

Gets or sets footprint color scheme.

FootprintColorSchemes FootprintColorScheme { get; set; }

Property Value

FootprintColorSchemes

FootprintContentMode

Gets or sets footprint content mode.

FootprintContentModes FootprintContentMode { get; set; }

Property Value

FootprintContentModes

FootprintVisualMode

Gets or sets footprint visual mode.

FootprintVisualModes FootprintVisualMode { get; set; }

Property Value

FootprintVisualModes

HidePriceAxis

Shows or hides price axis of the chart

bool HidePriceAxis { get; set; }

Property Value

bool

IndicatorsListHorizontalOffset

Gets or sets horizontal offset of indicators list

int IndicatorsListHorizontalOffset { get; set; }

Property Value

int

IndicatorsListVerticalOffset

Gets or sets vertical offset of indicators list

int IndicatorsListVerticalOffset { get; set; }

Property Value

int

KeyboardInfo

Gets the information about the keyboard within the chart.

IKeyboardInfo KeyboardInfo { get; }

Property Value

IKeyboardInfo

MouseLocationInfo

Gets the information about the mouse location within the chart.

IMouseLocationInfo MouseLocationInfo { get; }

Property Value

IMouseLocationInfo

PriceAxisFont

Gets the font of the chart price axis.

RenderFont PriceAxisFont { get; }

Property Value

RenderFont

PriceChartContainer

Gets the container representing the area of the chart without the axis.

IChartContainer PriceChartContainer { get; }

Property Value

IChartContainer

StatusLineHorizontalOffset

Gets or sets status line horizontal offset

int StatusLineHorizontalOffset { get; set; }

Property Value

int

StringFormat

Gets the string format used within the chart.

string StringFormat { get; }

Property Value

string

TimeFrame

Gets the time frame of the chart. If a time-frame has several parameters, they are separated by a slash (/).

string TimeFrame { get; }

Property Value

string

TradingSessionDescriptions

Get the available trading sessions.

IEnumerable<TradingSessionDescription> TradingSessionDescriptions { get; }

Property Value

IEnumerable<TradingSessionDescription>

Methods

GetPriceString(decimal)

Gets the string representation of specified price

string GetPriceString(decimal value)

Parameters

value decimal

Returns

string

TryGetMinimizedVolumeString(decimal)

Tries to get the string representation of the minimized volume for the specified value.

string TryGetMinimizedVolumeString(decimal value)

Parameters

value decimal

The volume value to get the minimized string representation for.

Returns

string

The minimized string representation of the volume.

TryGetMinimizedVolumeString(decimal, decimal)

Tries to get the string representation of the minimized volume for the specified value. If instrument is in USD, price is used to convert volume to USD.

string TryGetMinimizedVolumeString(decimal value, decimal price)

Parameters

value decimal

The volume value to get the minimized string representation for.

price decimal

The price used to convert the volume to USD.

Returns

string

The minimized string representation of the volume.