OPEN-SOURCE SCRIPT

Price Relative / Relative Strength

已更新
The Price Relative indicator compares the performance of one security to another with a ratio chart. This indicator is also known as the Relative Strength indicator or Relative Strength Comparative. Often, the Price Relative indicator is used to compare the performance of a stock against a benchmark index, S&P 500, BIST:XU100 etc.

Chartists can also use the Price Relative to compare the performance of a stock to its sector or industry group. This makes it possible to determine if a stock is leading or lagging its peers. The Price Relative indicator can also be used to find stocks that are holding up better during a broad market decline or showing weakness during a broad market advance. (Source: stockcharts)

This also can be used for Trend Identification and Bullish/Bearish Divergences.

Good Luck
版本注释
added options for the colors
Breadth IndicatorsCentered OscillatorslonesomethebluerelativestrengthTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明