How to calculat Max lots Size before reaching a margin call:
Created at 08 Mar 2024, 10:40
ST
How to calculat Max lots Size before reaching a margin call:
08 Mar 2024, 10:40
what i wong.double Leverrage = Account.PreciseLeverage;
double MarginRequired = (Symbol.LotSize / Leverrage) * Bid;
maxLotSize = (Account.Balance * Leverrage) / MarginRequired;