OPEN-SOURCE SCRIPT

Relative Strength

Relative strength is a calculation of the price trend of a stock or a financial instrument in comparison to another instrument, stock, or industry. It shall be determined by taking the price of one commodity and dividing it by another.

Relative strength is a strategy used for determining value stocks and is used in momentum investing as well. It involves investing in stocks that have done well, in relation to their index or benchmark. For example, a relative strength investor might pick technology companies that have outperformed the Nasdaq Composite Index or large-cap stocks that are lagging against the S&P 500 index(Adjustable in the settings).

This indiator will give you a plot for relative strength between the current pair with another pair (adjustable in the settings), with a plotshape for RSNHBP & RSNH

Features :
1. Relative Strength
2. Double EMA of Relative Strength
3. RSNHBP & RSNH

How to use it :
1. Adjust All the settings parameter
2. For Alerting, Just use any alert function call, it will give you an alert of RSNHBP and RSNH
comparisonOscillatorsrelativerelativestrengthRelative Strength ComparisonstrengthTrend Analysis

开源脚本

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

想在图表上使用此脚本?

免责声明