Errors, bugs, questions - page 2396

 
fxsaber:
Is it a bot?

No, a regular user who is about to launch a signal or expose a product.

 
Artyom Trishkin:
Why such a question?
he had half as many friends yesterday
 
Artyom Trishkin:
Why such a question?

Zero activity when looking at the Achievements tab.

 
fxsaber:

Forum on trading, automated trading systems and trading strategy testing

Bugs, bugs, questions

fxsaber, 2019.03.05 11:29

Do other compilers have such a feature?
void OnInit()
{
  OnInit2(); // Пропишите внизу OnInit
}

#define OnInit OnInit2
Right now the compiler gives out
'OnInit2' - function not defined        Test3.mq5       3       3
1 error(s), 0 warning(s)                2       1


I would like it to give out.

'OnInit2' - function not defined        Test3.mq5       3       3 Пропишите внизу OnInit
1 error(s), 0 warning(s)                2       1


The closest thing to that in C++ is the error preprocessor directive. To take it from a comment would be incorrect.

The MQL preprocessor misses much more comparison of values like #if __MQLBUILD__ > XYZ.

Also #pragma warning.

 
For some reason, the terminal does not allow to enter integer values with bases other than 10, e.g. in hex format, in the input parameters. I can write int x = 0x100 in MQL code, but not in input parameter.
 
It's not that it's a bug, it's just strange - in the meta-editor if you leave it without pressing any buttons after about 10 seconds the cursor stops flashing...
 
sending request to protector server error (3-3, #0)             0       0

MetaEditor v5 build 1066

mql4 code language.

library

PS. Normal compilation with no errors or warnings.
 
Hello. Can you tell me how to set up a free signal?
 
Andrii Pronyk:
Hello. Can you tell me how to set up a free signal?
FAQ по сервису Сигналы
FAQ по сервису Сигналы
  • 2013.02.11
  • www.mql5.com
Узнать за 15 минут: смотри обучающие видео по торговым сигналам в MetaTrader 4 и MetaTrader 5 Здесь будут собраны и обработаны наиболее частые вопр...
 
Artyom Trishkin:
Thank you very much.