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
This is no good!
This removes EA on every Tf change!!!
It is just proof that MT's internal cleanup routine does not work or at least not enough.
Just removing an expert from a chart is not enough to destroy all object and/or pointers.
You have to call ExpertRemove() explicitly to destroy them.
So calling DeInit() by a ChartSetSymbolPeriod() or changing user input probably leaves the same mess behind until you close the chart.
For me this is a sign that i can stop messing with my code trying to fix it because that has no use and i (we) have to wait for the bug-fix update.
You misunderstood.
It is just proof that MT's internal cleanup routine does not work or at least not enough.
Just removing an expert from a chart is not enough to destroy all object and/or pointers.
You have to call ExpertRemove() explicitly to destroy them.
So calling DeInit() by a ChartSetSymbolPeriod() or changing user input probably leaves the same mess behind until you close the chart.
For me this is a sign that i can stop messing with my code trying to fix it because that has no use and i (we) have to wait for the bug-fix update.
OK, thx!
ObjectsDeleteAll() !!!!!!!
Well for me that is, now using ObjectsDeleteAll(ChartID,0,0);
There's a new build 1048 on the MT4 demo server...
... no, that hasn't fixed the problem.
Among countless other instances, my minimal example is still broken on 1048.
There's a new build 1048 on the MT4 demo server...
I am back on 1010 for development but i will give that one a try.
I now have a pretty minimal test case.
If I load the following EA onto a chart...
void OnTick() {}
void OnDeinit(const int reason)
{
Sleep(1);
}
... then, when I manually change the timeframe or symbol of the chart, the EA is unloaded but not reloaded.
Works fine in build 1031.
Reported to ServiceDesk ?
It's not systematic, sometimes it works.
Reported to ServiceDesk ?
@JC Did you report it to the ServiceDesk ?
Hi everyone
Since this build (1045 right now in my plataform) I noticed a mayor problem... ChartSymbol() and ChartPeriod() among others functions dont work when calling others charts within the actual profile...
also if you try to read the color of an object existing in other chart you use ObjectGetInteger(chartID,name_object,OBJPROP_COLOR) where chartID is the especific ID of the chart... well even though the chartID of that chart is correct, the chart exists and all it's like the plataform doesn't see it, the result is like the chart is not there.
some one with the seame problem? it's not me, I know that because more people told me they have the same problem.
Where do I report this to ServiceDesk?
thanks in advance