Join our fan page
CComment Class - library for MetaTrader 5
- Views:
- 9463
- Rating:
- Published:
- 2015.10.12 15:41
- Updated:
- 2016.11.22 07:32
- Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
The ССomment class was designed to extend the capabilities of the standard Comment function. Its purpose is to display a multi-line comment on a panel. Methods of this class allow you to specify text color, font, style and line spacing. You can move the panel within the screen space with the mouse.
For the purpose of backwards compatibility, we preserved the standard way of outputting the comment in the upper left corner of the chart. The class has the ability to automatically adjust the colors in case the color scheme is changed regularly. In this mode, the background color is analyzed and contrasting text color is set automatically.
The panel is useful for displaying main settings of an Expert Advisor. An example of such EA is included. Its code is compatible with MQL4.
Translated from Russian by MetaQuotes Ltd.
Original code: https://www.mql5.com/ru/code/13688
The WPR oscillator with the boundaries of the overbought/oversold areas in the form of Bollinger Bands.
FX5_SelfAdjustingMFIThe MFI oscillator with the boundaries of the overbought/oversold areas in the form of Bollinger Bands.
The FX5_SelfAdjustingWPR indicator with the timeframe selection option available in the input parameters.
FX5_SelfAdjustingMFI_HTFThe FX5_SelfAdjustingMFI indicator with the timeframe selection option available in the input parameters.