Errors, bugs, questions - page 511

 

Could you finally make the generated *.xml file(strategy tester) error-free!

 
pusheax:

Could you finally make the generated *.xml file(strategy tester) error-free!

What are the errors? Can you show me with examples?
 
Rosh:
What are the errors? Can you show me with an example?

Right now the error is like this:

<Cell ss:StyleID="ce1"><Data ss:Type="Number">179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0000</Data></Cell>.

 
pusheax:

Now the error is like this:

<Cell ss:StyleID="ce1"><Data ss:Type="Number">179769313486231570000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000.0000</Data></Cell>.

Please write a request to Service Desk. With all details to reproduce.
Общайтесь с разработчиками через Сервисдеск!
Общайтесь с разработчиками через Сервисдеск!
  • www.mql5.com
Ваше сообщение сразу станет доступно нашим отделам тестирования, технической поддержки и разработчикам торговой платформы.
 

A glitch in the strategy tester.

It suddenly stops and all local and remote agents have finished and so on.

Can you tell me how to start it up again, it's a shame to have to start all over again?
 

Compared indicators on different timeframes for MetaTrader4 from Alpari demo server and for MetaTrader5 from MetaQuotes-Demo server.

The charts for H1, D1, W1 are almost the same, while H4 is very different. I understand that different servers give different figures. But there is a big difference for H4.

I have updated the history for MetaTrader4. The difference has remained.

Is it acceptable? Or maybe I have something wrong with it?

 
masharov:

Compared indicators on different timeframes for MetaTrader4 from Alpari demo server and for MetaTrader5 from MetaQuotes-Demo server.

The charts for H1, D1, W1 are almost the same, while H4 is very different. I understand that different servers give different figures. But for H4 there is a big difference.

Compare server timezones and bar open times.
Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций
Документация по MQL5: Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций
  • www.mql5.com
Стандартные константы, перечисления и структуры / Торговые константы / Свойства позиций - Документация по MQL5
 
Rosh:
Compare the timezones of the servers and the opening times of the bars.

Yes. On Alpari the current time is 18 hours, onMetaQuotes-Demo 16 hours. I see.

I understand that the championship will be in the timezoneof the MetaQuotes-Demo server. Is that correct?

 
masharov:

I understand that the championship will be in the timezoneof the MetaQuotes-Demo server. Is that correct?

Correct.

 

Please advise how to work correctly with elementsof Mqlrates structure.

This is exactly what I'm interested in:

MqlRates AdaptedRates[];

ArraySetAsSeries(AdaptedRates,true); 

AdaptedRates[300].open=1;

The debugger gives an error - Invalid array access.

As far as I understand it is connected with the fact that using such form of recording, you can only read elements of the structure.

The question is how to correctly write elements of the structure. I am not interested in all elements, it is important to write high .high .low .close prices.

I apologize in advance for this question probably very trivial (I'm not a programmer at all), but help I have not found the answer. I will be grateful for any help.

Reason: