Kullanim Kilavuzu
Object History
NetTradeX PC
NetTradeX Android
NetTradeX iOS
NetTradeX Mobile
NetTradeX Advisors
-
User Guide for NTTX Advisors
- NetTradeX Advisors Terminal
-
Articles
-
NetTradeX Language: Introduction
- Language Basics
- Language Functions
-
Language System Objects
- Deal Management
- Order Management
- Indicators
- Object-Oriented Programming
-
DLL files
-
Object Account
-
Object Bars
-
Object Chart
-
Object datetime
-
Object History
-
Object file
-
Object Globals
-
Object Math
-
Object Symbols
-
Object System
Object History
History object provides access to the information on closed positions.
bool Select(int64 sel,int mode)
Selects positions for future reference to its properties
Parameters:
- int64 sel - ID or a position of a closed deal, depending on selection mode
- int mode - Deal selection mode
History object properties:
int64 ID- unique deal IDstring Symbol- deal symboluint16 Direction- deal directiondouble Volume- deal volumedatetime OpenTime- open timefloat OpenPrice- open pricedatetime CloseTime- close timefloat ClosePrice- close pricefloat SL- stop lossfloat TP- take profitdouble Swap- swapdouble Profit- closed position profit/loss
int Total
Property indicates the number of closed positions saved in the history