Candle time thill end
-
Hi everyone,
I would like to use the "Comment" block to display the candle time thill end.
Do you know how to do that?
Thank you in advance for your response. -
Do you have any ideas, please?
-
@Gilles
You want the time of what candle ? Till end of what ? Do you want the time of the candle to be displayed, and this till end; or do you want displayed the time remaining till the end of the thing? -
@seb-0 I would like to use a "Comment" block to display the countdown of the time remaining until the end of the current candle period.
Do you know how to do that?
Thank you for your response. -
@Gilles
This way ?
https://fxdreema.com/shared/RgQSHTp4c -
@seb-0 Thank you, I would like to display the time in a comment block like this:

What change or modification should be made to make this possible?
-
@seb-0 I made a slight modification for it to work since the variable was already present.

Here is the result:

Thank you very much :)!
-
@Gilles
You can also display it in time format : TimeToString((int(iTime(_Symbol,PERIOD_CURRENT,0))+PeriodSeconds(PERIOD_CURRENT))-int(TimeCurrent()),TIME_SECONDS)
Glad to see you mastered it. -