OPEN-SOURCE SCRIPT

Ratio Between Two Symbols

62
Ratio Between Two Symbols — Plots the price ratio of the current chart's symbol against a user-selected benchmark (default: TVC:SPX / S&P 500 index), optionally scaled by a multiplier. A moving average (default length: 36) of the ratio is overlaid to smooth out trend direction. An optional floating label displays the current symbol pair, the live ratio value (truncated to a set number of digits), and the multiplier in use. This is typically used for relative strength/weakness analysis — e.g., is this asset outperforming or underperforming the benchmark over time — which is common in sector rotation, commodities-vs-equities, or intermarket analysis.

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.