Page 1 of 2

Metatrader known bugs ...

Posted: Wed Feb 22, 2017 8:18 pm
by mladen
Opening this thread in the coding help section (each platform will have similar thread like this)

Re: Metatrader known bugs ...

Posted: Wed Feb 22, 2017 8:19 pm
by mladen
An issue with metatrader 4 (new builds) :

Unlike the previous builds, new builds will sometime start the indicator with 0 bars in buffers - if you depend on the fact that the number of bars must be > 0, then make checks since once you get the array out of range error, the indicator will not run any more

Re: Metatrader known bugs ...

Posted: Wed Feb 22, 2017 8:45 pm
by mntiwana
mladen wrote:An issue with metatrader 4 (new builds) :

Unlike the previous builds, new builds will sometime start the indicator with 0 bars in buffers - if you depend on the fact that the number of bars must be > 0, then make checks since once you get the array out of range error, the indicator will not run any more
Dearest MLADEN
Do we assume an intentionally and tricky hanky-panky for discouraging mt4 users :)

Re: Metatrader known bugs ...

Posted: Wed Feb 22, 2017 9:17 pm
by mladen
No no discouraging. Quite the opposite. What I think is that we have to have documented cases when something happens what should not happen

Opening a chart without initialized buffers is what the new builds of mt4 have brought and for that reason some code might stop working in some cases - and it worked before. In order to avoid sleepless nights, now people can know before it happens, that it can (and will in some cases) happen

Re: Metatrader known bugs ...

Posted: Wed Feb 22, 2017 9:41 pm
by mntiwana
mladen wrote:No no discouraging. Quite the opposite. What I think is that we have to have documented cases when something happens what should not happen

Opening a chart without initialized buffers is what the new builds of mt4 have brought and for that reason some code might stop working in some cases - and it worked before. In order to avoid sleepless nights, now people can know before it happens, that it can (and will in some cases) happen
Dearest MLADEN
Do you have any rough idea,how much % of indicators might be effected,1%,2%,5% ?
regards

Re: Metatrader known bugs ...

Posted: Wed Feb 22, 2017 10:03 pm
by mladen
mntiwana wrote: Dearest MLADEN
Do you have any rough idea,how much % of indicators might be effected,1%,2%,5% ?
regards
I don't know and it will not happen all the times
If it happens all the times, I guess the MQ would have noticed and fixed it. This way I guess that they even don't know about it

Re: Metatrader known bugs ...

Posted: Fri Mar 17, 2017 3:47 am
by mladen
I don't know if it just me, but the metaeditor in the latest build frequently overloads my PC to the point that it is ridiculous

Re: Metatrader known bugs ...

Posted: Fri Mar 17, 2017 4:20 am
by gelsas
mladen wrote:I don't know if it just me, but the metaeditor in the latest build frequently overloads my PC to the point that it is ridiculous
You mean it is crashing after a while? Because of the overload? I got the same issue.

Re: Metatrader known bugs ...

Posted: Fri Mar 17, 2017 4:27 am
by mladen
gelsas wrote:
You mean it is crashing after a while? Because of the overload? I got the same issue.
Seems it is leaky as a bucket :)
From time to time I have to close it and then reopen it - it did dot use to have those issues in older builds ;(

Re: Metatrader known bugs ...

Posted: Sun Mar 19, 2017 2:44 am
by mladen
CEdit class not compatible with template saving and restoring