Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When you hover mouse you might see actual prices that broker has.

...

System requirements

  1. It relies on Microsoft .NET v4.6.2 which you can download from: https://www.microsoft.com/en-US/download/details.aspx?id=53345

...

  1. Bring mtmanapi[64].dll files to the application's folder. You can find it at MetaTrader4 Administrator installation folder → /API folder.

First time run

  1. To proper usage you will need to put mt4manapi[64].dll files to the application folder.
  2. Then put mt4feeder.feed file to the same folder
  3. Under MetaTrader 4 server installation folder → /datafeeds you will find mt4feeder.feed file, bring it to the application's folder.
  4. Copy NLog.config.example to  to NLog.configRun! Program

First time run

When you run application at very first time it will generate empty settings file. Close app and adjust settings through just created file settings.json

Settings

Code Block
languagejs
titlesettings file example
{
  "Server": "mt4.broker.domain:443",		// MT4 server address
  "Login": 1,								// manager api account
  "Password": "***",						// its password
  "ImmediatelyUpdateUIOnQuote": true,
  "TimeToComputeAverage": "00:00:00",
  "ShowErrors": false,
  "ShowWarnings": false,
  "DefaultTableCellColor": "255, 255, 255",
  "ErrorTableCellColor": "255, 100, 0",
  "InactiveTableCellColor": "200, 200, 200",
  "DefaultErrorTime": 180,
  "DefaultWarningTime": 60,
  "Separators": [
    ",",
    " "
  ],
  "UnquotableTableCellColor": "100, 100, 100",
  "WarningTableCellColor": "255, 200, 0",
  "SpreadIsLowerCellColor": "240, 255, 240",
  "TresholdOptions": [
    {
      "WarningTime": 10,
      "ErrorTime": 60,
      "Mask": "EURUSD.*"
    }
  ],
  "SecurityTypes": [
    {
      "Index": 0,
      "Name": "Forex",
      "Enabled": true,
      "ErrorSound": "Media/error.wav",
      "ErrorTimeout": 15,
      "WarningSound": "Media/warning.wav",
      "WarningTimeout": 300
    },
    {
      "Index": 1,
      "Name": "Indices",
      "Enabled": false,
      "ErrorSound": "Media/error.wav",
      "ErrorTimeout": 30,
      "WarningSound": "Media/warning.wav",
      "WarningTimeout": 60
    }
  ],
  "IgnoredSymbols": [
    ""
  ],  
  "CustomGridColumns": [
    {
      "Enable": false,
      "Name": "BR1.bid",
      "Width": 200,
      "Expression": "GetFeederPrice(\"FxPro demo\", qs.Quote.Symbol).Bid"
    },
    {
      "Enable": false,
      "Name": "BR1.bid - bid",
      "Width": 200,
      "Expression": "((GetFeederPrice(\"FxPro demo\", qs.Quote.Symbol).Bid - qs.Quote.Bid) * GetSymbol(qs.Quote.Symbol).Multiply).ToString(\"N0\")",
      "_comment1": "qs.Quote.Bid.ToString(), GetFeederPrice(\"FxPro demo\", qs.Quote.Symbol)"
    }
  ],
  "MainFeeder": {
    "Enabled": true,
    "Name": "main_feed",
    "Path": "mt4feeder.feed",				// you can get it from your MT4 server folder, under /feeders/ subfolder
    "Server": "mt4.broker.domain:443",		// address of primary quotes stream, usually it the same with 'server' field above
    "Login": "123",							// trader account login
    "Password": "***"						// its password
  },
  "Feeders": [
    {
      "Enabled": false,
      "Name": "FxPro D",
      "Path": "mt4feeder.feed",
      "Server": "demo5-london.fxpro.com:443",
      "Login": "123",						// trader account
      "Password": "***"
    },
    {
      "Enabled": false,
      "Name": "FxPro D",
      "Path": "mt4feeder.feed",
      "Server": "demo5-london.fxpro.com:443",
      "Login": "123",
      "Password": "***"
    },
    {
      "Enabled": false,
      "Name": "FXCM D",
      "Path": "mt4feeder.feed",
      "Server": "mt4d02.fxcorporate.com:443",
      "Login": "123",
      "Password": "***"
    },
    {
      "Enabled": false,
      "Name": "GKFX D",
      "Path": "mt4feeder.feed",
      "Server": "108.61.199.94:443",
      "Login": "123",
      "Password": "***"
    },
    {
      "Enabled": false,
      "Name": "fx.com D",
      "Path": "mt4feeder.feed",
      "Server": "74.217.53.106:443",
      "Login": "12345",
      "Password": "***"
    }
  ]
}