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精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明