Discussion of article "Cross-Platform Expert Advisor: Order Manager"

 

New article Cross-Platform Expert Advisor: Order Manager has been published:

This article discusses the creation of an order manager for a cross-platform expert advisor. The order manager is responsible for the entry and exit of orders or positions entered by the expert, as well as for keeping an independent record of such trades that is usable for both versions.

The following figure broadly illustrates how the order manager will implement the entry of trades:

Diagram for Entry

Author: Enrico Lambino

 

Hello Enrico,

I haven't found any method for getting order profit. There is no one?

 
mbjen #:

Hello Enrico,

I haven't found any method for getting order profit. There is no one?

An Order can't have a profit until it is opened and becomes a Position.
Reason: