Download MetaTrader 5
To add comments, please log in or register
They are already making profit from their signals. Publish your signal and join them!
Laszlo Komka
385
Laszlo Komka 2016.09.19 04:14 

I trading about 15 currency pairs, and I would like to write a method (function or class) to return the number of open orders per symbol.

Any idea how can i do this?

Thanks, Phil

Fernando Carreiro
1571
Fernando Carreiro 2016.09.19 07:02  

Please read the documentation about all Trade Functions but especially in regards to the following functions:

You should also familiarise yourself with the Programming of Trade Operations, but please note that this tutorial is in the old style of MQL4, but you should be using the new Updated MQL style.

/
To add comments, please log in or register