Errors, bugs, questions - page 2336 1...232923302331233223332334233523362337233823392340234123422343...3193 New comment Nikolai Semko 2018.12.01 16:24 #23351 By the way, I've noticed that the profiler has stopped working on large programmes. :(( Alain Verleyen 2018.12.01 22:20 #23352 Nikolai Semko : By the way, I noticed that the profiler has stopped working on big programs. :(( What are big programmes? I use it without any problems on Build 1953. Nikolai Semko 2018.12.01 22:36 #23353 Alain Verleyen: What are big programmes? I use it without any problems on Build 1953. Yes, my apologies. I made the wrong conclusion. I had a 1950 build and profiling didn't work on all indicators. Upgraded to 1954 build. Now the profiling is working. fxsaber 2018.12.03 02:18 #23354 There are all sorts of nuances with static variables. What is the reason for this behaviour on both platforms? #property strict int f() { static const string Symb = _Symbol; Print(Symb); return(0); } const int Init = f(); // Пусто void OnStart() { f(); // Не пусто } Vladimir Pastushak 2018.12.03 08:40 #23355 Website history has not been updated since 30 November ... fxsaber 2018.12.03 09:35 #23356 Forum on trading, automated trading systems and trading strategy testing Bugs, bugs, questions fxsaber, 2018.11.09 15:34 In the Tester whose event is generated first, the tick or the timer? For example, Timer should be called at 12:00:00.000. And there is a tick with the same time. Which is triggered first, OnTimer or OnTick? Forum on trading, automated trading systems and strategy testing Bugs, bugs, questions Slava, 2018.11.09 16:18 Timer firstUnfortunately, this is not always the case. If a pending level triggered on a tick, OnTick is called first and only then OnTimer. @Slava, do you think this situation is correct? Features of the mql5 Questions from Beginners MQL5 MetaTrader 5 Strategy Tester: A100 2018.12.03 12:12 #23357 fxsaber: There are all sorts of nuances with static variables. What is the reason for this behaviour on both platforms? Because this is not C++. There is a special logic here: Init is initialized before Symb fxsaber 2018.12.03 12:16 #23358 A100: Because this is not C++. There is a special logic here: Init is initialized before SymbI need to understand this logic or read it somewhere. A100 2018.12.03 12:25 #23359 fxsaber: I would like to understand this logic or read it somewhere.void f() { static a; } static b;actually means void f() { } static b; static a; first the freestanding static, and in {} then fxsaber 2018.12.03 12:26 #23360 A100: actually means first of all, freestanding static, well, in {} thenGot it, thanks! 1...232923302331233223332334233523362337233823392340234123422343...3193 New comment
By the way, I noticed that the profiler has stopped working on big programs. :((
What are big programmes?
I use it without any problems on Build 1953.
What are big programmes?
I use it without any problems on Build 1953.
Yes, my apologies. I made the wrong conclusion.
I had a 1950 build and profiling didn't work on all indicators.
Upgraded to 1954 build. Now the profiling is working.
There are all sorts of nuances with static variables. What is the reason for this behaviour on both platforms?
Forum on trading, automated trading systems and trading strategy testing
Bugs, bugs, questions
fxsaber, 2018.11.09 15:34
In the Tester whose event is generated first, the tick or the timer?
For example, Timer should be called at 12:00:00.000. And there is a tick with the same time. Which is triggered first, OnTimer or OnTick?
Forum on trading, automated trading systems and strategy testing
Bugs, bugs, questions
Slava, 2018.11.09 16:18
Timer first
Unfortunately, this is not always the case. If a pending level triggered on a tick, OnTick is called first and only then OnTimer.
@Slava, do you think this situation is correct?
There are all sorts of nuances with static variables. What is the reason for this behaviour on both platforms?
Because this is not C++. There is a special logic here: Init is initialized before Symb
Because this is not C++. There is a special logic here: Init is initialized before Symb
I need to understand this logic or read it somewhere.
I would like to understand this logic or read it somewhere.
actually means
first the freestanding static, and in {} then
actually means
first of all, freestanding static, well, in {} then
Got it, thanks!