Errors, bugs, questions - page 3127
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
Ah, doesn't this theme in the debug work anymore?
Too bad :(( It was very useful in my work
Yes, you're probably right. This is likely to be the case.
And to save resources, it would be good to monitor window activity and not generate a bitmap if the window is not active.
It's worth checking rather than making assumptions.
What we have found out:
In the test indicator, the counter is saved in the kanvas resource.
What has been found out:
In the test indicator, the counter is saved in the kanvas resource.
your indicators (or EA) do not work if the window is not active - i.e. the user cannot use multiple copies simultaneously on different charts.
so it's obvious your mistake - use the same resource in many charts in many indicators.
your indicators (or EA) don't work if the window is not active - i.e. the user can't use several copies of them simultaneously in different charts.
And when resources are the same, they are redrawn for all copies.
Checked your code in "windowed" mode and on the same chart - the size is the same.
For "expanded" mode, the size changes, but it's an ancient bug, it is several years old.
What does the operation of the indicator and graphical output have to do with it?
i mean that if the window is inactive and you recommend not to refresh the canvas - it means that
ps. and consequently - panels will not work thanks to your advice :)
i.e. visually in "windowed" mode, indicators (and EA) will not update.
ps. However, if the check only in OnChartEvent, it should work, I need to check.
When resources are the same, they are redrawn for all copies.
they are not the same
if the window is inactive, you recommend not to update the canvas - this means that
i.e. visually in "windowed" mode, indicators (and EA) will not update.
yes, was wrong with CHART_BRING_TO_TOP
should use the fxsaber option
What has been found out:
In the test indicator, the counter is saved in the kanvas resource.
Perfect. Now you can tell exactly how things work, rather than guessing. Will be useful to anyone working with CCanvas.
Ah, doesn't this theme in the debug work anymore?
Too bad :((( It was very useful in my work
What build do you have, beta or release?
What build do you have, beta or release?
You are probably in beta. Thought this feature was gone in beta version. But I checked my own (build 3091, release version) and it doesn't work either.