Git Product home page Git Product logo

mt4-libs's Introduction

#Welcome This is my set of open source MetaTrader 4 libraries (almost all) released under the GNU GPL v3 license and appropriately referenced libraries compiled other open source code found in forums and other websites. A copy of the is available in the root of the repository or from GNU website.

#Disclaimer Trading is inherently risky. If you use these libraries or any of the source code or indicators in this repository you do so acknowledging they are provided AS-IS and WITH NO WARRANTY of any kind. If you chose to use the results of these indicators or supporting libraries in your trading or any other decision making processes you do so at your own risk. In downloading, cloning, or generally obtaining a copy of anything from within this repository you acknowledge the author, Michael O'Keeffe, is NOT responsilble for any type of losses you incur as a result of using the:

  • source code,
  • compiled or other binary products, or
  • any works derived from this source or binary code held in this repository.

#What is MetaTrader 4 (MT4) MetaTrader 4 is a retail trading platform commonly used by retail traders to trade Foreign Exchange (FX) and Contracts For Difference (CFDs). You can learn more about MetaTrader from the the MetaQuotes website.

#Why build libraries? The MetaQuoates Language 4 (MQL4) for MetaTrader 4 (MT4) is limited in many ways. When compared to modern programming languages MQL4 lacks basic language features that many you may take for granted e.g. C/C++ structs. It also suffers poor performance when asked to perform computationally intensive tasks such as statistical calculations. The libraries available here help address some of the short comings of the core library and are aiming to provide a work around for some of the language limitations.

#Who should use these libraries? Anyone who wants to write a script, indicator, or expert advisor for MetaTrader 4. Naturally you will at least need to know MQL4, how to install the libraries and indicators into your MT4 platform. I will be add the C++ code for some of the available functions but will make sure a DLL is available for download if you don't know C++ or how to build the DLL files.

#The libraries As of 15/10/2012 there are four libraries here:

  • ninety47_stats: is a simple library for statistical calculations - at the time of writing it currently house only 1 function to calculate the correlation.
  • ninety47_common: holds a set of functions that I would commonly use in indicators, scripts and experts.
  • ninety47_string: a set of helpful string manipulation functions.
  • ninety47_test: a set of functions to help write scripts for testing (almost unit tests).

In the future I will be adding a library of trade functions.

#References Here are some useful links:

  • Forex Factory: Is a great source of trading ideas, MT4 help and general trader talk.
  • Steve Hopwood's FX forum: Has lots of information and a supportive community for anyone wanting to build an indicators, experts etc.
  • Visual Studio Express Edition: Visual Studio (even though its Microsoft product) is a great IDE and hey its the easiest way to build DLLs.
  • I'd put www.ninety47.com here buts its not even under construction yet :)

#Feedback If you like this code let me know by following me here and on twitter @ninety47.

mt4-libs's People

Contributors

ninety47 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.