Errors, bugs, questions - page 745

 
notused:
This code compiles without a single warning. Although it probably shouldn't even compile.
Thanks for the post.

This operation is allowed in MQL5 as an alternative to uinon.

It has been resolved - we will add a warning. And an explicit conversion to the structure to eliminate the warning.
 

So minor inaccuracies (About the number 8 in the clue)

 
olyakish:

So minor inaccuracies (About the number 8 in the clue)

What's not to like? 8 overloaded functions. Press up and down to select the overload you want.
 
TheXpert: What don't you like? There are 8 overloaded functions. By pressing up and down you can select the overload you want.

Can you tell me why in the MetaEditor MT5 tips are not displayed if the letter case is not correct? In MT4 case does not matter, but here it is terribly inconvenient, it seems I have a wrong setting of the MetaEditor

 
TheXpert:
What's not to like? 8 overloaded functions. By clicking up and down you can select the overload you want.

It's just in the edit it says that there is only one option for this function (for type double), no mention of the others.

Инициализирует числовой массив указанным значением.

void  ArrayInitialize(
   double  array[],     // инициализируемый массив
   double  value        // значение, которое будет установлено
   );
 

Параметры

array[]

[out]  Числовой массив, который нужно инициализировать.

Документация по MQL5: Основы языка / Типы данных / Вещественные типы (double, float)
Документация по MQL5: Основы языка / Типы данных / Вещественные типы (double, float)
  • www.mql5.com
Основы языка / Типы данных / Вещественные типы (double, float) - Документация по MQL5
 
IgorM:

Can you tell why in the MetaEditor MT5 tips are not displayed if the letter case is not correct? In MT4, case does not matter, but here it is terribly inconvenient, it seems that some of the settings are wrong in the MetaEditor

It is not me. I don't like it myself. It is quite inconvenient.
 
TheXpert: That's not for me. I don't like it myself. It's very inconvenient.

i.e. it's not some kind of setting, but it's how the cues work in meta-editor5?

Hmm, well, why do you need such tips if the case is not guessed, you still need to get into the Help, I do not want to be rude, but then clearly "no credit" to the developers - in MT4 tips helped me a lot when learning the language

 
stringo:

Out of range is not from the compiler. This is a Runtime error.

The runtime system has stupidly calculated the offset and nothing will happen if incorrect indexes were involved in the calculation, but you didn't go beyond the array's limits. But if we check the indexes in a smart way, each one separately, then we will get concrete brakes at runtime

So it is not a bug, but a feature (it was designed that way).
mql5:
Thank you for your message.

This operation is allowed in MQL5 as an alternative to uinon.

It has been resolved - we will add a warning. And an explicit conversion to the structure to eliminate the warning.
Thanks. I had suffered once because of an assistant (auto-substitution). Good thing it didn't take me long to find the error.
 
notused:
So it's not a bug, it's a feature (it's designed that way).
Actually, it's a bug. We'll see what we can do.
 

Does the magnetisation only work to the Open price?

No more accurately there seems to be some scaling slippage or something.

The trend is stuck somewhere between the bars.

Reason: