Errors, bugs, questions - page 2321
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I understand that you can check for yourself...
In the Tester, whose event is generated first, the tick or the timer?
For example, the 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?
I had several hundred themes in my favourites, all cleared out... Without my knowledge.
Hello!
Please check again. Your favourites are there.
I understand that you can check for yourself...
In the Tester, whose event is generated first, the tick or the timer?
For example, the 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?
Timer first
First the timer
Thank you, good solution.
Hello!
Please check again. Your favourite topics are in place.
Thank you, everything is back.
Forum on trading, automated trading systems and trading strategy testing
Different results. How? Why? What to believe?
Sergey Tabolin, 2018.11.10 12:15
Running a full brute force run. The file is being written. And all the time different length. Maybe because of the TF, but the TF should not affect the result in any way! For further iniit nothing goes!
How, why? Or is it a glitch in the tester?
The cache works.
Hello!
I am facing the problem with the "Fixed chart position" slider in MT5 that does not work correctly, for example, when I switch from weekly chart to daily chart it shifts by about 280 days.
At first everything is normal after the terminal installation, but then I loading profiles from the old ones and it starts glitches. And the problem is old.
I am attaching a video with small demonstration...
can the warnings be removed in this case? so as not to multiply variables. or in mql it doesn't work like that at all?
declaration of 'number_of_features' hides member declaration at line 24
can the warnings in this case be removed? so as not to multiply variables. or does this not work at all in mql?
The declaration of 'number_of_features' hides member declaration at line 24
You have already "multiplied" the variable, so here,CBandit(int number_of_features) the variable int number_of_features will already be created, or rather not a variable but a copy of this variable'svalue , so you should write CBandit(int number_of_features_my) or leave it there because nothing will change; the compiler gives a warning on purpose becausebecause by describingCBandit(int number_of_features) you have closed the scope
private:
int number_of_features;
and maybe you should have got this int number_of_features; in the CBandit() method, or maybe not, the compiler keeps track of it