millerrh

Relative Performance

millerrh 已更新   
This indicator takes the Performance Table from @BeeHolder and converts it to a Relative Performance table so you can compare the current chart vs. an Index (or whatever other ticker you want) to see the relative performance of one vs. the other. I also added a cell for ADR, which is also the same value as "Monthly Volatility" in the stock screener. This can be useful when screening stocks based on performance and volatility.
版本注释:
Conversion to Pine v5
Added a box to the table that looks at the distance from the 52 week high. The idea behind this is that the strongest stocks will be close to their highs and that's what you should focus on. I've coded it so that if a stock is within 25% of its 52 week high the color will be green indicating a good candidate.
版本注释:
Changed the calculation for distance from the 52 week high to be the drawdown off the high instead of the percentage required to get back to the high as I think this is what people usually refer to when talking about this metric.

开源脚本

本着真正的TradingView精神,该脚本的作者将其开源发布,以便交易者可以理解和验证它。为作者喝彩!您可以免费使用它,但在出版物中重复使用此代码受网站规则的约束。 您可以收藏它以在图表上使用。

免责声明

这些信息和出版物并不意味着也不构成TradingView提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想在图表上使用此脚本?