MQL5 library that was born to simplify
npm install mql-simplify
bash
npm init
`
$3
`json
"scripts": {
"compile": "@powershell -NoProfile -ExecutionPolicy Unrestricted -Command ./node_modules/mql-simplify/compile.ps1"
},
`
$3
`bash
npm install mql-simplify --save
`
Example of usage:
`c++
#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();
}
``