MetaTrader calculates margin level using the full equity value, which includes any credit added to the account. When credit is present, the effective margin level is higher than it would be based on the client’s deposited funds alone.
Margin-Credit Tracker provides a broker with ability to recalculate these levels to exclude the credit amount. The margin-call and stop-out thresholds used by the plugin are based on actual client funds.