OPEN-SOURCE SCRIPT
Relative Strength vs TOPIX

# Relative Strength vs TOPIX
This indicator measures a stock's performance relative to the TOPIX Index by plotting the ratio of the stock's closing price to the TOPIX closing price.
The indicator helps investors identify whether a stock is outperforming or underperforming the broader Japanese equity market. A rising line indicates the stock is gaining strength relative to TOPIX, while a falling line suggests relative weakness.
### How to Use
* Rising Relative Strength Line = Outperformance vs TOPIX
* Falling Relative Strength Line = Underperformance vs TOPIX
* New highs in Relative Strength often signal improving investor sentiment before earnings revisions or estimate upgrades.
* Divergences between price and relative strength can help identify potential leadership changes within a sector.
### Best Applications
* Japanese consumer and retail stocks
* Sector rotation analysis
* Identifying market leaders and laggards
* Screening for stocks attracting institutional buying
### Formula
Relative Strength = Stock Close ÷ TOPIX Close
This indicator automatically updates when the chart symbol changes, making it ideal for comparing multiple stocks against the Japanese market benchmark.
This indicator measures a stock's performance relative to the TOPIX Index by plotting the ratio of the stock's closing price to the TOPIX closing price.
The indicator helps investors identify whether a stock is outperforming or underperforming the broader Japanese equity market. A rising line indicates the stock is gaining strength relative to TOPIX, while a falling line suggests relative weakness.
### How to Use
* Rising Relative Strength Line = Outperformance vs TOPIX
* Falling Relative Strength Line = Underperformance vs TOPIX
* New highs in Relative Strength often signal improving investor sentiment before earnings revisions or estimate upgrades.
* Divergences between price and relative strength can help identify potential leadership changes within a sector.
### Best Applications
* Japanese consumer and retail stocks
* Sector rotation analysis
* Identifying market leaders and laggards
* Screening for stocks attracting institutional buying
### Formula
Relative Strength = Stock Close ÷ TOPIX Close
This indicator automatically updates when the chart symbol changes, making it ideal for comparing multiple stocks against the Japanese market benchmark.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.