Easy Canvas (iCanvas) – library MetaTrader 4
The library and iCanvas class simplify writing programs using Canvas. Here is an example of a simple indicator using this library. In this example, the indicator body features no function for processing OnChartEvent events. But it may also be present. #property indicator_chart_window #property strict #include <CanvasiCanvas.mqh> //+——————————————————————+ int OnInit() { EventSetMillisecondTimer(30); ChartSetInteger(0,CHART_CROSSHAIR_TOOL,false); // turn … Read more