Download MetaTrader 5
To add comments, please log in or register
Have you found an error in our products? Apply to Service Desk!
Florian Wenger
30
Florian Wenger 2014.11.11 11:57 

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 2014.11.11 12:15  
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
969
honest_knave 2014.11.11 12:24  

Change this line (line 127):

ObjectSet(linename, OBJPROP_BACK, True);

 To this: 

ObjectSet(linename, OBJPROP_BACK, false);
Florian Wenger
30
Florian Wenger 2014.11.11 12:43  

Wow, thanks a lot for the quick response!

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

honest_knave
969
honest_knave 2014.11.11 13:09  
You're most welcome.
/
To add comments, please log in or register