How to remove all zero value in histogram value

 

Hello guys, do you know how to remove all the zero value from the indicator histogram buffer value like this picture? for example I want to make the value from 5.60000 to 5.6


 

You can use  IndicatorSetInteger to modify INDICATOR_DIGITS property to as many digits you like.

INDICATOR_DIGITS

Accuracy of drawing of indicator values

int

Documentation on MQL5: Custom Indicators / IndicatorSetInteger
Documentation on MQL5: Custom Indicators / IndicatorSetInteger
  • www.mql5.com
The function sets the value of the corresponding indicator property. Indicator property must be of the int or color type. There are two variants of...
 
Yashar Seyyedin #:

You can use  IndicatorSetInteger to modify INDICATOR_DIGITS property to as many digits you like.

INDICATOR_DIGITS

Accuracy of drawing of indicator values

int

thank you very much Mr Yashar

Reason: