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()
Pine腳本庫
秉持 TradingView 一貫的共享精神,作者將此 Pine 程式碼發佈為開源庫,讓社群中的其他 Pine 程式設計師能夠重複使用。向作者致敬!您可以在私人專案或其他開源發佈中使用此庫,但在公開發佈中重複使用該程式碼需遵守社群規範。