fxsaber: The file Bases\BCS-MetaTrader5\ticks\Si-12.16\201610.tkc is 6 Gb in size. This should not be the case.
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been introduced). Or maybe it's just that the symbol has become actively traded.
Right now, when requesting with such a script:
//+------------------------------------------------------------------+//| CopyTicks.mq5 |//| Copyright 2015, MetaQuotes Software Corp. |//| https://www.mql5.com |//+------------------------------------------------------------------+#property copyright"Copyright 2015, MetaQuotes Software Corp."#property link"https://www.mql5.com"#property version"1.01"//--- покажем окно входных параметров при запуске скрипта#property script_show_inputsinputint ticks=200000000; // количество запрашиваемых тиков//---MqlTick ExTicks[];
//+------------------------------------------------------------------+//| Script program start function |//+------------------------------------------------------------------+voidOnStart()
{
//--- запросим тикиint copied=CopyTicks(_Symbol,ExTicks,COPY_TICKS_ALL,0,ticks);
//--- если тики получены, то выведем на график значения Bid и Ask Print("Получено тиков: ",copied," код ошибки: ",GetLastError());
if(copied>1)
{
Print("Тик: ",ExTicks[0].time," bid: ",ExTicks[0].bid," ask: ",ExTicks[0].ask," last: ",ExTicks[0].last," [0]");
Print("Тик: ",ExTicks[copied-1].time," bid: ",ExTicks[copied-1].bid," ask: ",ExTicks[copied-1].ask," last: ",ExTicks[copied-1].last," [",copied-1,"]");
}
Print("Size ",((long)copied*sizeof(MqlTick))>>20, " Mb");
}
//+------------------------------------------------------------------+
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
2016.10.0507:34:05.886 Terminal MetaTrader 5 x64 build 1434 started (MetaQuotes Software Corp.)
2016.10.0507:34:05.888 Terminal Windows 10 Pro (x64 based PC), IE 11.00, UAC, Intel Core i3-3120 M @ 2.50 GHz, RAM: 3800 / 8077 Mb, HDD: 57955 / 233310 Mb, GMT+02:002016.10.0507:34:05.888 Terminal C:\Users\KVN\AppData\Roaming\MetaQuotes\Terminal\D0E8209F77C8CF37AD8BF550E51FF075
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been entered). Or maybe it's just that the symbol has become actively traded.Now, when queried by such a script:
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been introduced). Or maybe it's just that the symbol has become actively traded.
Right now, when querying with such a script:
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
I didn't have enough patience - at file size 201610.tkc of 7.5 Gb decided to interrupt the ticks download.
my Expert Advisor is trying to open a trade onWDOX16 for example, gets reply = 0
at the same time writes that operation is successful:Result = 0 symbol WDOX16 volume 1.0 action 1 tp 3264.5 sl 3239.5 type 0 price 3250.0 The operation completed successfully
Do you always request a milliard of ticks? That's 49 gigabytes per array alone. The ticks on Si-12.16 from January till now are 15789962.
No, only in this case. If I'm requesting a trillion ticks, and they're actually less than 20 million, why try to allocate memory for a trillion?!
A trillion is with a margin. But that doesn't say one bit that I'm requesting that much. It only says "give me ALL the ticks from the specified date".
A small script, based on yours, counts the number of ticks by month.
and gives this result.
This is what it looks like on disk.
You do experiments on Otkritie, I have BCS. Your screenshot has nothing in common with mine and with Karputov's (same Opening) - both have much more October-tkc. And it's getting bigger all the time!
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.
The error lies here (space between inverted commas):
The file Bases\BCS-MetaTrader5\ticks\Si-12.16\201610.tkc is 6 Gb in size. This should not be the case.
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been introduced). Or maybe it's just that the symbol has become actively traded.
Right now, when requesting with such a script:
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been entered). Or maybe it's just that the symbol has become actively traded.Now, when queried by such a script:
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
Script
Result (running it on other symbols gives the same result) on empty terminal (one chart without Expert Advisors and indicators)
Probably in month 10 the structure of the tick data has changed (perhaps a lot of additional information has been introduced). Or maybe it's just that the symbol has become actively traded.
Right now, when querying with such a script:
on the server "Open-Broker" the size of ticks (and in month 10 it is not final, ticks continue to be uploaded)
If you grok the file, there will be an error even after rebooting.
If requesting 1000 ticks from October 1st, the corresponding tkc file will keep growing after each startup. In short, the bug is fucked up.
I didn't have enough patience - at file size 201610.tkc of 7,5 Gb I decided to interrupt downloading of ticks.
Bug! All the information for October is shown by the indicators. And the file is growing endlessly.
I need critical update of the build, because it's impossible to work - the disk is clogged, not to mention the traffic.
hello all
Who has encountered the following strange error
my Expert Advisor is trying to open a trade onWDOX16 for example, gets reply = 0
at the same time writes that operation is successful:Result = 0 symbol WDOX16 volume 1.0 action 1 tp 3264.5 sl 3239.5 type 0 price 3250.0 The operation completed successfully
But still nothing opens anywhere. ?
Script
Result (running it on other symbols gives the same result) on empty terminal (one chart without EAs and indicators)
Do you always request a milliard of ticks? It's 49 gigabytes just per array. Ticks on Si-12.16 since January till now are 15789962.
A small script, based on yours, counts the number of ticks by month.
and gives this result.
Here's how it looks like on disk
Do you always request a milliard of ticks? That's 49 gigabytes per array alone. The ticks on Si-12.16 from January till now are 15789962.
No, only in this case. If I'm requesting a trillion ticks, and they're actually less than 20 million, why try to allocate memory for a trillion?!
A trillion is with a margin. But that doesn't say one bit that I'm requesting that much. It only says "give me ALL the ticks from the specified date".
A small script, based on yours, counts the number of ticks by month.
and gives this result.
This is what it looks like on disk.
You do experiments on Otkritie, I have BCS. Your screenshot has nothing in common with mine and with Karputov's (same Opening) - both have much more October-tkc. And it's getting bigger all the time!