BarTimerCLineRoundedVertical_HTF - MetaTrader 5 script


Real author : Royal Art Co., Ltd.
The vertical version of the bar timer uses the indicator implemented in the library class described in detail in the article "Custom indicators and infographics in CCanvas" , with the possibility to set a fixed time range, the data displayed by the indicator in the input parameters and to emit 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. The color of the indicator scale also changes as the indicator increases and decreases.
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_HTF indicator

Figure 2. BarTimerCLineRoundedVerticalUp_HTF 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_htf.mq5 (11.06 KB)
📎 bartimerclineroundedverticalup_htf.mq5 (11.04 KB)
Source: MQL5 #18792
💡 Featured Recommendations
✍️ Latest by the author
- •
- •
- •
- •
- •
- •
📌 Popular topics
- •
- •
- •
- •
- •
- •
- •
- •
🔗 You May Be Interested In
- •
- •
- •
- •
- •
- •