Skip to content

Open Source MQL5 library that was born to simplify.

Notifications You must be signed in to change notification settings

AbraaoM/mql-simplify

Repository files navigation

MQL Simplify

A collection of classes to simplify common mql 5 implementations to many different uses.

Instalation

Initialize npm directory

Inside your mql project directory run the follow command:

npm init

Add compile script on package.json

  "scripts": {
    "compile": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./node_modules/mql-simplify/compile.ps1"
  },

Install package from npm

npm install mql-simplify --save

Example of usage:

#include "node_modules/mql-simplify/Graphic.mqh"

CHorizontalLine exampleLine;

int OnInit() {
  //Plot a default line on chart
  exampleLine.Create(); 
  return (INIT_SUCCEEDED);
}

void OnDeinit(const int reason) {
  //Remove the exampleLine from chart 
  exampleLine.Destroy();
}

About

Open Source MQL5 library that was born to simplify.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published