Download MetaTrader 5

How to hide a buffer value from data window?

To add comments, please log in or register
Claudio Sa
32
Claudio Sa  

 Dear Traders,

 I need to hide some buffer values from Data window using MQL5.

 I saw an old question suggesting use of SetIndexLabel method (https://www.mql5.com/en/forum/45808) but it doesn't work on MQL5.

 

 Any ideas?

 Thanks 

Hide Buffer Values in Indicator Window
Hide Buffer Values in Indicator Window
  • reviews: 3
  • www.mql5.com
MQL5.community traders' Forum
Nguyen Nga
7961
Nguyen Nga  

use it

#property indicator_plots  0
Claudio Sa
32
Claudio Sa  
Nguyen Nga:

use it

Thank you for the answer but I believe isn't the solution.

 I wanna plot it but don't want to see the value on data window.

 I need hide a value of an plotted indicator.

 Tks.

Nguyen Nga
7961
Nguyen Nga  

ok, use it  

SetIndexBuffer(0,buffer_need_hide,INDICATOR_CALCULATIONS);
Biantoro Kunarto
15858
Biantoro Kunarto  

You can use this :

SetIndexLabel(0, NULL);
Nguyen Nga
7961
Nguyen Nga  
Biantoro Kunarto:

You can use this :

can not use it for MT5
Alain Verleyen
Moderator
31602
Alain Verleyen  
Nguyen Nga:
can not use it for MT5
      PlotIndexSetInteger(0,PLOT_SHOW_DATA,false);
Claudio Sa
32
Claudio Sa  
Alain Verleyen:

Thank you!

 

It works fine! 

 

Problem solved. 

To add comments, please log in or register