Comment() for separate window Indicator?

 
Hello everyone,

I know that Comment() will write to the upper-left corner of the chart window... what writes to the upper left of the separate window Indicator?

Thanks for your reply.

-charliev
 
You can use TextLabel object instead of comment
 
You can use TextLabel object instead of comment



Thank you Slawa I'll try that... is there anyway to modify/over-write the lable that is there by default?

I notice the Indicator defaults to the filename... but this doesn't seem to be true with the default Indicators (such as the Williams%R Indicator).

I'd like a different label at the upper-left than filename.

Thanks,
-charliev
 
In your custom indicator You can use IndicatorShortName function "MQL4: IndicatorShortName"
 
In your custom indicator You can use IndicatorShortName function "MQL4: IndicatorShortName"


Thank you Slawa!
-charlie
Reason: