New article: Cross-Platform Expert Advisor – Orders

Back to topics list To post a new topic, please log in or register
avatar
Moderator
72395
MetaQuotes 2016.09.16 11:04
 

New article Cross-Platform Expert Advisor – Orders has been published:

MetaTrader 4 and MetaTrader 5 uses different conventions in processing trade requests. This article discusses the possibility of using a class object that can be used to represent the trades processed by the server, in order for a cross-platform expert advisor to further work on them, regardless of the version of the trading platform and mode being used.

The following shows a screen shot of the platform upon executing the EA. Note that since the EA calls the ExpertRemove function, it is automatically removed from the chart as soon as it executes its code (only single execution for the OnTick handler).




Author: Enrico Lambino

Back to topics list  

To add comments, please log in or register