CComment Class - MetaTrader 5 Library | MT5 EA Download - MetaTrader 5 Resources



The ССomment class is designed to extend the standard functional comment functionality. Its purpose is to display multi-line comments on the panel. Methods of this class allow you to specify text color, font, style, and line spacing. You can use your mouse to move panels within screen space.
For backward compatibility, we have retained the standard way of outputting annotations in the upper left corner of the chart. This class can automatically adjust colors if the color scheme changes regularly. In this mode, the background color is analyzed and a contrasting text color is automatically set.
This panel is useful for displaying the main settings of the Expert Advisor. Examples of such EAs are included. Its code is compatible with MQL4.

Attachment download
📎 comment.mqh (11.86 KB)
📎 comment_test.mq5 (4.5 KB)
Source: MQL5 #13688
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •