margin is simply an amount of money which is required for having positions opened. Free margin means a free amount of money which can be used for opening additional positions. Margin is not a commission you need pay, but it is simply a collateral for trading forex and cfds.
The margin level is the percentage value based on the amount of equity versus used margin. Margin call is triggered when your account equity drops below 50 of the margin needed to maintain your open positions.
There is a margin check that tests for what the mt4 account margin level will be after the trade is open. If the the mt4 account margin level is within the acceptable limits, it lets the trade through. The threshold for measuring the post-trade margin ratio is set by the broker usually at 120.
the margin indicates the money required to cover open positions and pending orders. The required margin for each symbol on mt5 depends on your brokerage firms conditions. It may be fixed, or varies by the leverage setting on your trading account. The free margin indicates the free amount of money that can be used to open positions.
If you need to use the leverage or margin information in your expert advisor or any other mql4 program, the language offers some native functions to retrieve these details for you accountinfointeger (accountleverage) returns the leverage set on your trading account. Leverage for specific trading instruments may sometimes differ from this.
-tagalog explanationbasic mt4 forex termssimplified explanation on balance, equity, free margin, ma.