Errors, bugs, questions - page 1986

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
There is initialisation in OnCalculate() at first run (prev_calculated == 0). Do you think moving it to OnInit() will change anything? Well, I'll try, of course, but this is something out of the realm of fantasy...
Cut. As I said, in OnDeinit() arrays are initialized, which are no longer used at next startup (changing input parameters). If this (initializing an array that isn't used as a buffer) helps - it would also be a MT bug. It would turn out that not only are the arrays not used, but they (unallocated) could still be initialized and it would affect the mapping...
It's difficult without the code. Let me know what the service department says afterwards.
It's difficult without code. Let me know here later what the service desk says.
Here's the test code, if you're interested.
Initially, the indicator parameter is false.
We put the indicator on the chart. It plots a histogram.
We set the parameters as true.
It draws the histogram and arrows.
Make the parameter false. On the current TF arrows disappear (not always). If we switch to different TFs, arrows appear chaotically in some of them in spite of buffers clearing at deinitialization.
It doesn't go in any way. Service Desk #1832411x64, 1643.
Regardless of whether you specify arrays for the arrows as buffers, they are still hardwired:
//---
Alternatively, if arrows do not need to be displayed, they can simply be excluded from display by DRAW_NONE.
Try this way:
Regardless of whether you specify arrays for the arrows as buffers, they are still hardwired:
//---
Alternatively, if arrows do not need to be displayed, they can simply be excluded from display by DRAW_NONE.
Try this variant:
I thought about it, but there is a disadvantage here. Arrays will be automatically marked and expanded, eating up resource. The developers'd better let the bug be fixed.
And what about being hard-coded... If I don't bind buffers to graphical series - why do I see some unknown rubbish, which I can't get rid of.
Otherwise it turns out that dynamic indicators cannot be built normally.
The most ideal option is to clean buffers in deinit and that's it. But clearing doesn't help...
In ME, please show ALT+M in the list of functions/methods the type of return value.
It would be nice to introduce a distinction on string type as it is used in other languages to a regular string and a "raw" string. I think they will come to this anyway, but at the initial stage it would eliminate many problems in the future.
For example Python uses r "string" to create a "raw" stringWhat's the reason for not fully outputting the logs in the tester? Everything you can look at has been looked at and checked, can't beat it.
What is the reason for the logs not being fully displayed in the tester? All that can be looked at - looked at and checked, can't beat it.
A lot of entries. See log file.