ChartingInterfacesExtensions
StockSharp.Charting
Класс расширения для IChart.
Методы
AddArea
public static IChartArea AddArea(IChart chart)
result = ChartingInterfacesExtensions.AddArea(chart)
Создайте IChartArea.
- chart
- IChart
Возвращает: IChartArea
AddCandles
public static IChartCandleElement AddCandles(IChartArea area)
result = ChartingInterfacesExtensions.AddCandles(area)
Создайте элемент IChartCandleElement.
- area
- IChartArea
Возвращает: IChartCandleElement
AddIndicator
public static IChartIndicatorElement AddIndicator(IChartArea area, IIndicator indicator)
result = ChartingInterfacesExtensions.AddIndicator(area, indicator)
Создайте элемент IChartIndicatorElement.
- area
- IChartArea
- indicator
- IИндикатор
Возвращает: IChartIndicatorElement
AddOrders
public static IChartOrderElement AddOrders(IChartArea area)
result = ChartingInterfacesExtensions.AddOrders(area)
Создайте элемент IChartOrderElement.
- area
- IChartArea
Возвращает: IChartOrderElement
AddTrades
public static IChartTradeElement AddTrades(IChartArea area)
result = ChartingInterfacesExtensions.AddTrades(area)
Создайте элемент IChartTradeElement.
- area
- IChartArea
Возвращает: IChartTradeElement
CreatePainter
public static IChartIndicatorPainter CreatePainter(IndicatorType type)
result = ChartingInterfacesExtensions.CreatePainter(type)
Создайте экземпляр IChartIndicatorPainter.
- type
- IndicatorType
Возвращает: IChartIndicatorPainter
Draw
public static void Draw(IChart chart, IChartCandleElement element, ICandleMessage candle)
ChartingInterfacesExtensions.Draw(chart, element, candle)
Нарисовать свечу.
- chart
- Диаграмма.
- element
- Элемент диаграммы, представляющий свечу.
- candle
- Свеча.
IsVolumeProfileChart
public static bool IsVolumeProfileChart(ChartCandleDrawStyles style)
result = ChartingInterfacesExtensions.IsVolumeProfileChart(style)
Убедитесь, что указанный стиль основан на профиле тома.
- style
- Стиль.
Возвращает: Проверьте результат.