How to calculat Max lots Size before reaching a margin call:

Created at 08 Mar 2024, 10:40
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
ST

stepdominiz

Joined 02.03.2024

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;
 


@stepdominiz