OPEN-SOURCE SCRIPT
ka66: Relative Strength

Simple indicator that allows you to compare the price's series vs. another selected (input) series. The scale is unbounded. If it's rising, that means the chart series is outperforming the compared against series, otherwise it's underperforming it. The compared against series is usually a relevant index, e.g. marketwide like US500, or a sector series, or in the case of currencies, the DXY index.
We color code things, and have the option of adding an average line using several common averaging types.
The chart example shows how the indicator works by showing the it's movement when the AUDUSD close series is compared to the DXY close series.
If AUDUSD moves up strongly, away from/above (or towards if under) the DXY, the indicator rises upward.
If both series are roughly at the same spot, the indicator flattens.
If AUDUSD moves down strongly, away from, below (or towards if over) the DXY, the indicator falls downward.
The basic use is to confirm the validity of an up or down move on the chart, e.g. if the indicator has had 2 to 3 contiguous declines at an inflection point, then the move is likely valid.
There might be divergence signals too, but I haven't checked.
We color code things, and have the option of adding an average line using several common averaging types.
The chart example shows how the indicator works by showing the it's movement when the AUDUSD close series is compared to the DXY close series.
If AUDUSD moves up strongly, away from/above (or towards if under) the DXY, the indicator rises upward.
If both series are roughly at the same spot, the indicator flattens.
If AUDUSD moves down strongly, away from, below (or towards if over) the DXY, the indicator falls downward.
The basic use is to confirm the validity of an up or down move on the chart, e.g. if the indicator has had 2 to 3 contiguous declines at an inflection point, then the move is likely valid.
There might be divergence signals too, but I haven't checked.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。