BarTimerCLineRoundedVertical – indicator MetaTrader 5

Real author: Art Royal s.r.o.

The vertical version of the BarTimer indicator implemented using the classes of libraries that were described in detail in the article “Custom indicators and infographics in CCanvas”, using current timeframe data and producing a sound alert when the bar changes. Two classes has been added to the library:

class CLineRoundedVerticalDn : public CCanvasBase
  {
  };
class CLineRoundedVerticalUp : public CCanvasBase
  {
  };

It provides the ratio between time elapsed since bar beginning and the duration of the entire bar in percent. The indicator is performed in two variants: rising and falling.

To correctly compile the indicator, save the MQL5 folder from the MQL5.zip archive to the the MetaTrader 5 terminal root folder.

This indicator was first implemented in MQL4 and published in Code Base at mql4.com on 01.12.2008.

Alternative:   Grid assistant - EA MetaTrader 4

Fig. 1. The BarTimerCLineRoundedVerticalDn indicator

Fig. 1. The BarTimerCLineRoundedVerticalDn indicator

Fig. 2. The BarTimerCLineRoundedVerticalUp indicator

Fig. 2. The BarTimerCLineRoundedVerticalUp indicator


📈 ROBOTFX MetaTrader Expert Advisors and Indicators to maximize profits and minimize the risks