This indicator compares the difference in percentage change between two symbols over a user-specified number of bars.
Default settings will show the difference between the current symbol and the S&P 500 ETF (SPY) over 10 bars. It can be used to determine if the stock is showing relative strength or weakness compared to the overall market.
In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.