Place indicator text near price bar?

 

Hi,

is it possible to place the text of a main chart indicator (the b-clock.mq4 for example which prints the time until bar close at left top corner) directly above/at/right of the last price bar?

Thanks

Files:
metatrader.gif  13 kb
 
Jagg:
Hi,

is it possible to place the text of a main chart indicator (the b-clock.mq4 for example which prints the time until bar close at left top corner) directly above/at/right of the last price bar?

Thanks

This is an example of what you are after.

ej_candletime.mq4

Files:
 

Another excellent CLOCK.......

Now you may choose which one you like best.

Files:
clock.mq4  2 kb
 

Thanks for pointing me to the right direction

I customized that indicator so that

- 1:4 (for 1Min 4 sec) is printed correctly like "1:04"

- vertical offset of the displayed time to the last candle is now configurable

- horizontal offset of the displayed time to the last candle is now configurable

- the color of the text/time in the chart is now configurable

update:

- font size is now configurable

- font is now configurable

Files:
Reason: