GitXplorerGitXplorer
m

mql5

public
10 stars
1 forks
0 issues

Commits

List of commits on branch main.
Verified
0f636875be3d38135b943ba049a468e5bafa22f4

Update format

mmskelton committed 2 years ago
Verified
0c843f99fb9d93c43d5b8cf99a55a0559cb557c8

Fix iHigh

mmskelton committed 2 years ago
Verified
a74a4e6fd05d2898c97a77a49826053e1e7d4c9a

add colors

mmskelton committed 2 years ago
Verified
8efdac19e617c85c738f2b4cfe634f4e9842c8d2

Log

mmskelton committed 2 years ago
Verified
ababe2fd180681a8da8ae22dcb202be1367f7b36

Update clang

mmskelton committed 2 years ago
Verified
f844e45ed47e7def2e40c3b73d9a648605a732ca

Revert "Get strings working"

mmskelton committed 2 years ago

README

The README file for this repository.

MQL5

MQL5 core and standard library implemented in proper C++ for use with language servers and modern editors.

Usage

To use the MQL5 header files, run the following command in your repository with your expert advisors. This will add this repository as a submodule so you can easily update when changes are made to type definitions.

git submodule add https://github.com/mskelton/mql5

Configuring clang

To configure clang to recognize and use the MQL5 core types, create a compile_flags.txt file in the root of your project and add the following to it.

-Imql5/Include
--include=Core/MQL5.mqh
-std=c++11
-xc++
-Wno-write-strings

To fix the issue where some included files show a "Too many errors omitted, stopping now" error, create a .clangd file with the following.

CompileFlags:
  Add: -ferror-limit=0

Updating type definitions

To update type definitions if there are new changes, simply run the following command to update the submodule.

git submodule update --remote mql5