TradingView
LonesomeTheBlue
9 Okt 2020 pukul 06.59

Clock [Example] 

Bitcoin / TetherUSBinance

Deskripsi

Hello All,

I published this script as an example. it calculates/show current Hour, Minute and Second by using timenow function, it also show remaining time to close of the candle. You can freely use the source code in your scripts if you need.

"A man who dares to waste one hour of time has not discovered the value of life" - Charles Darwin



Enjoy!

Catatan Rilis

gmt set as float.
Komentar
blackcat1402
very good example to use tv time functions, thanks for sharing
lucidreamer15
Thanks!
FiatDropout
by changing 1 to 1.0 in line 6 allows to set timezone in minutes.

so, 2.5 is +2:30 and 2.25 is +2:15, because there are 4 timezones that have minute value in their time.
LonesomeTheBlue
@FiatDropout, sure, changed it ;)
jarodpretender
thank you very much
JuneCh2019
it doesn't update in real time ?
toymaster7
How can I make the time to stay in the lower right corner?
at the moment is on the last tick
bldgr
It doesn't update in real time?
Time_Out_2021
another awesome script I love your work and learning from it :)
would it be possible to add a MTF function?

my goal would be to have my chart on the "D" daily time frame
but I would like to have the countdown
counting down the 32D time frame
MONEYMENOW
The quote u put of Charles Darwin actually was the essence of your script.. Awesome mindset.. Salute!!!
Lebih lanjut