OPEN-SOURCE SCRIPT

Run Timer

已更新
This is a simple utility which counts the number of bars and time elapsed after starting the script. This can be used in time or bars based conditions to modify script behavior.

This particular script does the following:
  • Starts timer when script is added to chart
  • Timer is green when starting and continues to be in green if the right Auth key is used in input (Which is hardcoded as 1234 here)
  • If right auth key is not provided in the input, timer background turns red after trial bars.


Script can be modified to use elapsed time instead.

Thanks to Bjorgum on assisting on few calculations :)
發行說明
Added key as interactive input.
timerTrend Analysisutility

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明