Compare Feature & Overlay Analysis
    LearnTradingView & ChartingCompare Feature & Overlay Analysis
    Article 10 of 34

    Compare Feature & Overlay Analysis

    Relative strength, correlation analysis, and pairs trading using the Compare tool.

    Apr 2026 4 min read 4 sectionsRohit SinghRohit Singh

    The Compare feature in TradingView enables you to overlay multiple assets on a single chart — revealing correlations, relative strength, and sector rotation patterns that are invisible when viewing instruments in isolation.

    This is one of the most powerful yet underutilized features on the platform, used daily by institutional fund managers and sector rotators.

    01

    What is the Compare Feature?

    With access to 3,539,722 instruments, the Compare feature lets you overlay any two (or more) of them on the same chart. This is invaluable for identifying correlations, relative performance, and divergence patterns.

    By overlaying a secondary asset onto your primary chart, you can directly observe how two instruments move in relation to each other over any timeframe.

    Overlaying multiple assets to identify correlation and relative strength.

    Overlaying multiple assets to identify correlation and relative strength.

    Snapshot & Takeaways

    1
    Overlay and track multiple instruments (like Nifty 50 vs S&P 500) on a single unified canvas.
    2
    Instantly visually spot pricing divergences and hidden macroeconomic correlations.
    3
    Track relative momentum to identify leading vs lagging market sectors.
    02

    How to Use the Compare Feature

    Using the Compare feature is simple. Click the '+' (Compare or Add Symbol) icon on the top menu, then search for the additional symbol you want to overlay.

    When adding a symbol, you have two primary options:

    1. Same % Scale: The new symbol is plotted on the same percentage scale as the primary asset. This is the default and is perfect for comparing relative performance over time.

    2. New Price Scale: The new symbol gets its own price scale (usually on the left side of the chart). This is useful if you need to see the exact price levels of both assets simultaneously.

    Snapshot & Takeaways

    1
    Click the '+' icon next to your primary symbol
    2
    Search for the secondary asset (e.g., NSE:NIFTY)
    3
    Choose Same % Scale for relative performance or New Price Scale for absolute levels
    4
    Add multiple overlays to compare 3+ instruments simultaneously
    03

    Advanced: Ratio Charts (Math Operations)

    One of TradingView's hidden superpowers is the ability to do math directly in the symbol search bar. Instead of just overlaying two charts, you can divide one by the other to create a true Ratio Chart.

    For example, type 'NSE:TCS/NSE:NIFTY' directly into the symbol search. TradingView will plot a single line representing the ratio between TCS and Nifty. If the line is rising, TCS is outperforming the Nifty. If it's falling, TCS is underperforming.

    This technique cleanly removes the noise of the overall market and isolates the stock's true relative strength — a method used by every institutional portfolio manager.

    Professional Tip

    To easily find leading sectors, type 'NSE:CNXIT/NSE:NIFTY' or 'NSE:BANKNIFTY/NSE:NIFTY' in the symbol search. A rising chart means money is flowing into that sector faster than the broader market.

    04

    Practical Use Cases for Indian Markets

    The Compare feature has several powerful applications for Indian market traders. These exact comparisons are how institutional traders allocate capital across sectors.

    Relative Strength

    • Overlay NIFTY IT index on TCS chart
    • Identify if stock outperforms its sector
    • Formula: NSE:TCS/NSE:CNXIT

    Sector Rotation

    • Compare NIFTY Bank vs NIFTY 50
    • Spot money flow between sectors
    • Formula: NSE:BANKNIFTY/NSE:NIFTY

    Correlation Analysis

    • Compare Gold (MCX) with USD/INR
    • Understand currency-commodity relationships
    • Overlay INR pairs with equity indices

    Pairs Trading

    • Overlay HDFC Bank vs ICICI Bank
    • Identify spread opportunities
    • Mean-reversion strategies on ratios
    "

    The Compare feature transforms your chart from a single-asset view into a multi-dimensional analytical canvas.

    Unlock TradingView Pro

    Gain unrestricted access to multiple charts, custom timeframes, and unlimited technical indicators to perfect your edge.

    Claim TradingView Upgrade
    Rohit Singh — Mr. Chartist

    Written By

    Rohit Singh

    Mr. Chartist

    With 14+ years of experience in Indian financial markets, Rohit Singh (Mr. Chartist) is a SEBI Registered Research Analyst, Amazon #1 bestselling author, and the founder of Investology — a premium trading ecosystem trusted by a 1.5 Lakh+ strong community across India.

    INH000015297Full Bio

    TradingView® is a registered trademark of TradingView, Inc. All screenshots, logos, and platform imagery are the property of TradingView, Inc. and are used here for educational purposes only under fair use. This content is not affiliated with, endorsed, or sponsored by TradingView.

    © 2026 TradingView, Inc. All rights reserved. • www.tradingview.com