Download MetaTrader 5

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

To add comments, please log in or register
Any problems with the code? Find solution in documentation!
Mehrdad Shiri
4480
Mehrdad Shiri 2013.10.22 18:15 

hi;

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

Pasi Hakamaki
4675
Pasi Hakamaki 2013.10.22 20:59  
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
Alain Verleyen
Moderator
30693
Alain Verleyen 2013.10.22 21:07  
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);
Mehrdad Shiri
4480
Mehrdad Shiri 2013.10.22 21:36  

Candles

thank you for comment. angevoyageur helped me.

angevoyageur:

thank you.

To add comments, please log in or register