Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Libraries | MyComment - new comments added without deleting existing ones.

This function outputs a comment in the top left corner of a chart.

New comments are added as a new line without deleting existing ones. Comments also show the current time and the script name. This function can be issued.

At the end only the comments of their own will be deleted.

Class variables

  • SHOW_MQL5ProgramName - if False shows no MQL5 Program Name(default True);
  • SHOW_CurrentLocalTime - if False shows no Current Local Time(default True);
  • chartID - handle to selected chart window(default current chart window).

Class Methods

  • Add_MyComment("Hello");
  • Del_MyComments().

Examples have been added.

Recommendations

Tested on: MetaTrader 5 Build 507 - Windows 7 x64

MetaTrader Experts, Indicators, Scripts and Libraries

525

Best MetaTrader Indicators + Profitable Expert Advisors