GithubHelp home page GithubHelp logo

jamesoram / mt4j Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cyberflohr/mt4j

0.0 1.0 0.0 7.9 MB

Java connector for Metatrader4

License: Apache License 2.0

Java 24.97% C++ 62.00% C 13.03%

mt4j's Introduction

Java connector for Metatrader (MT4)

This simple application shows you how to write your own extension for metatrader (EA, indicator, library) in JAVA. The JAVA code is executed in a virtual machine which runs inside the terminal.exe (MT4) process.

Repository folders

  1. java folder

Contains a sample eclipse project with a simple EA implemenation in JAVA.

  1. mt4 folder

Contains the MT4 EA code, which calls the JAVA implementation.

  1. vc folder

Contains a Visual Studio project with the sources for the MT4 Java connector.

Steps to run this application

  1. Copy the experts folder from your mt4 source folder to your Metatrader installation directory

  2. Open Visual Studio project and build (F7) DLL. Important: Please check the path for your JAVA SDK installation (Project settings -> VC++ directories - Include directories)

  3. Copy DLL to your Metatrader installation directory /exterts/libraries

  4. Open the eclipse project and export the project as JAR file.

  5. Copy the JAR file to /exterts/libraries

  6. Edit JVM configuration file /exterts/libraries/mt4j.properties and adjust the path to your JVM dll and your JAR file.

  7. Restart MT4. In the navigator panel under "Experts" you should now see the mt4jSample EA

mt4j's People

Contributors

cyberflohr avatar

Watchers

James Oram avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.