What code to use to display broker's leverage?

 

Hi,

 I want to create a custom indicator that automatically display the broker's leverage on my chart.

 What is the code to use to display that? 

 

Nevermind, I figured it out:

 Print("Account #",AccountNumber(), " leverage is "AccountLeverage());

http://docs.mql4.com/account/accountleverage

AccountLeverage - MQL4 Documentation
  • docs.mql4.com
AccountLeverage - MQL4 Documentation