Easy to use Hedging Class for MQL4 by Peter Mueller – library MetaTrader 4 – library MetaTrader 4

Easy to use Hedging Class for MQL4 by Peter Mueller - library for MetaTrader 4 - library for MetaTrader 4
Input Parameters: OrderDistancePoints : Determines the distance in points from the current ask price for placing buy orders and from the bid price for placing sell orders. TPPoints : Specifies the take profit target in points. Startlotsize : Sets the initial lot size for trades. Gainperlot : Defines the desired gain per lot size. The … Read more

Easy to use Hedging Class for MQL5 by Peter Mueller – library MetaTrader 5

Easy to use Hedging Class for MQL5 by Peter Mueller - library for MetaTrader 5
Input Parameters: OrderDistancePoints : Determines the distance in points from the current ask price for placing buy orders and from the bid price for placing sell orders. TPPoints : Specifies the take profit target in points. Startlotsize : Sets the initial lot size for trades. Gainperlot : Defines the desired gain per lot size. The … Read more

Easy Trend Visualizer – indicator MetaTrader 5

Fig.1 The Easy Trend Visualizer indicator
The real author: EarnForex The Easy Trend Visualizer indicator is a simple visualizer of trends. That is, it makes exactly what its name indicates. It shows where the trend starts and ends and where the trend is absent at all. It is based on the ADX standard indicators (Average Direction Movement Index). Colored arrows define … Read more

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 … Read more

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 … Read more