A collection of classes to simplify common mql 5 implementations to many different uses.
Inside your mql project directory run the follow command:
npm init
"scripts": {
"compile": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./node_modules/mql-simplify/compile.ps1"
},
npm install mql-simplify --save
#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();
}