ChartDrawDataItem

StockSharp.Xaml.Charting.ChartDrawData

Chart drawing data item.

Реализует: IChartDrawDataItem

Свойства

TimeStamp : DateTime

The time stamp of the new data generation.

XValue : double

Value of X coordinate for ChartLineElement.

Методы

Add(IChartCandleElement, Color?) : IChartDrawDataItem

Put candle color data.

element
The chart element representing a candle.
color
Candle draw color.

Возвращает: IChartDrawDataItem instance.

Add(IChartCandleElement, DataType, SecurityId, decimal, decimal, decimal, decimal, CandlePriceLevel[], CandleStates) : IChartDrawDataItem

Put the candle data.

element
The chart element representing a candle.
dataType
DataType.
secId
SecurityId.
openPrice
Opening price.
highPrice
Highest price.
lowPrice
Lowest price.
closePrice
Closing price.
priceLevels
Price levels.
state
Candle state.

Возвращает: IChartDrawDataItem instance.

Add(IChartIndicatorElement, IIndicatorValue) : IChartDrawDataItem

Put the indicator data.

element
The chart element representing the indicator.
value
The indicator value.

Возвращает: IChartDrawDataItem instance.

Add(IChartOrderElement, long, string, Sides, decimal, decimal, string) : IChartDrawDataItem

Put the order data.

element
The chart element representing orders.
orderId
Order ID.
orderStringId
Order ID (as string, if electronic board does not use numeric order ID representation).
side
Order side (buy or sell).
price
Order price.
volume
Number of contracts in the order.
errorMessage
Error registering/cancelling order.

Возвращает: IChartDrawDataItem instance.

Add(IChartTradeElement, long, string, Sides, decimal, decimal) : IChartDrawDataItem

Put the trade data.

element
The chart element representing trades.
tradeId
Trade ID.
tradeStringId
Trade ID (as string, if electronic board does not use numeric order ID representation).
side
Order side (buy or sell).
price
Trade price.
volume
Number of contracts in the trade.

Возвращает: IChartDrawDataItem instance.

Add(IChartLineElement, double, double) : IChartDrawDataItem

Put the line data.

element
The chart element representing a line.
value1
The value1.
value2
The value2.

Возвращает: IChartDrawDataItem instance.

Add(IChartBandElement, decimal) : IChartDrawDataItem

Put the line data.

element
The chart element representing a band.
value
The value.

Возвращает: IChartDrawDataItem instance.

Add(IChartBandElement, double, double) : IChartDrawDataItem

Put the line data.

element
The chart element representing a band.
value1
The value1.
value2
The value2.

Возвращает: IChartDrawDataItem instance.