OPEN-SOURCE SCRIPT
52WH/last52WH/ATH/lastATH

This indicator calculates and displays four values:
First, it calculates the current 52-week high and displays it as a line and in a table at the top right with the name, date, and price.
Corresponding color markings are also displayed on the price scale.
Next, the 52-week high that is at least 3 months ago is determined.
The corresponding candle is also labeled with a date. This past high is also displayed as a line, on the price scale, and in the table.
Next, the current all-time high is determined and also displayed as a line, on the price scale, and in the table.
Finally, the current all-time high that was valid 3 months ago is determined and also displayed as a linewith a label at the corresponding bar, in the price scale, and in the table.
All display values can be switched on or off in the view, and the corresponding colors of the displays can also be freely selected.
(This script was developed by J. Heina, jochen.heinaGmail, in collaboration with the ChatGPT tool, taking into account the rules developed for trading by Mario Lüddemann Investments GmbH).
First, it calculates the current 52-week high and displays it as a line and in a table at the top right with the name, date, and price.
Corresponding color markings are also displayed on the price scale.
Next, the 52-week high that is at least 3 months ago is determined.
The corresponding candle is also labeled with a date. This past high is also displayed as a line, on the price scale, and in the table.
Next, the current all-time high is determined and also displayed as a line, on the price scale, and in the table.
Finally, the current all-time high that was valid 3 months ago is determined and also displayed as a linewith a label at the corresponding bar, in the price scale, and in the table.
All display values can be switched on or off in the view, and the corresponding colors of the displays can also be freely selected.
(This script was developed by J. Heina, jochen.heinaGmail, in collaboration with the ChatGPT tool, taking into account the rules developed for trading by Mario Lüddemann Investments GmbH).
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。
开源脚本
本着TradingView的真正精神,此脚本的创建者将其开源,以便交易者可以查看和验证其功能。向作者致敬!虽然您可以免费使用它,但请记住,重新发布代码必须遵守我们的网站规则。
免责声明
这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。