Join our fan page
- Views:
- 4653
- Rating:
- Published:
- 2016.03.25 13:48
- Updated:
- 2016.04.21 12:01
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The Comment2 library expands the capabilities of the standard Comment function for comment output and places the str_text comment to the specified str_no line on the chart.
This function allows to output the comments from the experts, scripts, indicators into a single window without worrying that that screen text could be accidentally overwritten. It is sufficient to competently distribute the line numbers by explicitly defining which line to output the comment.
To use this function it is necessary to:
1. place the comment2.mq4 file to the MetaTrader4\Experts\Libraries folder;
2. place the comment2.mqh file to the MetaTrader4\Experts\Include folder;
3. compile the comment2.mq4 library;
4. include this library to the expert\script\indicator using the #include <comment2.mqh> directive;
5. replace all calls to the Comment() with calls to the Comment2(), specifying the line to output the text.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/7075
![WATR trend indicator, simple but clear](https://c.mql5.com/i/code/indicator.png)
A simple trend indicator that clearly shows the direction of the current trend. It can be used in the breakout trading systems.
![New_Fractal_Lines](https://c.mql5.com/i/code/indicator.png)
The New Fractal Lines indicator implements not the "squat" bar, but the "squat" fractal and draws the fractal lines.
![FloatPivot](https://c.mql5.com/i/code/indicator.png)
A simple indicator of the floating reference center and its nearest resistance and support levels.
![TimeLib by BabyBear](https://c.mql5.com/i/code/library.png)
Additional functions for working with the datetime variables.