top of page
Capital Tax Gains Plugin




The Capital Tax Gains plugin is intended to employ a taxable percentage of a closed position on an instrument where a tax will be debited from the users balance upon a Buy or Sell order. This plugin will instruct the MetaTrader 5 Platform to calculate a specified amount of tax upon the closing of a position for a specified instrument at any Buy and Sell order.


Plugin Installation


To install the plugin, the MetaTrader 5 Server program has to be stopped temporary before copying the CapitalTaxGains.dll file into the “MetaTrader 5 Platform/MainTrade/plugins” in the server root directory.


  1. To stop the server, click on Start > Administrative Tools > Services.

  2. Under the Services window, look for MetaTrader 5 Main Trade Server and click it.

  3. On the General tab, under Service status, click on the “Stop” button and wait for the MetaTrader server to stop.

  4. Transfer/Copy the CapitalTaxGains.dll file into the server root directory “plugin” folder.

  5. Go back to Services window, click “Start” button to start the MetaTrader 5 Main Trade Server service.


How to order the plugin


The plugin is an extension to the server functionality.

bottom of page