How to recall account info?
Most of those depends on the broker definition | account type etc.
Most people would look for stuff like Margin_Required to solve their money management problems.
What are you trying to do? Are you just asking for definition or is there a problem to solve?
If you're just asking for definition, then again it depends on broker, for example.
There's no function which tells you the maximum number of open_deals allowed.
But there's a function which tells you the maximum_lot per order.
I've seen a broker say maximum open deals = 30, with no regard to size.
See documentation : MarketInfo(Symbol(), MODE_LOTSIZE), MarketInfo(Symbol(), MODE_MAXLOT).
Dear All,
Kindly help me configuring the following issues:
1)
The function,
It return the account leverage as per MQL docs; but, I've notice that, brokers would offer (say 1:200) for currencies while (say 1:100) for metals and so on; which means that, somehow it differs from symbol to another while the mentioned above function doesn't take the symbol into considerations, Please advice.
2)
I've noticed that, brokers are offering the following account types:
Standard Account
Standard Lot = 100,000 Units, Max. Lot per ticket = 50, Max. total Lot (for all running positions) = 100 (Just an example)
Micro Account
Standard Lot = 1,000 Units, Max. Lot per ticket = 100, Max. total Lot (for all running positions) = 50 (Just an example)
Now, How to recall the mentioned above criteria in values by using the MarketInfo() function?
What is the equivalent identifier of STANDARD LOT (in units)?
What is the equivalent identifier of MAX LOT per TICKET?
What is the equivalent identifier of TOTAL ALLOWED LOTs?
Thanks for your concern and best regards,