showing the value of buffer in seperate window indicator; is it Mandatory ? how can set it to don't ?

 
TIMisthebest:

hi;

showing the value of buffer in seperate window indicator; is it Mandatory ? how can set it to don't ?

I am not sure if I understand you correctly. You mean you don't want to have value in indicator buffer? Then you can use:

indicator_buffer[i]=EMPTY_VALUE;

Now element at index i wont participate in drawing.

Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Indicators Lines
Documentation on MQL5: Standard Constants, Enumerations and Structures / Indicator Constants / Indicators Lines
  • www.mql5.com
Standard Constants, Enumerations and Structures / Indicator Constants / Indicators Lines - Documentation on MQL5
 
TIMisthebest:

hi;

showing the value of buffer in seperate window indicator; is it Mandatory ? how can set it to don't ?

PlotIndexSetInteger(buffer,PLOT_SHOW_DATA,false);
 

Candles

thank you for comment. angevoyageur helped me.

angevoyageur:

thank you.

Reason: