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.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน