New article Library for easy and quick development of MetaTrader programs (part XII):
"Account" object class and collection of account objects has been published:
In the previous article, we defined position closure events for MQL4 in the library and got rid of the unused order properties. Here
we will consider the creation of the Account object, develop the collection of account objects and prepare the functionality for
tracking account events.
Launch the EA and see what it displays in the journal when the brief entry is selected (Show full accounts properties = false):
Now select the full list — press F7 and set "Show full accounts properties" to 'true' in the parameters window:
Now the full list of properties for each of the existing accounts is displayed in the journal.
Author: Artyom Trishkin