OPEN-SOURCE SCRIPT
Relative Strength vs Silver

This indicator compares the active chart against Silver over a selected lookback period
It calculates the percentage return of the active asset and subtracts the percentage return of Silver over the same period
Above zero means the active asset is outperforming Silver
Below zero means the active asset is underperforming Silver
The table automatically shows the active chart ticker versus Silver and displays the relative performance percentage in green or red
By default, the benchmark is TVC:SILVER
If you use another Silver feed, such as OANDA:XAGUSD, you may see small differences due to exchange and price feed variations
For the cleanest comparison, set the Silver benchmark input to match the Silver symbol you use on your chart
This is not a buy or sell signal, only a relative strength tool
It calculates the percentage return of the active asset and subtracts the percentage return of Silver over the same period
Above zero means the active asset is outperforming Silver
Below zero means the active asset is underperforming Silver
The table automatically shows the active chart ticker versus Silver and displays the relative performance percentage in green or red
By default, the benchmark is TVC:SILVER
If you use another Silver feed, such as OANDA:XAGUSD, you may see small differences due to exchange and price feed variations
For the cleanest comparison, set the Silver benchmark input to match the Silver symbol you use on your chart
This is not a buy or sell signal, only a relative strength tool
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.