Label indicator like an object?

 

Hello

Is there a way to label an indicator line (ex. a Moving Average) in the same way that graphical objects placed on a chart can be labelled? What I want to do is detect if an object/indicator with a specific label exists on the chart and read its value programmatically. I can already do this with objects. Id like to do it also with indicators placed on main chart window.

Any ideas? Thanks

 
 
qjol:
iCustom
No. You've misunderstood my question.
 
Just add some codes in the indicator. It can be done and many have done it.
 
qjol:
iCustom

HarriMQL4:
No. You've misunderstood my question.


I think that gjol gave you the exact answer, buffers are labelled and you can access those buffers with iCustom.
 
HarriMQL4: 

Is there a way to label an indicator line (ex. a Moving Average) in the same way that graphical objects placed on a chart can be labelled?

What I want to do is detect if an object/indicator with a specific label exists on the chart and read its value programmatically.

  1. Yes, have the indicator label its buffers. 
  2. A object is not a buffer. A buffer is not an object. You use iCustom for buffers.
  3. You need to make up your mind if you are reading an indicator's buffer, or want to read values from objects.
Reason: