emei / Publications
Forum
MQL5 VPS configuration question
Hello everyone, I have a question about the VPS : Once the migration is done should the “Algo Trading” button be re-activated again
Maximum number of lots that can be opened MQL5.
Does anyone know how I can know how many lots I can open for example in a buy knowing the available capital? double max_lots() { double lots = MathMin (( AccountInfoDouble ( ACCOUNT_BALANCE )* AccountInfoInteger ( ACCOUNT_LEVERAGE )/ SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_CONTRACT_SIZE ))