how to display non-editable text on the chart

 

Hi,

I am curious to find out: Those indicators / EAs that display text and lines which are not clickable or draggable, not the standard MT4 text labels that you can right click for properties or drag them around, how do they code those? 

Thanks!

 
katexing:

Hi,

I am curious to find out: Those indicators / EAs that display text and lines which are not clickable or draggable, not the standard MT4 text labels that you can right click for properties or drag them around, how do they code those? 

Thanks!

https://www.mql5.com/en/docs/standardlibrary/chart_object_classes/obj_controls/cchartobjectlabel

Documentation on MQL5: Standard Library / Graphic Objects / Control Objects / CChartObjectLabel
Documentation on MQL5: Standard Library / Graphic Objects / Control Objects / CChartObjectLabel
  • www.mql5.com
Standard Library / Graphic Objects / Control Objects / CChartObjectLabel - Reference on algorithmic/automated trading language for MetaTrader 5
Reason: