Scripts: ThirdPartyTicks - page 8

 
fxsaber:

Unfortunately I can't get the code to update, the KB is swearing.

Dear, thank you! for everything you have done.

Most likely the code was edited after publication.

 
fxsaber:

Unfortunately I can't get the code to update, the KB is swearing.

It worked. Updated it.

 

Please, ask those who use the script on strong processors.

Download (you can do it in a PM) your running speed, if it is higher than this (see the log in the Experts tab).

UnZip RannForex\EURUSD.rann\EURUSD.rann_20200130.csv.zip 377549 bytes - unpack size 2933546 bytes.
Total Ticks (EURUSD.rann) = 51248067 (5064206 ticks/sec.), Reserve = 63143394
UnZip RannForex\EURUSD.rann\EURUSD.rann_20200131.csv.zip 416283 bytes - unpack size 3290661 bytes.
Total Ticks (EURUSD.rann) = 51324594 (5064652 ticks/sec.), Reserve = 63143394
Recording...
Calculating Digits...
Normalizing Ticks...
Correcting Ticks...
Corrected 49944 ticks.
Saving Ticks...
Saved ticks = 51324594 (3465702 ticks/sec)
Generating Rates...
Generated Rates = 716312
Saving Rates...
Saved Rates = 716312 (5544639 rates/sec)
EURUSD.rann_RannForex saved ticks = 51324594
Alert: EURUSD.rann_RannForex - Done.

I am interested in the processor and the highlighted number. The result from the example above is made on this configuration.

Windows 10 (build 18362) x64, IE 11, UAC, Intel Core i7-6700 K  @ 4.00 GHz, Memory: 8625 / 16322 Mb, Disk: 17 / 223 Gb
 
fxsaber:

Interested in the processor and the allocated number. The result from the example above is done on this configuration.

Looked at your configuration, immediately the moment: experts write that for effective and fast work of SSD free space should be at least 25%. Below that, a sharp drop in speed begins.

 
Edgar Akhmadeev:

I looked at your configuration, and I have a moment: experts write that for SSD to work efficiently and fast there should be at least 25% free space. Below that, the speed starts to drop sharply.

In this case, the bottle neck is still the CPU.

 

fxsaber, thank you for your labours.

When compiling this EA https://www.mql5.com/ru/forum/232030/page2#comment_7069847, I get an error.

Error Error

Text of owl function references from owl

functions in the Data file functions in Data

Different number of arguments?

fxsaber
fxsaber
  • www.mql5.com
Опубликовал пост TesterPortfolio - портфель ТС Опубликовал пост "Out-Of-Sample" - где расположить, справа или слева? Когда-то в паблике столкнулся с мнением, что OOS должен располагаться только справа. Т.е. расположение его слева от интервала Оптимизации - ошибка. Я с этим был категорически не согласен, т.к. не видел разницы. Теперь вижу...
Files:
 
HimOrik:

When compiling this EA https://www.mql5.com/ru/forum/232030/page2#comment_7069847, it gives an error.

Add/replace these lines

  MAXPROFIT( const double Commission = 0, const bool inRelative = false ) : FlagUP(true), MinMax(-DBL_MAX), Relative(inRelative),
                                                                            MarkupBid(1 - Commission), MarkupAsk(1 + Commission)
  {
    this.SetReserve(RESERVE);
  }
  
  void AddTick( MqlTick &Tick )
  {
    this.SetMarkup(Tick);
    
    if (this.Relative)
      MAXPROFIT::MathLog(Tick);
    
    if (this.FlagUP)
    {
      if (Tick.bid > this.MinMax)
        this.MinMax = Tick.bid;
      else if (Tick.ask < this.MinMax)
      {
        this.Add(this.MinMax);
        
        this.MinMax = Tick.ask;
        this.FlagUP = false;
      }
    }
    else
    {
      if (Tick.ask < this.MinMax)
        this.MinMax = Tick.ask;
      else if (Tick.bid > this.MinMax)
      {
        this.Add(this.MinMax);
 
fxsaber:

I noticed delays some time ago related to this, so I specially implemented a workaround of the problem. Since then there have been no delays.

Now I have 18 GB archive and zips > 35 000 pieces. Everything works fast, without delays.

Perhaps you have not fully understood how it works, that's why you put forward such a hypothesis.

Today I was also dealing with this script and I still have the same understanding as traveller00 2 that there is a double check for the presence of an update: suppose that Sync = t rue(i.e. there is a need to do Refresh).

- first we run Refresh() - in the section of all symbols we have determined whether there are updates on the server,

- then run Update(false) - we pump up new zip files for a particular symbol, false prevents a second Refresh,

- then execute ToCustomSymbol(Sync, false, MinPips) - here we rebuild the custom symbol, but if initially Sync = t rue, then Refresh(true) is called again.

Ideally, after calling Refresh() it is more correct to call ToCustomSymbol(false, false, MinPips) .

Can you tell me if this is the correct understanding?

traveller00
traveller00
  • www.mql5.com
Профиль трейдера
 

fxsaber, thanks for the quick reply.

This is the picture when optimising: optimisation

settings customisations

does not count. Am I doing something wrong?

Files:
Screenshot_1.jpg  137 kb
Screenshot_2.jpg  223 kb
20200203.log  30 kb
Data.mqh  2 kb
Array.mqh  3 kb
 
HimOrik:

doesn't count. Am I doing something wrong?

In the Tester settings you need to select a custom optimisation criterion.