Study MQL / Publications
Forum
How does the MetaTrader platform calculate the required margin?
Hello, In MetaTrader, we calculate MARGIN REQUIRED easily as follows: MarketInfo(_Symbol, MODE_MARGINREQUIRED) I tried to implement the same idea in cTrader, but I'm facing issues. How can I create the same function as MarketInfo(_Symbol, MODE_MARGINREQUIRED), but with cAlgo code? I created the