steady2017 / Publications
Forum
Safe margin calculation
Hi, I'm trying to calculate lot size in a such way so that it will fit in account balance and satisfy broker's margin requirement. The complexity is added by the fact, that my account is in AUD and XAUUSD is in USD. Here is my current calculation: double marginInitial; double marginMaintenance;
MT4 tester: SL is triggered without price approaching it
Hi, Please help me to understand what is going on here. I faced a strange SL behavior in MT4 Strategy Tester when order closes on SL without price even approaching it. Symbol: GOLD Timeframe: 15min Order Time: 21.08.2024 8:00 Order Price: 2509.60 SL: 2517.60 (+800 points) SL triggered on