How to hide indicator value from Data Window?

Back to topics list To post a new topic, please log in or register
avatar
4
oktan 2010.05.03 15:19
 
Hello there.
Indicator gives me totaly 4 variables, which are drawn in indicator window. But i need only 1 of them to be avaible in Data Window. How can i hide variables i do not want to see in Data Window?
Thanks.
 
avatar
414
Russell 2010.05.03 16:27 #
 
SetIndexStyle(0, DRAW_NONE);

hth
avatar
4
avatar
Moderator
6146
avatar
4
oktan 2010.05.04 10:28 #
 
Ahh, i did not now about that posibility stringo, thanks! :-)

Anyway, i have 4 lines drawn in indicator window. And i want to see 1 of them in "data window".
So i want to hide 3 other values from "data window", not all of them.
 
avatar
1752
DxdCn 2010.05.04 10:42 #
 

#property indicator_buffers 1

init()
{
IndicatorBuffers(4);

................

 
avatar
2
flyer415 2010.07.22 22:41 #
 

The way to do this is to use SetIndexLabel(1,NULL);


If the index label is set to NULL then that index will not show in the DataWindow nor will the value show in the chart subwindow at the indicator name. In your case set 3 labels to NULL and leave the 4th label alone or give it a name if you wish.

 
avatar
16
tazosmr 2015.11.28 10:54 #
 

SetIndexLabel(1,NULL);             // for name

SetIndexStyle(1, DRAW_NONE);       //for lines


Back to topics list  

To add comments, please log in or register