LearnTradingView & ChartingCompare Feature & Overlay Analysis
    Article 10 of 34

    Compare Feature & Overlay Analysis

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

    Rohit Singh
    Rohit SinghMr. Chartist
    April 1, 2026
    11 min read

    Mr. Chartist Workflow

    Read with a trading desk mindset.

    Every TradingView article now follows a practical pattern: understand the tool, map it to a charting workflow, apply it on Indian market instruments, and turn it into a repeatable workspace habit.

    4

    Sections

    4m

    Read

    chart

    Level

    01

    Open a clean chart and locate the exact TradingView area covered in "Compare Feature & Overlay Analysis".

    02

    Apply it on one liquid NSE stock, one index, and one weekly timeframe so the concept is not learned in isolation.

    03

    Save the layout, write one note about what improved your decision-making, and remove anything that adds noise.

    The 'Compare' feature in TradingView is arguably the most powerful yet underutilized tool on the platform. It enables you to overlay multiple assets on a single chart—revealing macroeconomic correlations, relative strength, and sector rotation patterns that are completely invisible when viewing instruments in isolation.

    Institutional fund managers do not look at single stocks in a vacuum; they analyze how capital flows between sectors, asset classes, and geographies. By mastering the Compare tool and custom Spread Charts, you can replicate this institutional workflow directly within your charting interface.

    01

    1. The Power of the Compare Tool

    With access to over 3,539,722 instruments, the Compare feature (accessed via the '+' icon on the top toolbar) lets you instantly overlay any two or more assets onto your primary canvas.

    This tool transforms your view from absolute performance to relative performance. For example, knowing that an IT stock went up 5% is good, but knowing it went up 5% while the broader IT index went down 2% is actionable intelligence. That represents severe relative strength.

    When you add a symbol via the Compare menu, TradingView plots it as a clean Line chart by default, ensuring your primary candlestick chart remains readable without visual clutter.

    tradingview.com
    1. The Power of the Compare Tool
    InfiniteOverlay Combinations
    3Scaling Modes
    100+Global Exchanges
    FeaturesTradingViewTraditional Brokers
    Price ScalingIndependent scales per assetForced single scale
    Percentage ViewAutomatic normalizationManual calculation required
    Asset ClassesMix Crypto, Stocks, FXOften siloed by exchange

    Snapshot & Takeaways

    1
    Spot pricing divergences instantly (e.g., Nifty hits a new high, but Bank Nifty fails to confirm).
    2
    Track relative momentum to identify which market sectors are currently absorbing institutional capital.
    3
    Overlay global benchmarks (S&P 500, Nasdaq) against Indian indices to gauge global correlation.
    02

    2. Overlay vs. New Pane (Scale Mastery)

    The biggest mistake traders make when comparing symbols is ignoring the scale. If you try to overlay a ₹80,000 MRF stock on a ₹25,000 Nifty chart using a standard price scale, the chart will flatten out and become unreadable.

    TradingView provides three distinct scaling methods when you add a comparison symbol. Understanding these is critical to keeping your charts functional.

    tradingview.com
    2. Overlay vs. New Pane (Scale Mastery)

    Same % Scale (Relative Performance)

    • The absolute best option for comparing performance.
    • Anchors both assets at 0% on the left side of the screen.
    • Shows which asset grew or fell by a larger percentage over the visible time range.

    New Price Scale (Dual Axis)

    • Adds a separate vertical axis (usually on the left).
    • Allows both assets to fluctuate visually according to their own price levels.
    • Best for comparing highly correlated assets with different nominal prices.

    New Pane (Isolated View)

    • Pushes the comparison symbol into a completely separate box below the main chart.
    • Prevents any overlapping of candlesticks or lines.
    • Best when applying separate indicators to the compared symbol.

    Critical Warning

    If your chart suddenly 'flattens out' into a straight line after adding a symbol, it means you have a massive price mismatch on a standard scale. Right-click the scale and check 'Percentage' or move the overlay to a 'New Pane'.

    03

    3. Advanced: Ratio Spread Charts (Math Operations)

    While the Compare tool overlays two separate lines, TradingView's hidden superpower is the ability to do mathematical operations directly in the Symbol Search bar to create a singular 'Spread Chart'.

    By typing a formula like `[Symbol A] / [Symbol B]`, the TradingView servers will divide the price of Asset A by Asset B at every single historical data point, generating a brand new custom line chart.

    If you type `NSE:TCS / NSE:CNXIT`, you are creating a pure Relative Strength line. If this line is trending upwards, TCS is mathematically outperforming the broader IT sector, regardless of whether the overall market is in a bull or bear phase. This entirely isolates the stock's intrinsic momentum.

    Division (Relative Strength)

    • Syntax: `Asset A / Asset B`
    • Example: `NSE:RELIANCE / NSE:NIFTY`
    • Rising line = Asset A is outperforming.
    RELIANCE2,950+1.25% TodayStrong Buy

    Subtraction (Yield & Premium)

    • Syntax: `Asset A - Asset B`
    • Example: `NIFTY F1! - NSE:NIFTY`
    • Tracks the premium/discount between Spot and Futures.
    1,5601,5201,4801,4401,4001,3601,430.80RELIANCE, 1D

    Multiplication (Currency Adjustment)

    • Syntax: `Asset A * Currency`
    • Example: `MCX:GOLD1! * FX_IDC:USDINR`
    • Adjusts domestic commodity prices against currency fluctuations.
    RELIANCE — Price vs RevenueRevenue (₹ Cr)PriceEPSQ1 24Q2 24Q3 24Q4 24Q1 25Q2 25Q3 251,6001,5001,4001,3001,200

    Professional Tip

    You can apply technical indicators directly to Spread Charts! Try adding an RSI or a Moving Average to a `TCS / NIFTY` ratio chart to generate systematic entry signals based purely on relative momentum.

    04

    4. Institutional Use Cases (Indian Markets)

    How do professional fund managers use these tools in the Indian context? They use them to hunt for sector rotation, execute pairs trades, and monitor macroeconomic divergence.

    Financials — RELIANCENSE · QuarterlyIncome statementBalance sheetCash flowRatiosQ4 2025Q3 2025Q2 2025Q1 2025Q4 2024Total revenue2,43,8642,35,0932,31,4592,16,2572,32,722Cost of goods sold1,56,2901,51,8421,49,8101,38,4261,50,965Gross profit87,57483,25181,64977,83181,757Operating expenses28,45027,83026,95025,60027,200Operating income59,12455,42154,69952,23154,557Net income21,93019,87818,95117,61219,299EPS — basic32.3729.3427.9726.0028.49EPS — diluted32.3729.3427.9726.0028.49₹ Cr · All values in Crores

    Spotting Sector Rotation

    • Compare `NSE:BANKNIFTY` against `NSE:NIFTY`.
    • When the ratio breaks out of a downtrend, it signals that institutional money is rotating heavily into Banking stocks to drive the next leg of the bull market.

    Statistical Pairs Trading

    • Create a spread between highly correlated peers, like `NSE:HDFCBANK / NSE:ICICIBANK`.
    • When the ratio hits an extreme historical standard deviation, traders short the outperformer and buy the underperformer, betting on mean reversion.
    RELIANCE2,950+1.25% TodayStrong Buy

    Macro Correlations

    • Overlay `USOIL` (Crude) on an `NSE:INDIGO` (Aviation) chart.
    • Because aviation fuel is a massive cost, spikes in Crude often heavily inverse-correlate with airline stock performance. Tracking this overlay provides early warning signals.
    1,5601,5201,4801,4401,4001,3601,430.80RELIANCE, 1D
    "

    The Compare and Spread tools transform your chart from a basic single-asset view into a multi-dimensional, institutional-grade analytical canvas.

    Unlock TradingView Pro

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

    Claim TradingView Upgrade

    Frequently Asked Questions

    Common questions about this topic

    Click the '+' (Compare) button on the top toolbar next to your symbol name, then search for the second symbol. It will overlay on your chart. For the best visual comparison, ensure you right-click the price scale and select 'Percentage', which anchors both stocks at 0% and tracks their relative growth perfectly.

    Official TradingView Resources

    Curated links from TradingView's Help Center & Blog

    Car Registrations (CAR)

    Domestic sales of passenger vehicles.All countries for which CAR is available are listed below:ArgentinaAustraliaAustriaAzerbaijanBahrainBelgiumBrazil...

    Cash Reserve Ratio (CRR)

    Central bank reserve requirements.All countries for which CRR is available are listed below:AngolaBelarusBrazilChinaCroatiaCzech RepublicHungaryIndiaI...

    Jobs To Applications Ratio (JAR)

    The ratio of the number of vacancies to the number of applicants.All countries for which JAR is available are listed below:Japan...

    GDP From Public Administration (GDPPA)

    GDP from public administration.All countries for which GDPPA is available are listed below:AlbaniaAlgeriaAngolaArgentinaArmeniaAustraliaAzerbaijanBahr...

    We’ve Added the Ability to Set an Expiration to User Access for Invite-Only Scripts

    Read fresh TradingView updates: We’ve Added the Ability to Set an Expiration to User Access for Invite-Only Scripts. Discover more in our blog and stay connected with the latest platform news.

    Expiration date of futures contracts on the chart

    Read fresh TradingView updates: Expiration date of futures contracts on the chart. Discover more in our blog and stay connected with the latest platform news.

    New cursor available — welcome Demonstration mode

    Read fresh TradingView updates: New cursor available — welcome Demonstration mode. Discover more in our blog and stay connected with the latest platform news.

    Scam alert: beware of fake TradingView YouTube channels spreading malware

    Read fresh TradingView updates: Scam alert: beware of fake TradingView YouTube channels spreading malware. Discover more in our blog and stay connected with the latest platform news.

    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.

    (c) 2026 TradingView, Inc. All rights reserved. - www.tradingview.com