Class |
Description |
Properties |
TInstrument |
Instrument |
a) Name: String – the instrument name b) Buy: Double – the Ask rate c) Sell: Double – the Bid rate d) PointSize: Double – the smallest rate change that a given dealing rate can make. Also known as a pip (for example, the PointSize of EURUSD is 0.0001). e) Id: String – the number of instrument in the instrument list |
TOrder |
Order |
a) Id: String – the ticket number of the order b) Instrument: TInstrument– the instrument on which the order is placed c) Account: TAccount – the account on which the order is placed d) Tag: String he order tag, which can be used to mark an order in the script e) Rate: Double – the order rate f) OrderType: TOrderType – the type of order |
TTrade |
Trade |
a) Id: String – the open position ticket b) Instrument: TInstrument– the instrument on which the position is opened c) Account: TAccount – the account on which the position is opened d) Amount: Double – the number of lots e) OpenRate: Double – the open rate f) CloseRate: Double ― the current close rate g) Tag: String ― the position tag h) NetPL: Double ― the NetP/L of the open position i) LimitOrder: TOrder ― the limit on this position (if there is one) j) StopOrder: TOrder ― the stop on this position (if there is one) |
TAccount |
Account |
a) Id: String – the account number b) Balance: Double – the account balance c) Equity: Double – the account equity d) UsedMargin: Double – the used margin e) EquityLevel: Double – the equity level, % (Equity Level= Equity/Used Margin*100) |
TTick |
An individual tick in the chart |
a) Time: Time – time of the tick b) Rate: Double – the Bid rate |
TCandle |
An individual candle in the chart |
a) Time: Time – time when the candle was opened b) Open: Double – open rate c) Close: Double – close rate d) High: Double – the candle maximum value e) Low: Double – the candle minimum value |
TTickHistory |
Tick History |
a) Count: Integer ― the number of ticks b) Last(): TTick ― an individual tick in the chart. The index goes from the end. c) Get(): TTick ― an individual tick in the chart. The index goes from the beginning. d) Last: TTick ― the current tick e) LastFinished: TTick ― the last tick |
TCandleHistory |
Candle History |
a) Count: Integer ― the number of candles b) Last(): TCandle ― an individual candle in the chart. The index goes from the end. c) Get(): TCandle ― an individual candle in the chart. The index goes from the beginning. d) Last: TCandle ― the current candle e) LastFinished: TTick ― the last tick |
TStrategy |
The currently used strategy |
a) Caption: String; |