Errors, bugs, questions - page 1060
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
You see. The lack of higher timeframes in my mind involuntarily equates to a suspicious"the developers are not telling me something... "Isn't it like that for someone else?
I do not have it like that! And I am sure that everything can be arranged - because there are few people like you who need it.
My view: you can never have too much data for analysis. Even for the short-term trader it is sometimes useful to know what is being done outside of today's day. Lack of information, especially not too obvious in importance, sooner or later turns against the trader.
However, sometimes there are too many contradictory calculations to make a decision, so it would seem that there is no need for more data. But it is not a question of data redundancy, but of correct data management. With a surplus of background information one is able to do something, including ignoring it, but with a lack of information one cannot go far and in the right direction.
2013.09.07 02:39:36 iTester-SL (GBPUSD,M1) 1 undeleted objects left
Memory leak // Or glitch in the linker.
The object has been declared as a static global variable. (!) That is, it is not dynamic at all.
The problem occurred after the part of the code which uses this variable was moved to an .mqh file and declared in this file as extern (no leakage was detected before):
The program works fine.
// I avoided the problem by declaring the object dynamic. Now I create it in OnInit(), delete it in OnDeinit(). Leakage (leakage messages) stopped.
Does anyone know what kind of trading tool PROFIT is?
A big request to those present at the forum, to test OnCalculate() for duplicate calls and nulling of prev_calculated on each tick.
And post your results here (is/is not duplicated).
Test indicator here.
I think I have managed to consider the duplication of ticks. Pavel Tsatsenko (kPVT) has helped me // Thank you very much!
It turned out that this problem occurs when copying requests ( CopyXXX(...) ) outside the range of the buffer to be copied. In particular, in the indicator, that is offered for testing, there is an inaccuracy that results in requesting more than rates_total bars.
The corrected version is attached in the trailer. It works in my terminal without duplication of ticks at all settings of the terminal. Interested comrades may check it. If anyone has tick duplicates please signal.
Does anyone know what kind of trading tool PROFIT is?
The inheritance of the classes is buggy. I haven't been able to finish a class for 3 days now because compilation bugs are creeping in!
Here's the first bug:
And here's the second:
Well, there are no private members!
Bug report number is #835727.
The inheritance of the classes is buggy. I haven't been able to finish a class for 3 days now because compilation bugs are creeping in!
Here's the first bug:
And here's the second:
Well, there are no private members!
Bug report number is #835727.
There is, however. Try it this way:
Private inheritance makes all members of an inherited class private.// Наследование по умолчанию приватное. И в С++ и в mql
From the MQL5 help:
From the MQL5 help:
He who lives by the book will die of a typo.