Forum

CExpertMoney

Hello, I need your help for translating this MM module in mql5 using CExpertMoney double MoneyManagement() { double lot = 0 ; double Free = AccountInfoDouble ( ACCOUNT_EQUITY ); double LotVal = SymbolInfoDouble ( Symbol (), SYMBOL_TRADE_TICK_VALUE ); double Min_Lot = SymbolInfoDouble (

Order Size to fix

Hello, Below is the money management part of my expert. The calculation based on the "percent of equity" still returns a volume at 0.01. Where is the bug ? Thanking you in davance for your help ! double MoneyManagement() { double lot = 0 ; double Free = AccountInfoDouble ( ACCOUNT_EQUITY );