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
The first order was not opened due to a price change, and the second order was not sent by the terminal (or the broker did not accept it?),
it did not let send. Ask the coder to use IsTradeContextBusy to check.
how will the EA behave in such a case?
What does your coder say about this? Has it provided for resending orders on errors?
does it have to be specified in any way,
Of course he does.
or will it be able to send open orders without waiting for them to be executed?
If you are using the 509 build, there are 8 threads there. The situation with IsTradeContextBusy should not arise.
If it does, see above.
You may also use several terminals.
I want to meet someone who posted this stuff under MetaQuotes, can you tell me in a private message?
Forum about trading, automated trading systems and strategy tester
Is this a programming error or MT4 special feature?
MetaQuotes, 2013.09.19 16:29
The "Schlemiel's painter's algorithm" is evident:Schlemiel got a job as a painter and had to mark out the middle of the road. On the first day, he took a barrel of paint and marked 300 metres of the road.
-Nice! - said the boss - You work fast! - And paid him a dime.
The next day, Schlemiel only covered 150 meters.
- Well, not as great as yesterday, but you're still going fast. 150 metres is not a little," said the boss and paid him the money.
Another day later, Schlemiel marked out 30 metres of the road.
- I can't help it," says Schlemil. Every day I have to get farther and farther away from the paint barrel...- Bcero 30 metres! - The boss got angry. "That's no good. On the first day you did ten times as much. What happened?
I would like to know who posted this thing under the nickname MetaQuotes, may I call you back in person?
It makes no difference, I was told this joke about thirty years ago by my roommate and childhood friend Shamil Ishmukhametov.
// now prohvsor of Kazan Faculty of Higher Mathematics, author of this book: Ishmukhametov Sh.T., Methods of Factorization of Natural Numbers
He was studying at Mechmate at that time, just learning programming. So, this anecdote must be popular with students-programmers in Kazan uni.
--
By the way, speaking of the subject - I wouldn't dream of going through all orders from the beginning of time on every tick in my EA. I would rip my own balls off without waking up...
;)
By the way, I wouldn't dream of my EA going through all orders from the beginning of time on every tick. I would rip my own balls off without waking up...
MetaDriver:
Кстати, по сабжу - мне бы в страшном сне не приснился в моём советнике перебор всех ордеров от начала времён на каждом тике. Я б сам себе яйца оторвал не просыпаясь...
TheXpert:
Well for nothing.By the way, as for the subject - I wouldn't dream of my EA going through all orders from the beginning of time on every tick. I would rip my own balls off without waking up...
;)
Which is it? Red or blue? :)
So if they come up with such algorithms, what to do? but here every bar)
So it's 7 times per bar + going through the whole history, which slows down more.