Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Script | Max trade volume checker for your trading account (Script version)

This is a script version of this: https://www.mql5.com/en/code/51877

Dialogs aren't really used in scripts, but a small graphical panel of information was created to display the maximum lot size permitted. The max lot size is based on your account size and leverage, and this is calculated from the free margin. Some may not want to load an expert advisor to fetch the information if it can be fetched through a script.

MetaTrader Experts, Indicators, Scripts and Libraries

51957