How to read label text

 

Sometimes I am making an indicator that reads some input from the chart using ObjectGet function,e.g ObjectGet("PivotLine",OBJPROP_PRICE1) which will get me the price which represent Pivot on the chart. Is there a way to use ObjectGet function to read text of a label?

Thanks

 

string ObjectDescription( string name)
Return object description. For objects of OBJ_TEXT and OBJ_LABEL types, the text drawn by these objects will be returned.

 
Thanks a lot. It worked.
 
mostashar15:
Thanks a lot. It worked.


i must tell u something

if "PHY" saying something no way it does not work

 

I have discovered what you said by myself.

He is a GURU

Reason: