DividenderLT
This version is much lighter than Dividender. It takes information about amounts to be paid from a CSV file.
Files can be downloaded from nuget.cplugin.com/feeds/apps/CPlugin.DividenderLT/versions — simply unzip the archive with your favorite tool (we use the free 7-Zip).
The program needs these files in the application's folder:
mt4manapi.dll— you can get it from your Administrator terminal: navigate to its installation folder, and under the/api/subfolder you will findManagerAPI.zip. Unpack it somewhere and take only themtmanapi.dllfile.config.cfgdividends.csv
When the application starts, it:
- reads data from the
dividends.csvfile; - reads open trades from MT4;
- calculates dividends (if the
-wparameter is specified, it also executes the trade transactions in MT4).
Make sure your server has the Visual Studio 2015 redistributable package installed: microsoft.com/en-US/download/details.aspx?id=48145.
By default, the application runs in read-only mode to avoid mistakes. To enable write mode, use the -w command-line switch, or simply run the shipped run_prod.bat file, which does the same.
config.cfg
This file holds the information used between runs. It currently has these parameters:
MT4_server = 127.0.0.1:443
MT4_login = 1
MT4_password = manager
Ensure that this account is a Manager and has enough rights to request trades and execute trade transactions.
dividends.csv
This file should be populated using comma-separated values, for example:
MSFT,0.15
APPL,0.24
DAX30,-0.12

