but i cant find the function to calculate it in mql5.
https://www.mql5.com/en/docs/trading/ordercalcmargin
Documentation on MQL5: Trade Functions / OrderCalcMargin
- www.mql5.com
The function calculates the margin required for the specified order type, on the current account, in the current market environment not taking into account current pending orders and open positions. It allows the evaluation of margin for the trade operation planned. The value is returned in the account currency. [out] The variable, to which...
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hey guys,
ive found several threads about how to calculate the necessary margin in mt4 to open a position but i cant find the
function to calculate it in mql5.
i want to know how to calculate how much margin it costs to open 0.1 or 1 LOT for a _Symbol without opening a Trade.
regards