Ошибка в последней версии MT5

 

I'm trying to report an error in the latest version of Metatrader. See Image and code I'm trying to implement:

fdsopo

The code I use to replace quotes is:

rates_add [ 0 ] .time = Time_For_Rates; 
rates_add [ 0 ] .open = NormalizeDouble ( double (s [ 2 ]), _Digits ); 
rates_add [ 0 ]. high = NormalizeDouble ( double (s [ 3 ]), _Digits ); 
rates_add [ 0 ] .low = NormalizeDouble ( double (s [ 4 ]), _Digits ); 
rates_add [ 0 ] .close = NormalizeDouble ( double (s [ 5 ]), _Digits); 
rates_add [ 0 ] .spread = ( int ) (( double (s [ 8 ]) - double (s [ 7 ])) * pow ( 10 , _Digits - 1 )); 
rates_add [ 0 ] .tick_volume = int (s [ 6 ]); 
rates_add [ 0 ] .real_volume = 0 ; 
// Print (CustomRatesUpdate (symbol_custom, rates_add)); 
Print ( CustomRatesReplace (symbol_custom, Time_For_Rates, Time_For_Rates, rates_add));

Почему всегда я вижу, что Окно данных и на диаграмме отображают значения менее 0,000005 или более раз? Пожалуйста, дайте мне знать причину или это ошибка в MT5.

 
SymbolInfoInteger(_Symbol, SYMBOL_DIGITS) ?
 

Дайте подробное описание:

 - Символ, таймфрейм, название сервера.

- MQL5 код который можно скомпилировать и запустить. Не куски кода, а минимальный код, который можно скомпилировать и запустить.

- Опишите по-шагам: что Вы ожидаете получить и что Вы реально получаете.

 
fxsaber :
SymbolInfoInteger (_Symbol, SYMBOL_DIGITS)?

6 - результат кода

 
jaffer wilson:

6 - результат кода

Тогда это является причиной. Задайте нужный Digits для Вашего кастомного символа.

 
fxsaber :

Then this is the reason. Digits for your custom character.

6 - the desired number

 
Vladimir Karputov :

Give a detailed description:

 - Symbol, timeframe, server name.

- MQL5 code that can be compiled and run. It can be compiled and run.

- Describe in steps: what you really get.

Of course, sir,

just give me time so that I can arrange a working code for you.

 
Vladimir Karputov :

Give a detailed description:

 - Symbol, timeframe, server name.

- MQL5 code that can be compiled and run. It can be compiled and run.

- Describe in steps: what you really get.

Have a look at the attached file, Sir

 Symbol, timeframe, server name. ----  This is a custom character - access

временное ограничение -- M1

Я также добавил конфигурацию символа

MQL5 code that can be compiled and run. It can be compiled and run.

This is attached with a comment.

- Describe in steps: what you really get.

I supply values ​​for a custom character. Numbers change over time. Sometimes 6 or sometimes 5.

The variable rates_add saves data correctly. As you can see in the image of my question.

But MT5 does not show accurate data in the DATA WINDOW window and not even in CHART WINDOW. please check it out

 
Есть ли кто-нибудь, кто может сообщить об этой проблеме разработчикам MT5? Если я ошибаюсь, дайте мне знать.
Причина обращения: