Examples: Orders Management - It's Simple

 

New article Orders Management - It's Simple has been published:

The article deals with various ways of how to control open positions and pending orders. It is devoted to simplifying of writing Expert Advisors.

Author: Andrey Khatimlianskii

 
has how to get the total buy, sell, buystop, sellstop, buylimit and sell limit the script?

regard
egt520
 
I added to the code in my strategy builder a script that handles errors so it resends the order n number of times (user defined) that way I make sure the order is opened. Take a look at molanis.com
 

is it missing ?

ArrayInitialize( _OrderComment, 0);

 
a new order does not work until I close a order.
i couldn't solve this problem