How to index the Open Trades symbols (in a Buffer) ? (MT4) - page 2

 
Yashar Seyyedin #:
Your request is totally unclear to me... You have to propose your full specification and maybe someone will be interested to help for free.
I fully understand, my sincere apology if my post gives you frustration.
 
Yashar Seyyedin #:
Your request is totally unclear to me... You have to propose your full specification and maybe someone will be interested to help for free.
Hi Yashar, as per codes : https://www.mql5.com/en/forum/305424#comment_10829666

The symbols.Total() = Total number of symbols with open orders (int oSymCn)

Now, I would like to get :-
1) Total number of symbols that with BUY open orders (int obSymCn)
2) Total number of symbols that with SELL open orders (int osSymCn)

I studied the "ArrayString.mqh", it neither provide the data of OP_BUY nor OP_SELL. Could you please provide the codes to get the obSymCn and osSymCn ? Thanks

Note that :-
1) oSymCn <= obSymCn + osSymCn
2) (obSymCn + osSymCn) may != oSymCn
Remove duplicates
Remove duplicates
  • 2019.03.02
  • Florian Riedrich
  • www.mql5.com
Hi, I want to get all Symbols in my present orderlist in an array. But if the symbol is already in the list, the loop must take the next one...