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
They should not be slow and dependent on the trading server.
If the terminals are on the same disk, you are right.
Have you performed several tests? Are you constantly experiencing delays on a certain server? Just in case the disk was busy with some other operation at the moment of test...
If the terminals are on the same drive, you are right.
Have you run multiple tests? Is the latency constantly on a particular server? Just in case the drive was busy with some other operation at the time of the test...
It's 100% reproducible. The terminal is the same.
How to get ticks in OnDeinit indicator? I want to get ticks, which already exist in tkc-files and which are given almost instantly. But how to determine which ticks are there and which are not?
Behind all the apparent attractiveness of the simplicity of CopyTicks, there are actually hidden pitfalls, which are impossible to avoid because of the limited functionality for the sake of this outer appeal again.
How to get ticks in OnDeinit indicator? I want to get ticks, which already exist in tkc-files and which are given almost instantly. But how to determine which ticks are there and which are not?
Behind all the apparent attractiveness of the simplicity of CopyTicks, there are actually hidden pitfalls, which are impossible to avoid because of the limited functionality for the sake of this outer appeal again.
Why to get ticks in OnDeinit()?
You need to create a custom symbol and write to it all the converted tick history (from a certain date) that already exists in the tkc files. The ticks, which are not on the machine, are not interesting. Therefore, the indicator shouldn't slow down at this task. However, CopyTicks doesn't allow to receive ticks in such way.
Result
I.e. there is no tick data at the beginning on someone else's character. And the ticks are generated in the database as OnTick appears. Is it designed that way or ticks for the alien characters should be available, as well as for the main test symbol?
Примечание
The CopyTicksRange() function is designed to request ticks from a strictly specified range, for example, for a particular day in the history. While CopyTicks()allows tospecify only the starting date, for example - to get all ticks from the beginning of the month to the current moment.
CopyTicks only works with characters that are included in the Market Review. And this was always logical before the advent of custom symbols.
Custom symbols have a huge field of application and it is far from always that these symbols are required in the Market Watch. However, getting some of the tick history out of them via CopyTicks is sometimes necessary.
Therefore, please disable the CopyTicks error return for custom symbols if the custom one is not selected in Market Watch.