Many traders consider "round" levels, i.e. those in which the vertical coordinate (in points) ends with "00", as support or resistance levels. Example - the levels of 1.5800 and 1.5900 for EURUSD. The RoundLevels indicator draws two closest "round" levels above and two below the current price.
This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 29.03.2008.
Figure 1. The RoundLevels indicator
Translated from Russian by MetaQuotes Software Corp.
Original code: https://www.mql5.com/ru/code/1774
DeMark's oscillator with an option of setting a fixed timeframe for the calculation of the indicator in the input parameters.Demo_IndicatorSetString
An example of how to use the IndicatorSetString() function. A simple indicator that shows how to create a label, e.g. "Overbought level" for each level.