IChartDrawDataItem

StockSharp.Charting.IChartDrawData

Chart drawing data item.

Methoden

Add(IChartCandleElement, Color?) : IChartDrawDataItem

Put candle color data.

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

Rückgabe: 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.

Rückgabe: IChartDrawDataItem instance.

Add(IChartIndicatorElement, IIndicatorValue) : IChartDrawDataItem

Put the indicator data.

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

Rückgabe: 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.

Rückgabe: 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.

Rückgabe: IChartDrawDataItem instance.

Add(IChartLineElement, double, double) : IChartDrawDataItem

Put the line data.

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

Rückgabe: IChartDrawDataItem instance.

Add(IChartBandElement, decimal) : IChartDrawDataItem

Put the line data.

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

Rückgabe: IChartDrawDataItem instance.

Add(IChartBandElement, double, double) : IChartDrawDataItem

Put the line data.

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

Rückgabe: IChartDrawDataItem instance.