Comment2 - MetaTrader 4 Library | Forex Indicators Download - MT4/MT5 Resources
The Comment2 library extends the comment output capabilities of the standard Comment function and places str_text comments to the specified str_no line on the chart.
This feature allows outputting comments of experts, scripts, indicators into a single window without fear that the screen text may be accidentally overwritten. It is sufficient to efficiently assign line numbers by explicitly defining the line on which the comment is output.
To use this feature you need:
1. Place the comment2.mq4 file into the MetaTrader4\Experts\Libraries folder;
2. Place the comment2.mqh file into the MetaTrader4\Experts\Include folder;
3. Compile comment2.mq4 library;
4. Use #include
5. Replace all calls to Comment() with calls to Comment2() and specify the lines of output text.
Attachment download
📎 comment2.mq4 (4.18 KB)
📎 comment2.mqh (0.57 KB)
Source: MQL5 #7075
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •