New article Cross-Platform Expert Advisor – Orders has been published:
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