TSLab API Docs
1
|
Namespaces |
Enumerations | |
enum | CandleFillStyle : byte { None = 0, Increasing = 1, Decreasing = 2, All = Increasing | Decreasing } |
enum | CandleStyles { CandleStyles.BAR_CANDLE, CandleStyles.BAR, CandleStyles.CANDLE_AND_QUEUE } |
enum | ComparisonMode { Greater, GreaterOrEqual, Less, LessOrEqual, AreEqual, AreNotEqual } |
enum | ExtremumPriceMode { Minimum, Maximum } |
enum | PaneStyle { PaneStyle.Graph, PaneStyle.Canvas, PaneStyle.Control, PaneStyle.DataGrid } |
enum | LineStyles { LineStyles.SOLID, LineStyles.DOT, LineStyles.DASH, LineStyles.DASH_DOT, LineStyles.DASH_DOT_DOT } |
Styles of the list More... | |
enum | ListStyles { ListStyles.LINE, ListStyles.HISTOHRAM, ListStyles.HISTOHRAM_LINE, ListStyles.HISTOHRAM_FILL, ListStyles.POINT, ListStyles.LINE_WO_ZERO, ListStyles.LINE_BW_POINTS, ListStyles.SPLINE } |
Styles of the list line More... | |
enum | PaneSides { PaneSides.RIGHT = 0, PaneSides.LEFT = 1, PaneSides.VSIDE1 = 2, PaneSides.VSIDE2 = 3, PaneSides.VSIDE3 = 4, PaneSides.VSIDE4 = 5, PaneSides.VSIDE5 = 6, PaneSides.VSIDE_LAST = 6 } |
The pane side where chart list will be presented. More... | |
enum | PositionState { PositionState.NoError, PositionState.HaveError, PositionState.HaveEntrySignal, PositionState.HaveCloseSignal } |
Состояние позиции (применимо только к реальной торговле) More... | |
enum | PositionVisibilityStyle : byte { None = 0, Visible = 1, Stop = 2, Text = 4, Icon = 8, Links = 16, All = Visible | Stop | Text | Icon | Links } |
enum | QuantityMode { Quantity, QuantityInLots, TradesCount } |
Режим отображения рыночной статистики (объем, лоты, количество сделок) More... | |
enum | TextAlignment { Left, Right, Center, Justify } |
enum | TradeStatisticsKind { TradesCount, Quantity, AskQuantity, BidQuantity, DeltaAskBidQuantity, RelativeDeltaAskBidQuantityPercent } |
enum | TrimValueMode { None, Relative, Absolute } |
enum | ValueForPeriodMode { Sum, Average } |
Functions | |
delegate double | CommissionDelegate (IPosition pos, double price, double shares, bool isEntry, bool isPart) |
Calculates the order commission. The postion The order price The order volume Is order entry or exit Is it partial entry or exit The calculated commission | |
|
strong |
|
strong |
|
strong |
Styles of the list line
Enumerator | |
---|---|
LINE |
Line list style |
HISTOHRAM |
Histogram list style |
HISTOHRAM_LINE |
Thick histogram list style |
HISTOHRAM_FILL |
Histogram list style without space |
POINT |
Point list style |
LINE_WO_ZERO |
Line list style with skipped zero values |
LINE_BW_POINTS |
Line list style with skipped zero values |
SPLINE |
Line list spline |
|
strong |
|
strong |
|
strong |
Состояние позиции (применимо только к реальной торговле)
|
strong |
Режим отображения рыночной статистики (объем, лоты, количество сделок)