Skip to content
CPlugin logo
  • Home
  • Blog
  • Store
  • Contact
  • FAQ
  • Cart
  • My account
  • Knowledge Base
CPlugin logo
  • Home
  • Blog
  • Store
  • Contact
  • FAQ
  • Cart
  • My account
  • Knowledge Base

General

  • How to obtain files

MT4 ManagerAPI .NET Wrapper

  • Installation
  • Connection pool
  • Price Helper

Standalone Apps

  • Join two MT4 Servers
  • Compress MT4 database
  • Quotes Monitor
  • Quotes Monitor (WPF)
  • MT4 Report Server extended replication
  • EMIR
  • DividenderLT
  • Tools to calculate dividends
  • CopyTrading
    • Sentiment Strategy (LMAX)
    • MT4 (ManagerAPI) to LMAX
    • MT4 Plugin
    • MT4 (ManagerAPI) to MT4

Plugins for MT4/MT5

  • Flexible Leverage
  • GapHelper plugin
  • Multi Account Manager (MAM)
  • Spread Extender
  • HedgeHelper
  • Multi-Tier IB
  • Multi-Tier IB advanced version

Cloud

  • General info
  • WebAPI
    • WebAPI
    • Authorization
    • Pricing and terms
    • RESTful
    • Web Sockets (SignalR)
  • Home
  • Docs
  • Standalone Apps
  • CopyTrading
  • MT4 (ManagerAPI) to LMAX

MT4 (ManagerAPI) to LMAX

Tool to copy trade from MT4 server using ManagerAPI through .NET Wrapper to LMAX using their .NET API.

You will need to be sure you have latest version of LmaxClientLibrary.dll and LMAX-Instruments.csv that can be obtained from LMAX.
You need to obtain mtmanapi[64].dll files from MT4 Administrator installation, it is needed for .NET wrapper.

Chocolatey package can be downloaded from here: http://nuget.cplugin.com/feeds/apps/CPlugin.CopyTrade.ManAPITool.LMAX/versions

Settings #

After you run the application for the very first time it will generate sample settings file for you.

<source> needs to describes source mt4 server connection parameters. Be sure that this account has manager rights.

<map> nodes need to describe mapping between MT4 symbol names and LMAX. You can use regular expressions.

<destination> nodes need to set LMAX connection settings, as many as you want.

<copy> node is for setting copying logic.

in where clause you can write expression using FLEE, you are able to use trade variable.

in to parameter you put id of destination connection and multiplier you want to use.

<?xml version="1.0" encoding="utf-8"?>
<settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lmax_csv="LMAX-Instruments.csv">
	
	<!-- put your MT4 connections credentials here -->
  <source address="127.0.0.1" port="443" login="1" password="password123" />

  <!-- mapping between MT4 symbol name to LMAX -->
  <map from="(...)(...)" to="$1/$2" />
  <map from="(...)(...)c" to="$1/$2" />
  <map from="XAUUSD" to="XAU/USD" />
  <map from="XAUUSDx100" to="XAU/USD" />
  <map from="US30" to="WS30" />

  <!-- LMAX connections list, choose unique guid for each connection to keep relations with settings and persistance database, and never change after -->
 
  <destination guid="76675c54-ba9b-4fd7-9002-56733a64934a" url="https://web-order.london-demo.lmax.com" login="login123" password="password123" isLive="false" />
  <destination guid="b4ddeeb2-0efc-4d9e-95d7-be843d60a8f4" url="https://web-order.london-demo.lmax.com" login="login123" password="password123" isLive="false" />


  <!-- rules to copy from MT4 to LMAX -->
  <copy where="trade.Login in (817505; 203225; 205812) and trade.Symbol &lt;&gt; &quot;US30&quot;">
  	<!-- define which LMAX connection to use and how much volume to copy -->
    <to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="0.2" />
  </copy>

  <copy where="trade.Login in (817505; 203225; 205812) and trade.Symbol = &quot;US30&quot;">
    <to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="0.015" />
  </copy>

  <copy where="trade.Login in (1000; 210289)">
    <to guid="76675c54-ba9b-4fd7-9002-56733a64934a" coef="1" />
  </copy>

</settings>
Still stuck? How can we help?

How can we help?

Updated on July 24, 2023
Sentiment Strategy (LMAX)MT4 Plugin

Powered by BetterDocs

Table of Contents
  • Settings

Copyright © 2015  - 2025 CPlugin

Telegram Email EmailLinkedinFacebookTwitter

Powered by CPlugin