As the compiler has become tougher, there is a need for a more extended version of the IndicatorCounted() statement , with the ability to get data not only for the current financial instrument, but also for any other instrument.
Will this be possible?
Will it be possible to do this?
The IndicatorCounted() function was originally a crutch. Those who has programmed indicators in three, will understand what I mean.
In five, we have found an elegant solution with parameter prev_calculated and return of the number of calculated bars in function OnCalculate. And this solution has now moved to the new four
I observe an interesting moment.
I run the EA, it opens orders, but they are not shown on the chart. I updated to 556th build, the same thing. I would rather have it every once in a while, sometimes it shows them, sometimes it doesn't.
OS 8.1, build 556
PS. By the way, you can solve the problem with a little blood.
You form an array of structures of the old format and, as before, pass this array to the DLL. Which will not need to be rewritten either
Thank you! I will do so for already developed products. This, by the way, will solve the compatibility problem, i.e. it will allow the EA to work in both build 509 and the new one.
The coordinates of all OBJ_LABELs are off, even outside the chart. Move (using the LabelMove function from the 5 examples) does not want to move, although in 555 all was normal. Move to a sub-window is impossible too - they disappear (on the list of objects, on the chart, go and find it).
Graphical objects in 556 are still created depending on the name.
ObjectFind still doesn't work if the object is in a sub-window.
And the directories in MQL are not displayed in Russian
Please enable the necessary setting in your browser, otherwise you will not be able to log in.