How to show integer value instead of arrows/graphical objects using a buffer

 

I know showing the text using the ObjectCreat() function is pretty simple , but I cant seems to figure out a way to show the Integer values using the indicator buffer 
I have seen some Indicators in the market section, where they show the Profit/Loss pips with alongside each arrow that the indicator has generated , How can one use the Indicator buffers to draw integer values on the chart ?

 
Arman:I know showing the text using the ObjectCreat() function is pretty simple , but I cant seems to figure out a way to show the Integer values using the indicator buffer. I have seen some Indicators in the market section, where they show the Profit/Loss pips with alongside each arrow that the indicator has generated , How can one use the Indicator buffers to draw integer values on the chart ?
You can't! The buffers only show graphical plots or arrows. You have to add text objects as well. That is how the other indicator is displaying the Profit/Loss alongside the buffer arrow.