Добавил тему Быстрый TimeHour/TimeMinute? Попытался ускорить TimeHour/TimeMinute, ни фига не получилось: void OnStart() { ulong s1 = GetMicrosecondCount(); for ( datetime t = D'1990.01.01'; t Добавил тему Больше агентов — меньше скорость! WTF!? Наткнулся на интересного советника, использующего кастумный индикатор, подключенный...
I won't even look at this sheet without comments. I made the conclusion through my own code. I think it's unreasonable to settle an argument on the Internet. Everyone stays at his own place.
I won't even look at the sheet without comments. I've made the conclusion through my own code. I don't think it's wise to settle things on the internet. Everyone stays with what he/she has.
So, you don't care about the result of functions?
Oh, yes, you are not a trader, but a writer, sorry, I forgot.
The FOREX people come to the Exchange topic, "put their foot up", then get off without proof!
What has pride got to do with it, if I'm wrong - I'm ready to admit it!
But from logical reasoning and my own experience
OnBookEvent() is faster and doesn't miss a single tick, not a single change in the glass!
Find a bug (if there is one) in my code.
From my code logs - you can see everything very clearly!
Added
Is it really hard for you praised programmers to make sense of 15 lines of uncomplicated code?
Added
Maybe the comments will help?
I'm not interested. I can see that there is no difference. But Andrei promised to show you how to do it better. But he made a condition to show you that is impossible for you to fulfil.
Artyom Trishkin: I don't care. I see that there is no difference. But Andrey has promised to show you the best way. However, he put an impossible condition to show you.
Приказы на проведение торговых операций оформляются ордерами. Каждый ордер имеет множество свойств для чтения, информацию по ним можно получать с помощью функций Идентификатор позиции, который ставится на ордере при его исполнении. Каждый исполненный ордер порождает сделку, которая открывает новую или изменяет уже существующую позицию...
I would like to remind you that OnTick receives two independent threads, information and trade,COPY_TICKS_INFO and COPY_TICKS_ALL and undergoes preprocessing .
These threads are not synchronized with each other, so if you compare OnBookEvent with OnTick, you should takeTICKS_INFO.
By definition, OnBookEvent should be faster since it doesn't go through pre-processing.
The tests do not reliably determine who is faster, because we do not know the stock time of the tick.
Although, we have many times asked developers to ADD STOCK TIME! ! !
p.s. besides speed, tumblr also has advantages over OnTick,
as already stated, it is not possible to get better Bid and Ask prices in OnTick,
andOnTick doesn't get data from other symbols, it's useless for Expert Advisors analysing multiple symbols.
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
Andrey Khatimlianskii,fxsaber
Let's do the following
Find a bug (if there is one) in my code
Find a bug (if there is one) in my code
I won't even look at this sheet without comments. I made the conclusion through my own code. I think it's unreasonable to settle an argument on the Internet. Everyone stays at his own place.
I won't even look at the sheet without comments. I've made the conclusion through my own code. I don't think it's wise to settle things on the internet. Everyone stays with what he/she has.
So, you don't care about the result of functions?
Oh, yes, you are not a trader, but a writer, sorry, I forgot.
So you don't care about the results of the functions?
Yes, I do. That's why I' ve written the Expert Advisor and made conclusions for myself.
Oh, yes, you're not a trader, but a writer, I'm sorry, I forgot.
Yes, I'm not a trader, but a writer.
Well, there's only one opponent left (if there is one left :) ) ...
Waiting for the result...
Well, there's only one opponent left (if there is one left :) ) ...
Waiting for the result...
Opponents leave not because they are wrong, but because you reek of hubris.
Artem(no offence)!
The FOREX people come to the Exchange topic, "put their foot up", then get off without proof!
What has pride got to do with it, if I'm wrong - I'm ready to admit it!
But from logical reasoning and my own experience
OnBookEvent() is faster and doesn't miss a single tick, not a single change in the glass!
Find a bug (if there is one) in my code.
From the logs of my code - everything is very clearly visible!
Marked in yellow is the same tick!
Added
Is it really hard for you praised programmers to make sense of 15 lines of uncomplicated code?
Added
Maybe the comments will help?
Artem(no offence)!
The FOREX people come to the Exchange topic, "put their foot up", then get off without proof!
What has pride got to do with it, if I'm wrong - I'm ready to admit it!
But from logical reasoning and my own experience
OnBookEvent() is faster and doesn't miss a single tick, not a single change in the glass!
Find a bug (if there is one) in my code.
From my code logs - you can see everything very clearly!
Added
Is it really hard for you praised programmers to make sense of 15 lines of uncomplicated code?
Added
Maybe the comments will help?
I don't care. I see that there is no difference. But Andrey has promised to show you the best way. However, he put an impossible condition to show you.
Okay.
But I'll say just a small remark.
The fact that OnTick() doesn't handle pending orders
is a good reason to dump this function in the trash for stock trading.
I would like to remind you that OnTick receives two independent threads, information and trade,COPY_TICKS_INFO and COPY_TICKS_ALL and undergoes preprocessing .
These threads are not synchronized with each other, so if you compare OnBookEvent with OnTick, you should takeTICKS_INFO.
By definition, OnBookEvent should be faster since it doesn't go through pre-processing.
The tests do not reliably determine who is faster, because we do not know the stock time of the tick.
Although, we have many times asked developers to ADD STOCK TIME! ! !
p.s. besides speed, tumblr also has advantages over OnTick,
as already stated, it is not possible to get better Bid and Ask prices in OnTick,
andOnTick doesn't get data from other symbols, it's useless for Expert Advisors analysing multiple symbols.