Code Monkey home page Code Monkey logo

mt4manager's Introduction

MT4 Manager

MT4 Manager is .NET wrapper for meta trader 4 (MT4) manager API built using C++/Cli.

Copyright

MetaQuotes Software Corp. is the developer of the MetaTrader 4 online trading platform and MQL4/MQL5 software languages legal owner.

This solution was created to help users with .net experience use the latest API provide by MetaQuotes' Manager API. It was created using the same pattern provided in MT4ManagerAPI.h

Structure

  1. Definitions.h:

    • MetaQuotes: Wrapper over "MT4ManagerAPI.h"
    • Helpers: Includes Helper class used as a setter/getter for mails,new topics and plugin parameters.
    • Manager: Includes all data types defined in MT4ManagerAPI.h
  2. MT4ManAPI.h:

    Includes methods and functions defined in MT4ManagerAPI.h

Usage

The solution creates a class library (MT4Manager.dll) that can be included in .net projects.

Simple Example

// Include namespace
using Manager;

// Create MeTatraderManager instance 
MeTatraderManager mt4=new MeTatraderManager();

// Use connect function similar to how it is used in MT4ManagerAPI.h
mt4.Connect("127.0.0.1:443");
mt4.Login(1, "manager");

// Use Extended Pumping Switch
mt4.PumpingSwitchEx(CBFunc,(int)PumpingFlags.CLIENT_FLAGS_HIDETICKS|(int)PumpingFlags.CLIENT_FLAGS_HIDEONLINE,0);

mt4manager's People

Contributors

mhatoum1 avatar

Stargazers

 avatar  avatar aiken-spotec avatar  avatar Tarikh Agustia avatar Rukulus avatar Ali H. Askar avatar  avatar

Watchers

James Cloos 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.