TradingView
hapharmonic
١ شباط فبراير ٢٠٢٢ ٠٩:٠٧

bytime 

Bitcoin / TetherUSBinance

الوصف

Library "bytime"
TODO: to do something at the specified time.
////Return =>> ht = hour , mt = minute , st = second ,Dt = Day, Mt = month, Yt = year , dateTime = full time format./////////////

Note : Remember to always add import when you call our library and change Gtime() to Timeset.Gtime() is used to access internal data.
import hapharmonic/bytime/1 as Timeset
[ht,mt,st,Dt,Mt,Yt,dateTime]=Timeset.Gtime()


/////////////Set a time to trigger an alert./////////////
ck = false
///hour : minute : second
if ht == TH and mt == TM and st == TS
//some action
//...
//.
ck := true

Gtime()
التعليقات
vickysharma2603
Hey there,
I have forgot in which stock I have kept alert.
how can i remove that?
المزيد