Welcome Forex EA downloads & MT4/MT5 auto-trading resources — EAs, Gold EAs, quant tools and real-world automation.
Sign In Sign Up

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

author EAcpu | 5 reads | 0 comments |

CComment Class - library for MetaTrader 5

CComment Class - library for MetaTrader 5

CComment Class - library for MetaTrader 5

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.

CComment Class - library for MetaTrader 5


Attachment download

📎 comment.mqh (11.86 KB)

📎 comment_test.mq5 (4.5 KB)

Source: MQL5 #13688

Verification code Refresh