Script that counts orders?

 

Hello,

 can I find a script somewhere that counts all open orders? I found a lot of discussion about such features, but no solutions or none that did anything when installed. A simple count of all open orders would do, but additional functions would be lovely as well (total lot size open, buy vs sell, ...), or some addition to the Exposure tab.

 

Thank you 

 
You have only three choices: Search for it, learn to code it, or pay (Freelance) someone. We're not going to code it FOR you.
We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.
 
whroeder1:
You have only three choices: Search for it, learn to code it, or pay (Freelance) someone. We're not going to code it FOR you.
We are willing to HELP you when you post your attempt (using SRC) and the nature of your problem.

Thank you for your kind reply.

I'm certain I'm not the first to require such a basic, trivial function. Surely someone has already written a working script in the past.

I'd be most grateful if someone could point me towards one.

 

Have you googled

MT4 script count open orders

?

 
Keith Watford:

Have you googled

MT4 script count open orders

?

Yes, and found only what I mentioned above. Same with an extended search through the mql forums.
 
kathala: Yes, and found only what I mentioned above. Same with an extended search through the mql forums.
Really? Took me a whole three seconds. count open orders
 
Herr Roeder seem to get a sick satisfaction out of derogatory comments. Otherwise you'd either post a helpful reply or, if you really thought the question so irrelevant and below you, none at all. 
You have earned the distinction of the two most useless posts I have come across on this forum and my extended searches of it. I have thus reported you to the administrator. I hope this gets you the attention you seek. 
I was going to make the point that a complete idiot, incapable of using a search engine, probably wouldn't end up on a highly specialised technical forum like this one. But your very presence proved me wrong, as testified in your perfectly senseless link.
 
A simple search will give you lots of examples. Strange that we can find them but you can't.
 
kathala: Herr Roeder seem to get a sick satisfaction out of derogatory comments. Otherwise you'd either post a helpful reply or, if you really thought the question so irrelevant and below you, none at all. 
You have earned the distinction of the two most useless posts I have come across on this forum and my extended searches of it.

Neither. You stated that you could not find "such a basic, trivial function. Surely someone has already written a working script in the past."

I used this, and in three seconds I found such scripts in

  1. Help creating a LOOP for Counting Open Orders - MQL5.community traders' Forum
  2. How to check if order is opened? - MQL5.community traders' Forum (if you can find the orders you can count them)
  3. counting open orders - MQL5.community traders' Forum
  4. How to count number of opend positions? - MQL5.community traders' Forum
  5. and many more

It is you that wasted everyone's time, by not doing "such a basic, trivial" search. I said it, Keith Watford said it, and then I said it more forcefully, which finally got you "the attention you seek."

You stated you could not find any "with an extended search through the mql forums." But I found them and Keith Watford said "Strange that we can find them but you can't." "You have earned the distinction of the two most" blatant lies "I have come across on this forum."