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 LOT

Real author: Andrey Mishustin

The script calculates the maximum lot size that can be used to open a position using the entire free margin available on the deposit. The calculated value is displayed in the upper right chart corner for 10 seconds by default. This code was first implemented in MQL4 and published in Code Base at mql4.com on 21.06.2012.

MetaTrader Experts, Indicators, Scripts and Libraries

Fig1. The MAX_LOT script on the chart

18058

Best MetaTrader Indicators + Profitable Expert Advisors