OPEN-SOURCE SCRIPT
Relative Strength vs BTC

This indicator compares the active chart against Bitcoin over a selected lookback period
It calculates the percentage return of the active asset and subtracts the percentage return of BTC over the same period
Above zero means the active asset is outperforming BTC
Below zero means the active asset is underperforming BTC
The table automatically shows the active chart ticker versus BTC and displays the relative performance percentage in green or red
By default, the benchmark is COINBASE
If you use another BTC feed, such as BINANCE, you may see small differences due to exchange and price feed variations
For the cleanest comparison, set the BTC benchmark input to match the BTC 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 BTC over the same period
Above zero means the active asset is outperforming BTC
Below zero means the active asset is underperforming BTC
The table automatically shows the active chart ticker versus BTC and displays the relative performance percentage in green or red
By default, the benchmark is COINBASE
If you use another BTC feed, such as BINANCE, you may see small differences due to exchange and price feed variations
For the cleanest comparison, set the BTC benchmark input to match the BTC 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.