NavigationUser loginWho's new
Who's onlineThere are currently 0 users and 47 guests online.
|
Account Information functionsHi folks, The account information functions are very useful for applying Money Management techniques by calculating the state of your account balance and margin etc. Let's study these functions in details. AccountBalanceSyntax:
Description: The AccountBalance function returns the balance amount (how much money) of the current account. The calculation of the balance amount is the calculation of the starting capital + profit or - loss (of closed trades). The profit are loss are calculated only for the closed trades, so the floating profit/loss is not calculated within the balance! Note: All of the Account Information function don't take parameters, see the examples! Example:
AccountCreditSyntax:
Description: The AccountCredit function returns the credit value of the current account Example:
AccountCompanySyntax:
Description: The AccountCompany function returns the brokerage company name you opened your current account with, the same as the name you find in the About dialog which you can open from Help menu. Example:
AccountCurrencySyntax:
Description: The AccountCurrency function returns the name of the currency you used to open your account with the brokerage company, for example USD if you paid your account in US dollars. Example:
AccountEquitySyntax:
Description: The AccountEquity function returns the equity amount of the current account. The calculation of the balance equity is the calculation of the starting capital + profit or - losses (of all trades). The profit are loss are calculated for the opened and the closed trades. Example:
|