display values of rectangle

 

Hi MQL4,

I am beginer in coding, but i will try to make...

After doble click of rectangle in the corner, you can see values that show number of candles and number of pips.

How can i display the values of rectangle every time when i draw on my metatrader?

I think it is not an indicator, it is an object. is it ritght?

Could someone help me?

Torero2

 
You create an Indicator that searches for rectangle objects, when it finds on it add the text to it that you want . . . ObjectCreate OBJ_TEXT
 
RaptorUK:
You create an Indicator that searches for rectangle objects, when it finds on it add the text to it that you want . . . ObjectCreate OBJ_TEXT

Yes, you are right... you give an idea, thanks, it must be an indicator
Reason: