IndicatorSetInteger(INDICATOR_DIGITS,0) ... and what about the Integer?

 

Hi,

IndicatorSetInteger(INDICATOR_DIGITS,0) hides the decimal part, but the integer is still there.

How can we get rid of all numbers, including the integer?


Thank you, Sven


Update: This is about Mt5, I forgot to mention

 

SetIndexLabel(int  index,  NULL ); - mt4

PlotIndexSetDouble(int  index,PLOT_LABEL, NULL); - mt5

 

#property indicator_labelN NULL    - mt5 and mt4

 
ALXIMIKS:

SetIndexLabel(int  index,  NULL ); - mt4

PlotIndexSetDouble(int  index,PLOT_LABEL, NULL); - mt5

 

#property indicator_labelN NULL    - mt5 and mt4

Hi,


neither works here (mt5, I forgot to mention). Display of the integer part is not affected by the index label setting.

Besides, it should read 'PlotIndexSetString(int  index,PLOT_LABEL,NULL)' and '#property indicator_labelN " "', correct?!


Best regards, Sven

 
svengralla:

Hi,

IndicatorSetInteger(INDICATOR_DIGITS,0) hides the decimal part, but the integer is still there.

How can we get rid of all numbers, including the integer?


Thank you, Sven


Update: This is about Mt5, I forgot to mention

You can't do that. Some value is always shown (unless your data is completely empty).
 
marketeer:
You can't do that. Some value is always shown (unless your data is completely empty).

Thanks for the info.

 
svengralla:

Hi,

IndicatorSetInteger(INDICATOR_DIGITS,0) hides the decimal part, but the integer is still there.

How can we get rid of all numbers, including the integer?


Thank you, Sven


Update: This is about Mt5, I forgot to mention

PlotIndexSetInteger(plot_index,PLOT_SHOW_DATA,false);
 
angevoyageur:
Yesss... very nice. Thank you.