Coder Social home page Coder Social logo

afcarl / roffildlibrary Goto Github PK

View Code? Open in Web Editor NEW

This project forked from roffild/roffildlibrary

0.0 1.0 0.0 239 KB

Library for MQL5 (MetaTrader) with Python, Java, Apache Spark, AWS

Home Page: https://roffild.com/

License: Apache License 2.0

MQL5 57.30% Java 23.89% Shell 0.35% Batchfile 0.11% HTML 0.52% Python 11.68% C 6.15%

roffildlibrary's Introduction

Roffild's Library

I am known to the MQL5 community by the name of Roffild and this is my open source library for MQL5. An attempt to implement the features on MQL5, which have long become the standard for popular programming languages. Each file has one idea. The library is replenished as needed for new capabilities.

Few people tried to put the project in Github. There is no single standard. MetaQuotes does not use version control systems when creating a project. For some reason, programmers from MetaQuotes believe that the project should be of the same type. For small projects that are published in CodeBase on the MQL5.com site, this division is justified. For medium and large projects, it is not possible to select one type of project.

I experimented with different structure of the project. To use Git, I had to take the files out of the standard folder structure that MetaQuotes adopted. Create a link to the staging folder (in this library, the folder "Roffild") - the best option.

MetaEditor can save code in UTF-16, but encoding UTF-8 with BOM is also supported. To convert a file with the source code, you need to use a third-party editor (I recommend Notepad++).

This library can be divided into interests:

  • common tasks (ArrayList, Log4MQL, ToIndicator, etc.);
  • experiments with AlgLib in machine learning;
  • using Apache Spark with Amazon Web Services (EC2 and EMR), when the capabilities of AlgLib ceased to be enough;
  • using TensorFlow or PyTorch via PythonDLL.

MQL5 is part of the trading platform MetaTrader 5 (MT5) for Forex, CFD and Futures. The version of MetaTrader 4 (MT4) with MQL4 is still used, but after the latest updates it is compatible with the MQL5 syntax. Officially, the version of MetaTrader 4 (MT4) is no longer supported, but for compatibility you can use #property strict at the beginning of the file.

Documentation

MQL5
Java

Links

Roffild.com
Github
GitLab
BitBucket
MQL5.com: topic for discussion in English
MQL5.com: тема для обсуждения на Русском


Installation

(Optionally)

mklink /j link where - does not require administrator rights.

It makes sense to move the %APPDATA%\MetaQuotes folder to the root of the partition or to a larger partition. Windows has a limit of 255 characters to the file path. The full path to the MQL5 folder I have is 88 characters. When testing, the terminal copies history by the number of local agents that increases the size of this folder by several gigabytes.

  1. Move the %APPDATA%\MetaQuotes to D:\MQLProjects
  2. mklink /j "%APPDATA%\MetaQuotes" "D:\MQLProjects"
  3. mklink /j "D:\MQLProjects\MQL5" "D:\MQLProjects\Terminal\D0E8209F77C8CF37AD8BF550E51FF075\MQL5"

(Important)

Run the create_links.bat from the MQL5\MyProjects\RoffildLibrary folder after cloning the project.

Code style

Google Java Style

Tab = 3 spaces

Column limit = 110

License

Apache License 2.0

roffildlibrary's People

Watchers

 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.