BarTimerCLineRoundedVertical - MetaTrader 5 script


Real author : Royal Art Co., Ltd.
The vertical version of the bar timer uses indicators implemented in the library class detailed in the article "Custom indicators and infographics in CCanvas" , uses the current timeframe data and emits an audible alarm when the bar changes. Two classes have been added to the library:
Class CLineRoundedVerticalDn: public CCanvasBase { }; Class CLineRoundedVerticalUp: public CCanvasBase { };
It provides the ratio (expressed as a percentage) between the elapsed time since the start of the bar and the duration of the entire bar. This indicator has two variants: rising and falling.
To compile indicators correctly, save the MQL5 folder copied from the MQL5.zip archive to the MetaTrader 5 terminal root folder.
The indicator was first implemented in MQL4 and published in the code base of mql4.com on December 1, 2008.

Figure 1. BarTimerCLineRoundedVerticalDn indicator

Figure 2. BarTimerCLineRoundedVerticalUp indicator
Attachment download
📎 canvasbase.mqh (8.07 KB)
📎 customgui.mqh (0.85 KB)
📎 circlearc.mqh (18.14 KB)
📎 circlesection.mqh (21.59 KB)
📎 circlesimple.mqh (15.18 KB)
📎 hexagon.mqh (14.55 KB)
📎 hexagon2.mqh (7.67 KB)
📎 histogram.mqh (32.93 KB)
📎 linegraph.mqh (24.35 KB)
📎 linerounded.mqh (16.6 KB)
📎 lineroundedverticaldn.mqh (16.59 KB)
📎 lineroundedverticalup.mqh (16.68 KB)
📎 petal.mqh (16.71 KB)
📎 pyramid.mqh (23.34 KB)
📎 chexagon.mq5 (6.38 KB)
📎 chistogram.mq5 (7.31 KB)
📎 clinerounded.mq5 (2.09 KB)
📎 cpetal.mq5 (2.3 KB)
📎 cpyramid.mq5 (5.99 KB)
📎 bartimerclineroundedverticaldn.mq5 (9.29 KB)
📎 bartimerclineroundedverticalup.mq5 (9.29 KB)
Source: MQL5 #18791
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •