hth
Indicator properties - Visualization tab - Show in the Data Window check box
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.
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.
SetIndexLabel(1,NULL); // for name
SetIndexStyle(1, DRAW_NONE); //for lines
SetIndexLabel(1,NULL);
is working in MT4, but
PlotIndexSetString(1,PLOT_LABEL,NULL);
does not work under MT5
Understand the difference between INDICATOR_CALCULATIONS and INDICATOR_DATA. SetIndexBuffer - Custom Indicators - MQL5 Reference - Reference on algorithmic/automated trading language for MetaTrader 5
Why did you post your MT5 question in MQL4 section, (bottom of the Root page) instead of the MT5 Indicators section?
Next time, post in the correct place.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
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.