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.
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.
To stop the server, click on Start > Administrative Tools > Services.
Under the Services window, look for MetaTrader 5 Main Trade Server and click it.
On the General tab, under Service status, click on the “Stop” button and wait for the MetaTrader server to stop.
Transfer/Copy the CapitalTaxGains.dll file into the server root directory “plugin” folder.
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.