Download MetaTrader 5

SweetSpots Gold Indicator shows no more pricelabels

To add comments, please log in or register
Florian Wenger
30
Florian Wenger  

Since my broker has updated MT4 to Version 5.00 Build 996 the SweetSpots Gold indicator shows horizontal lines without pricelabels (like 1,24000, 1,24100, 1,24200).

The MetaEditor compiler says in the new MT4 Version 5.00 Build 996, variable 'pricelabel' not used:

 

 compiler warning

How can i fix this issue?

The following picture shows the difference between older and new mt4 version:

 mt4 version difference

SYED NAUFAL GADDAFI
1401
SYED NAUFAL GADDAFI  
Actually, I think before upgrade, variable pricelable already not used from the beginning. So, most probably it doesn't relates to your problem.
honest_knave
Moderator
2330
honest_knave  

Change this line (line 127):

ObjectSet(linename, OBJPROP_BACK, True);

 To this: 

ObjectSet(linename, OBJPROP_BACK, false);
Florian Wenger
30
Florian Wenger  

Wow, thanks a lot for the quick response!

honest knave your instruction has solved the problem... many, many thanks!

honest_knave
Moderator
2330
honest_knave  
You're most welcome.
To add comments, please log in or register