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”, with the possibility to set a fixed timeframe, data from which the indicator displays in input parameters, 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. Also the color of the indicator scale changes during indicator growth and fall.
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.
Fig. 1. The BarTimerCLineRoundedVerticalDn_HTF indicator
Fig. 2. The BarTimerCLineRoundedVerticalUp_HTF indicator