[ARCHIVE!] Any rookie question, so as not to clutter up the forum. Professionals, don't pass by. Can't go anywhere without you - 4. - page 52
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Completely independent of that. Maybe it depends on something else, but not on ticks - I checked. In general, the new build has completely changed the terminal operation with respect to the EA flow. Now the looped EA clearly fulfills all iterations of the loop irrespective of the terminal operation, in old versions, there were delays in loading the main thread. By the way, the amount of CPU resources consumed by the looped EA has been drastically reduced.
I also had a similar problem with the terminal - there was no looping thing - it looked like the terminal was busy processing something... when I repeatedly tried to call up the Properties window with my mouse - after 5-8 attempts - it successfully opened...
Possibly, but it has nothing to do with the ticks.
Maybe, but it has nothing to do with tics.
I see.
I hope I'm on the right topic ; )
It's more of a nubian question, but I've been stuck on it for a while now.
int total=OrdersTotal();
int Q,W;
if (total == Q + W)
and then I open several different orders. Some are under Q, others under W. How to change an order (for example, if it closes) to Q, it will reopen Q... If they are both closed - Q and W, they will reopen only if they are both closed.
I hope I'm on the right topic ; )
It's more of a nubian question, but I've been stuck on it for a while now.
int total=OrdersTotal();
int Q,W;
if (total == Q + W)
and then I open several different orders. Some are under Q, others under W. How to change an order (for example, if it closes) to Q, it will reopen Q... Otherwise they are reopened only if Q and W are both closed.
As far as you can tell - the variables Q and W are integers.
Next, the orders of some integers are opened (how do you mean?) and you are asking how to do this, if an order (of some integer) is closed, in order to reopen some other integer. Now they open if two whole ones close (which ones what?).
The question is super. You correctly said, "The question is rather nubile". Exactly: a nub of asking questions. Don't be a noubet at asking questions, train yourself to ask them in such a way that you are understood.
In the meantime, you should go here.
I can tell from the question that the person asking it is completely new to mql4. Thanks for the reply, now I understand what the problem is.
I tried to understand it and got even more confused. I'm using 2 lots only. 2 different lots are opening. They should work together. When one of them closes, how do I make the closed one open again? When one lot is closed, the other one works together. Only when both lots are closed, 2 lots are opened. I would be grateful for advice.
The internet often goes down, is there no way to automate it programmatically to get it up and running again? Or what is known in this direction? Is there a way to power two or more ISPs at the same time, I mean in parallel? Thank you in advance.
I can tell from the question that the person asking it is completely new to mql4. Thanks for the reply, now I understand what the problem is.
I tried to understand it and got even more confused. I'm using 2 lots only. 2 different lots are opening. They should work together. When one of them closes, how do I make the closed one open again? When one lot is closed, the other one works together. Only when both lots are closed, 2 lots are opened. I would be grateful for advice.
Now I understand. Here's a rough estimate:
Hello again) Hello! Can you tell me how to write this in a more compact way?