Bug in coloring indicator's lines with version 5495

 

Hi!

Yesterday I downloaded the customized MT5 from [edit] broker here in Brazil and installed it. Today, when I was going to trade, I notice a bug in one of my indicators: the coloring was offset by 1 bar. Here is how it's suppose to be:

And here is how it's being plotted:


So, the coloring is offset by 1 bar: the yellow color is appearing one bar later from where it was supposed to be, as well as the other colors.

After spending half an hour debugging my code and confirming the plotting by it was OK, I verified that the same Genial's MT5 installation was producing the same bug in another machine and, also, previous installations were not showing it. I first though that problem was with Genial's version and I was about the complain to them when I decided to install "crude" MT5 from the general page and the same problem happened. Checking for version difference, I concluded this should be the cause: both Genial's AWA general MT5 are installing version 5495, which, then, seems buggy while my old installations, where everything works fine, are still using 5430.


Unlucky me, I've deleted the previous version's installer before downloading the new one today, so I guess I'm stuck until a new version is released :T I'd be great, though, if MetaQuotes updated their installer to be like Qt's where one can choose between like the latest 10 versions which to install within the installer.

 
Martin Bittencourt:
I'd be great, though, if MetaQuotes updated their installer to be like Qt's where one can choose between like the latest 10 versions which to install within the installer.

Alain Verleyen maintains previous Build installers on Telegram at Telegram: View @MT5Exe

(My latest broker-dealer Release Build is 5430--making 5495 a Beta Build to me.)

MT5 release exe files
  • t.me
Provides exe for the official releases of MT5
 
Martin Bittencourt:

Hi!

Yesterday I downloaded the customized MT5 from [edit] broker here in Brazil and installed it. Today, when I was going to trade, I notice a bug in one of my indicators: the coloring was offset by 1 bar. Here is how it's suppose to be:

And here is how it's being plotted:


So, the coloring is offset by 1 bar: the yellow color is appearing one bar later from where it was supposed to be, as well as the other colors.

After spending half an hour debugging my code and confirming the plotting by it was OK, I verified that the same Genial's MT5 installation was producing the same bug in another machine and, also, previous installations were not showing it. I first though that problem was with Genial's version and I was about the complain to them when I decided to install "crude" MT5 from the general page and the same problem happened. Checking for version difference, I concluded this should be the cause: both Genial's AWA general MT5 are installing version 5495, which, then, seems buggy while my old installations, where everything works fine, are still using 5430.


Unlucky me, I've deleted the previous version's installer before downloading the new one today, so I guess I'm stuck until a new version is released :T I'd be great, though, if MetaQuotes updated their installer to be like Qt's where one can choose between like the latest 10 versions which to install within the installer.

It would be nice if you could provide the minimum code to reproduce this issue.
 
Alain Verleyen #:
It would be nice if you could provide the minimum code to reproduce this issue.

Hi!

in attachment. I didn't consider earlier because I plan to release this indicator in the Market in the future :)

 
Ryan L Johnson #:

Alain Verleyen maintains previous Build installers on Telegram at Telegram: View @MT5Exe

(My latest broker-dealer Release Build is 5430--making 5495 a Beta Build to me.)

Thanks for the link!

Indeed, my main broker hasn't yet released 5495, but for whatever reason both the official download link by MetaQuotes AWA that broker, Genial, 's site is installing this version :/

 
Martin Bittencourt #:

Hi!

in attachment. I didn't consider earlier because I plan to release this indicator in the Market in the future :)

Confirmed and reported to MQ.
 
Martin Bittencourt #:

Thanks for the link!

Indeed, my main broker hasn't yet released 5495, but for whatever reason both the official download link by MetaQuotes AWA that broker, Genial, 's site is installing this version :/

Current a NEW installation brings ALWAYS the last beta. After that, on further update, you will get only the next release, not beta. 
 
Alain Verleyen #:
Confirmed and reported to MQ.

Nice! (in a sense...) Btw I installed the previous version using the Telegram link previously provided and my indicator is now working fine, so double confirmation!

Alain Verleyen #:
Current a NEW installation brings ALWAYS the last beta. After that, on further update, you will get only the next release, not beta. 

Hmm I'm not so sure that's the best for us clients/users... I guess it would be better to always provide the latest official release and simply allow for the users that want beta versions to manually download it as it's already possible to do it in the Help tab. Anyway, thanks everybody for the help!