Custom symbols. Errors, bugs, questions, suggestions. - page 34

 
Andrey Khatimlianskii #:

What does TaskManager show?

 
fxsaber #:

What does TaskManager show?

What can you see there?

Hanging is no different from normal.


 
Andrey Khatimlianskii #:

What can you see there?

Wild CPU load on EURUSD.

 
fxsaber #:

Wild CPU load on EURUSD.

What does this have to do with the topic?

There are 2 EAs and several indicators running on EURUSD.

 
Andrey Khatimlianskii #:

What does this have to do with the topic?

There are 2 EAs and several indicators working on EURUSD.

I try to experiment with bugs on a clean Terminal. Otherwise there are too many options to blame.

 
fxsaber #:

I try to experiment with bugs on a clean Terminal. Otherwise there are too many options on what to blame.

That's right, of course. But it's difficult to do so for each bug.

I have solved the EURUSD issue and removed it. I am watching it.

 

Build 3099, the problem is current.

On one of the custom instruments updated by the service, SymbolInfoTick returns 4 hours old data (not updated).

On another instrument, where the check advisor was not running all this time, it shows actual data after running it.

It is the same as here - the ticks are there, the time in the market watch is updated and the clones return the actual data:

Forum on trading, automated trading systems and testing trading strategies

Custom symbols. Bugs, bugs, questions, suggestions.

Andrey Khatimlianskii, 2021.10.24 04:34

Bild 3091, I've got hang quotations (click):


Last tick returned by SymbolInfoDouble and SymbolInfoTick is 04:52:07 (bid 61083.19)

At the same time newer ticks are in the instrument history, chart and marketwatch are updated, iClose returns the correct value.

There is a code to reproduce it. What else do I need to fix?


 

Bild 3103, the problem is current. And there are new details!

The freezing of the custom tool quotes exactly coincided with a break in the connection to the trade server (12:03:28):


2021.11.13 12:03:27.786 Network '30966228': connection to MetaQuotes-Demo lost
2021.11.13 12:03:28.476 Network '30966228': authorized on MetaQuotes-Demo through Access Point EU 4 (ping: 36.92 ms, build 3103)
2021.11.13 12:03:28.476 Network '30966228': previous successful authorization performed from *** on 2021.11.13 11:56:34
2021.11.13 12:03:28.639 Network '30966228': terminal synchronized with MetaQuotes Software Corp.: 0 positions, 0 orders, 148 symbols, 0 spreads
2021.11.13 12:03:28.639 Network '30966228': trading has been enabled - hedging mode


Yet, as before, the custom instrument is updating normally (chart, market overview, tick history). iClose gives actual data.

And SymbolInfoTick returns the data up to date at the time of the connection interruption.

 

It then replayed again.

Tried to connect to another access point (manually), got a bummer. Selected another access point, it took a long time for the terminal to connect, but finally it succeeded. At that moment SymbolInfoTick must have "come to life" (didn't manage to notice it). But then the connection was broken again, and SymbolInfoTick froze again:

2021.11.14 04:29:57.973 LiveUpdate      check for release version
2021.11.14 04:29:58.153 LiveUpdate      you are using the latest version
2021.11.14 04:30:23.529 Virtual Hosting 'Webzilla New York' failed to send status command [1001]
2021.11.14 04:30:37.529 Virtual Hosting 'Webzilla New York' failed to send status command [1001]
2021.11.14 04:30:51.530 Virtual Hosting 'MQL5 New York 2' failed to send status command [1001]
2021.11.14 04:31:14.296 Network '30966228': scanning network for access points
2021.11.14 04:37:40.811 Network '30966228': connecting to an access point with 0 % quality (previous: 94 %)
2021.11.14 04:37:40.811 Network '30966228': disconnected from MetaQuotes-Demo
2021.11.14 04:37:48.393 Network '30966228': connecting to an access point with 93 % quality (previous: 0 %)
2021.11.14 04:37:48.393 Network '30966228': disconnected from MetaQuotes-Demo
2021.11.14 04:38:03.725 Network '30966228': connection to MetaQuotes-Demo lost
2021.11.14 04:55:40.351 Network '30966228': authorized on MetaQuotes-Demo
2021.11.14 04:55:40.351 Network '30966228': previous successful authorization performed from *** on 2021.11.13 12:03:32
2021.11.14 04:56:31.611 Network '30966228': terminal synchronized with MetaQuotes Software Corp.: 0 positions, 0 orders, 148 symbols, 0 spreads
2021.11.14 04:56:31.611 Network '30966228': trading has been enabled - hedging mode
2021.11.14 04:56:33.557 Network '30966228': scanning network for access points
2021.11.14 04:56:45.867 Virtual Hosting 'Webzilla New York' failed to send status command [1001]
2021.11.14 04:56:59.867 Virtual Hosting 'Webzilla New York' failed to send status command [1001]
2021.11.14 04:57:04.504 Network '30966228': scanning network finished
2021.11.14 04:57:04.504 Network '30966228': auto connecting to a better access point with 94 % quality (previous: 49 %)
2021.11.14 04:57:04.504 Network '30966228': connection to MetaQuotes-Demo lost
2021.11.14 04:57:05.035 LiveUpdate      new version build 3104 (IDE: 3104, Tester: 3104) is available
2021.11.14 04:57:05.142 Network '30966228': authorized on MetaQuotes-Demo through Access Point EU 4 (ping: 36.14 ms, build 3104)
2021.11.14 04:57:05.142 Network '30966228': previous successful authorization performed from ** on 2021.11.14 04:55:44
2021.11.14 04:57:05.294 Network '30966228': terminal synchronized with MetaQuotes Software Corp.: 0 positions, 0 orders, 148 symbols, 0 spreads
2021.11.14 04:57:05.294 Network '30966228': trading has been enabled - hedging mode



Discovered another way to "update quotes" - this happens when a new instrument is added to the market overview. It looks like some forced synchronisation is done at this point (but new ticks still don't start coming into SymbolInfoTick). The video shows the time of the last tick that the Expert Advisor sees - 05:08:00. When a new symbol is added, it is updated:


Conclusion: the terminal, when it loses connection (most likely only on weekends), stops updating custom instruments (or rather, some of their data).

Please fix this.

Reason: