How to hide a buffer value from data window?

 

 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
 

use it

#property indicator_plots  0
 
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.

 

ok, use it  

SetIndexBuffer(0,buffer_need_hide,INDICATOR_CALCULATIONS);
 

You can use this :

SetIndexLabel(0, NULL);
 
Biantoro Kunarto:

You can use this :

can not use it for MT5
 
Nguyen Nga:
can not use it for MT5
      PlotIndexSetInteger(0,PLOT_SHOW_DATA,false);
 
Alain Verleyen:

Thank you!

 

It works fine! 

 

Problem solved. 

Reason: