GithubHelp home page GithubHelp logo

mql-tools's Introduction

The MQL Tools extension adds language support for MQL (MetaQuotes Language) to VS Code, including functions:

1. Checking the syntax of mqh/mq4/mq5 files (without compilation).

2. Compilation of mq4/mq5 files.

3. Compilation of mq4/mq5 files using script.

The script opens the file "mq4/mq5" in the "MetaEditor" and clicks the "Compile" button, thus MT4/MT5 is automatically updated. (The idea is taken from here).

4. Opening the MQL help.

To find the word you need in the MQL help, put the cursor on it or highlight it and then press F1.

5. In the explorer context menu, added items:

  • "Open in 'MetaEditor'"

  • "Show/hide ex4/ex5 files"

  • "Insert MQH as #include"

  • "Insert the file name 'mq4/mq5' in 'mqh'"

    (When working with the "mqh" file, in order not to switch to the "mq4/mq5" file window during compilation, you should write the name of the "mq4/mq5" file on the first line. Example: //###<Experts/Examples/MACD Sample.mq5>).

6. Creating a comment for a function.

7. Visualizing and modify mql colors.

8. Autocomplete of entering names of variables, constants and MQL5 functions.

9. Displaying information about mql5 function when hovers show the mouse cursor over its name.

10. MQL syntax highlighting.

Quick Setup Guide:

  1. Open the folder with MQL files in VSCode. Example: C:\Users<your name>\AppData\Roaming\MetaQuotes\Terminal\D2E7219F73C8BF37CD8BF550E55FF075\MQL5. (The folder must be named MQL4 or MQL5! This is important!!!)

  2. Specify the path to MetaEditor in the extension settings and, if necessary, the path to "Include" files.

  3. Create a settings file "settings.json". Press Ctrl+Shift+P to open the command palette, select "MQL: Create configuration".

  4. If you wish, you can set icons for MQL files. Press Ctrl+Shift+P to open the command palette, select "MQL: Add icons to the theme", then select a theme to which icons will be added (icons can be added only to certain 4 themes).

mql-tools's People

Contributors

l-i-v avatar alexcercos 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.