text for arrow

 

hi 

how i can put a text for arrow in mql4 like in custom  indicator

like the picture

Files:
 

add another text object at the same price and time coordinates.

Please see: https://www.mql5.com/en/docs/constants/objectconstants/enum_object/obj_text

Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Properties
Documentation on MQL5: Constants, Enumerations and Structures / Objects Constants / Object Properties
  • www.mql5.com
All objects used in technical analysis are bound to the time and price coordinates: trendline, channels, Fibonacci tools, etc. But there is a number of auxiliary objects intended to improve the user interface that are bound to the always visible part of a chart (main chart windows or indicator subwindows): – defines the chart corner relative to...
 
  1. Remember to use a text object (attaches to a candle and moves with it,) and not a label.
  2. Perhaps you should read the manual. Look at the example at OBJ_TEXT - Object Types - Objects Constants - Constants, Enumerations and Structures - MQL4 Reference
Reason: