Download MetaTrader 5

function to return order numbers per symbol

To add comments, please log in or register
Laszlo Komka
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
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