Download MetaTrader 5

New article: Cross-Platform Expert Advisor – Orders

To add comments, please log in or register
MetaQuotes Software Corp.
MetaQuotes Software Corp. 2016.09.16 09: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

To add comments, please log in or register