Page tree
Skip to end of metadata
Go to start of metadata

Files could be downloaded from here: https://nuget.cplugin.com/feeds/apps/CPlugin.QuotesMonitor

When broker has worse prices (in comparison) it marks cell with yellow or even red color. For example:

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
  2. Bring mtmanapi[64].dll files to the application's folder. You can find it at MetaTrader4 Administrator installation folder → /API 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 NLog.config

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

settings 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": "***"
    }
  ]
}
  • No labels