MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Account information  AccountLeverage

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int AccountLeverage( )
Returns leverage of the current account.
Sample:
Print("Account #",AccountNumber(), " leverage is ", AccountLeverage());