
hello, can anyone help me?
I need the margin rates value which I want to store in the MarginRates variable
However, it is difficult to do this because you have to use the custom code mql5
How do you get the margin rates?
Because there are two types of buy and sell, I only need one of them.
This is the code I created and it still seems wrong. Is there anyone who can help me?
My Custom MQL Code :
SymbolInfoMarginRate(Symbol(), ORDER_TYPE_BUY, MarginRates, MarginRates);