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
Skrip sumber terbuka

Dalam semangat TradingView yang sebenar, penulis skrip ini telah menerbitkannya dengan menggunakan sumber terbuka supaya pedagang-pedagang dapat memahami dan mengesahkannya. Sorakan kepada penulis! Anda dapat menggunakannya secara percuma tetapi penggunaan semula kod ini dalam penerbitan adalah dikawalselia oleh Peraturan Dalaman. Anda boleh menyukainya untuk menggunakannya pada carta.

Penafian

Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.

Ingin menggunakan skrip ini pada carta?