cwood119

Price Relative / Relative Strength

The Price Relative indicator compares the performance of one security to another. This indicator can be used to compare the performance of a stock against a benchmark index, such as the S&P 500, or its sector/industry group. This makes it possible to determine if a stock is leading or lagging its peers.

The Price Relative is used to gauge relative strength, which is important when it comes to stock selection. Many portfolio managers compare their performance to a benchmark, such as the S&P 500. Their goal is to outperform that benchmark. In order to achieve this goal, managers often look for stocks that are showing relative strength. Enter the Price Relative. The Price Relative rises when a stock shows relative strength and is outperforming its benchmark. Conversely, the Price Relative falls when a stock shows relative weakness and is underperforming its benchmark.

Source: https://school.stockcharts.com/doku.php?id=technical_indicators:price_relative

This script allows the user to
  • Add a new indicator pane for Price Relative (PR)
  • Edit the benchmark symbol (Comparative Symbol)
  • Edit or hide the moving average
  • Quickly determine if the symbol is outperforming or underperforming its benchmark
  • Quickly determine if the symbols is trending higher or lower based on a simple moving average
开源脚本

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

免责声明

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

想在图表上使用此脚本?