Download MetaTrader 5

Chart Comment at Desired Location and in Desired Colour

To add comments, please log in or register
Learning MQL5? Start with documentation!
vivs
43
vivs 2015.06.13 11:33 

Is it possible to change the location and the colour of the comment that is displayed on the chart through Comment function or ChartSetString(with CHART_COMMENT)?

By default, it gets displayed in white colour on top left corner. 

honest_knave
Moderator
2208
honest_knave 2015.06.13 14:09  

No, the chart comment feature is fixed to the top left corner, using the foreground color of the chart.

If you want to do anything else, you need to create OBJ_LABEL objects.

To add comments, please log in or register