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
Oopsie :) I'm going to do a commercial now, pay attention - http://forexsystems.ru/phpBB/viewtopic.php?t=694&start=45
Can I change the number of handles in system settings (W'XP) and how?
What's the right way to do it:
1.
2.
3. indifferent.
4. We should set return and process the next order in the next tick
5. It should be done somehow else.
Let me explain. Assume that we have two open orders and they both need to be closed. The loop
It will close the zero order, after which the first order will become zero. Then it will try to close the first order, and there will be an error. Right?
I do not think that all errors of the EA discussed in this thread are related to this issue, e.g., common error has nothing to do with it. But if I'm right, maybe it explains a) order locked and such like it and b) the fact that we need several EAs for errors to appear.
Можно ли изменить число хэндлов в системных установках (W'XP) и как?
If a program lacks handles, it is written with errors. Otherwise, there are enough handles to go around.
for(int nCnt = 0; nCnt < OrdersTotal(); nCnt++)
by
for(int nCnt = OrdersTotal() - 1; nCnt >= 0; nCnt--)
I went from error 139 to 138 and 4109
(requote, Not initialized string in array)
The last one has no comments at all...
At 10 Expert Advisors in a minute interval, 30 seconds for each... Wrong, it is impossible to live that way.
With 10 experts on a one-minute interval, 30 seconds for each... Wrong, this is no way to live.
This is the way to live, and what you are doing is a test of the strength of the iron.
1. Cycles fixed.
2. Magik number is privatized to bar start time. This gives, if I am not mistaken, a delay in opening. That is, EA with mn 7 will open 7 seconds after the start of the bar. It will avoid server overloading, computer CPU and conflict with 2.5 second maximum, if it's still there somewhere...
But alas, errors remain.
The rules are the same - open several windows, on any timeframe (minutes, for example) and wait.