Account leverage is combined with margin rate from the specific symbol to calculate your margin requirement.
You can find the formulas here.
Thank you for your reply
But there are many "margin" properties : SYMBOL_MARGIN_INITIAL, SYMBOL_MARGIN_HEDGED, SYMBOL_MARGIN_LIMIT, SYMBOL_MARGIN_LONG, SYMBOL_MARGIN_MAINTENANCE, SYMBOL_MARGIN_SHORT,...
Which one gives "margin rate"
paul selvan #: But there are many "margin" properties : SYMBOL_MARGIN_INITIAL, SYMBOL_MARGIN_HEDGED, SYMBOL_MARGIN_LIMIT, SYMBOL_MARGIN_LONG, SYMBOL_MARGIN_MAINTENANCE, SYMBOL_MARGIN_SHORT,...
Which one gives "margin rate"
It depends on the type of symbol. Have a look at the symbol's contract specifications to see its calculation mode. Also, to read the margin rates, you can use the following function:
However, the best and most reliable way to calculate the exact margin requirements for an order, irrespective of the type of calculation mode, is to use the following function ...

Documentation on MQL5: Constants, Enumerations and Structures / Environment State / Symbol Properties
- www.mql5.com
To obtain the current market information there are several functions: SymbolInfoInteger() , SymbolInfoDouble() and SymbolInfoString() . The first...
thank you for your reply
i will check them

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hello ,
I'm using [broker name redacted] mt5 plateform
if account leverage is given by instruction :
But each symbol has sometimes different retail leverage value.
e.g.
My plateform leverage is 30
But CFD Gold retail leverage is 5
And CFD Tesla retail leverage is 20
Which mql5 instructions are suitable to get "Symbol Retail Leverage"
Regards