دليل المستخدم
Object Account
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 Account
Account object provides access to the account status and account properties.
Account Properties
- int Leverage - account leverage
- double Balance - current account balance
- double MarginLocked - current margin requirements
- double Equity - balance including open positions (equity)
- double MarginFree - free margin
- int MarginLevel - margin level
- double AvailablePos - total available position
- int AccountID - ID of the current account
- int MarginShort - short margin level
- string Valute - deposit currency
Example:
int Initialize() {return(0);} int Run() { System.Print("Leverage = "+Account.Leverage); System.Print("Balance = "+Account.Balance); System.Print("MarginLocked = "+Account.MarginLocked); return(0); } int DeInitialize(){return(0);}