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
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.