Easy Canvas – library MetaTrader 5

Easy Canvas - library for MetaTrader 5
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 #include <CanvasiCanvas.mqh> int OnInit()   {    EventSetMillisecondTimer(33);    ChartSetInteger(0,CHART_SHOW,true);    ChartSetInteger(0,CHART_CROSSHAIR_TOOL,false);  // turn off

Easy Canvas (iCanvas) – library MetaTrader 4

Test iCanvas
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

Easy Object – library MetaTrader 4

Hello, World!
A simple class to simplify working with objects. It was like this: ObjectCreate ( 0 , “name” , OBJ_TEXT , 0 , 0 , 0 ); ObjectSetString ( 0 , “name” , OBJPROP_TEXT , “Hello, World!” ); ObjectSetString ( 0 , “name” , OBJPROP_FONT , “Calibri” ); ObjectSetInteger ( 0 , “name” , OBJPROP_FONTSIZE ,