Download MetaTrader 5

Script that counts orders?

To add comments, please log in or register
Improve your rating. Execute orders in Freelance service!
kathala
68
kathala 2016.11.21 16:41 

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 

whroeder1
14470
whroeder1 2016.11.21 17:19  
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.
kathala
68
kathala 2016.11.21 17:58  
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.

Keith Watford
Moderator
9603
Keith Watford 2016.11.21 23:17  

Have you googled

MT4 script count open orders

?

kathala
68
kathala 2016.11.22 13:50  
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.
whroeder1
14470
whroeder1 2016.11.22 15:18  
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
kathala
68
kathala 2016.11.23 13:34  
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.
Keith Watford
Moderator
9603
Keith Watford 2016.11.23 14:29  
A simple search will give you lots of examples. Strange that we can find them but you can't.
whroeder1
14470
whroeder1 2016.11.23 14:33  
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."

To add comments, please log in or register