
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
If one needs ONLY ribbon (COPY_TICKS_TRADE - time_msc, last, volume and flags), this solution is completely suitable - no bugs detected.
Forum on trading, automated trading systems and testing trading strategies
Mysterious stock indicator
fxsaber, 2016.09.27 18:32
All the brakes seem to be on when the input from CopyTicks is not zero.
Seems to be a very crooked implementation of CopyTicks in this mode, even if ticks since last call are requested. Seems like it should fly, but it doesn't.
Wait for this week's beta, where we've made a number of improvements to the ticks and tumblr updates.
1432 - Many bugs solved. Thank you!
But not all.
If the added history is compared to the actual history, there are discrepancies in COPY_TICKS_ALL mode (TRADE and INFO - no problem). EA
Result
But not all.
If the added history is compared to the actual history, there are discrepancies in COPY_TICKS_ALL mode (TRADE and INFO - no problem). EA
Result
I logged the code above and found out the reasons. If CopyTicks (from > 0) receives ticks up to the freshest one, it may miss some.
Example.
Requested ticks with from = 2016.09.29 11:05:55.564. Got three ticks in reply
Some time later I've requested the tick history from afar and got a tick, which CopyTicks missed before
Such a bug!
Seems to be some kind of conflict of writing to and reading from the tick database in parallel.
Forum on trading, automated trading systems and testing trading strategies
Mysterious stock indicator
fxsaber, 2016.09.30 15:09
Was able to localise one of the bugs causing divergence in the indicator. It's about CopyTicks again.
It turns out that if we collect tick history in parts, it may not coincide with the real history. The Expert Advisor shows it
The result
This EA also shows a weak bug. I found out that the history collected in parts may be missing some parts that last several minutes. Only a concise and clear reproduction in the form of code has not been invented. And there is no point in posting complex ones, because no one will even look.
In general, there is no way to defeat bugs in CopyTicks. And note that the Expert Advisor works in tape mode (COPY_TICKS_TRADE). So, it cannot even work with ribbon.
Another bug, now in all modes COPY_TICKS_*
Have you tried getting ticks both starting from a certain point and a certain, e.g. fixed number?
From the code, it looks like a certain number (100000) from the last moment. And what if you get just N ticks. Will there be skips too?
Let me tell you right away, I haven't experimented with ticks much myself yet...
Have you tried getting ticks both starting from a certain point and a certain, e.g. fixed number?
From the code, it looks like a certain number (100000) from the last moment. And what if you get just N ticks. Will there be skips too?
Let me tell you right away, I haven't experimented with ticks much myself yet...
Tried it.
Today they are promising a new build for the demo. So we have to wait.
Tried it.
Today they promise a new build for demo. That's why I have to wait.
I hope, CopyTicks() will be corrected.
By the way, ever since CopyTicks() appeared I asked developers to add overloading function like in other Copy...() functions. They told me they will. И... silence...
By the way, ever since CopyTicks() appeared, I asked developers to add overloading function, like for other Copy...() functions. They told me they will. И... silence...