Skip to content

Connect MT5 Feeder

Stream your XCore prices to MetaTrader 5 through the PrimeXM MT5 Feeder.

Before you start: Add a liquidity provider and Mark up prices.

Steps

1 · MT5 connector

Create the connector DEMO_MT5 with type = MT5 and enable it.

Reference: Connector

2 · MT5 pricing connection

In ConnectorConfigSetting, for DEMO_MT5 · pricing:

  • LoginPassword: set your own password.
  • AllowedIPs: enter your MT5 server's live and backup IPs, comma-separated.

Reference: Connector Config

3 · MT5 price stream

Create the connector stream DEMO_MT5_STREAM and enable it.

Reference: Connector Stream

4 · MT5 stream symbols

For each symbol:

  • instrument = the MT5 symbol name the Feeder requests
  • lq_pool = DEMO_POOL, markup_profile = DEMO_MARKUP
  • BITCOIN only: session = SUN|00:00:00-SAT|24:00:00 (it trades around the clock)
  • enable = 1

Reference: Connector Stream

5 · Install the MT5 Feeder

On the MT5 server, copy PXMFeeder64.exe into a new folder under the History Server Datafeed folder, with the History Server stopped.

See: MT5 Feeder installation

video=896599233

6 · Configure the MT5 Feeder

In MT5 Administrator, right-click Data Feeds → Add. Set the module to PXMFeeder64 with Quotes only, then copy these values:

Copy from (XCore Portal) Paste into (MT5 Administrator · Data Feed)
Top-menu dropdown (where the versions are) → XCore DNS, and ConnectorConfigSetting · value of DEMO_MT5 · pricing · SocketAcceptPort Common · Feed server: <XCore DNS>:<pricing port>
ConnectorConfigSetting · value of DEMO_MT5 · pricing · LoginUsername Common · Feed login
The password you set in step 2 Common · Password
ConnectorStreamSetting · instrument of each symbol on DEMO_MT5_STREAM (step 4) Symbols · Add: the MT5 symbols with exactly these names, or their path, e.g. Forex\*
  • Timeouts: 5 seconds for the reconnection settings.
  • If MT5 has other data feeds, move this one to the top of the list.

After you apply (below), check in MT5 Manager that ticks arrive.

See: MT5 Feeder configuration (Configuration Procedure, after the installation steps)

Apply

Click Verify, then Apply & Restart. More →


Next → Execute Trades