Skip to main content

How to Overlay Two Charts in TradingView: A Complete Guide for Traders

· 16 min read

Want to see how two different stocks or cryptocurrencies move together without constantly flipping between charts? Overlaying charts in TradingView is like having X-ray vision for your portfolio, letting you compare the price action of two assets on a single screen.

It's a game-changer for spotting relationships. You can see if that tech stock you love actually moves in step with the NASDAQ, or if your favorite crypto pair is starting to drift apart. By layering one chart on top of another, you get a clear, visual story of correlation and relative strength, helping you make smarter, more informed decisions.

How to Overlay Two Charts in TradingView: A Complete Guide for Traders

Getting to Know Chart Overlays

So, what exactly is a chart overlay? In simple terms, it's the feature that lets you place one asset's price chart directly on top of another's. Think of it like tracing paper; you can see the lines of both, making comparisons instant and intuitive.

The whole point is to analyze how things move together—or don't. Are they best friends moving in perfect sync? Total opposites? Or just doing their own thing? This insight is gold for figuring out diversification or timing your next trade.

Here's a quick look at why this is so useful:

Use CaseWhat You Can Discover
Sector CorrelationDoes a particular stock typically lead or lag its sector peers?
Market ComparisonHow is an individual stock performing against a major index like the S&P 500?
Relative StrengthWhich of two assets is showing more bullish or bearish momentum?

When you create an overlay, you can adjust the scaling to make sure the comparison is fair and the chart isn't misleading. This makes it easy to spot those crucial moments when assets begin to move together or decide to go their separate ways.

The Two Main Ways: Compare vs. Overlay

When you want to look at more than one stock or asset on a single TradingView chart, you have two primary paths you can take. Knowing which one to use will make your analysis much clearer and more effective.

The Compare function is like putting your assets in separate, stacked panels. It automatically adjusts the view to show you how much each one has moved in percentage terms. This is perfect when you're looking at things that have wildly different prices. For instance, it's the best way to see if a high-pricer like Bitcoin is moving in a similar rhythm as a much cheaper stock.

The Overlay function works differently. It layers the data directly on top of your main chart, using the same price scale (or a new one you can adjust). This gives you a direct, side-by-side visual of the actual price movements. It's especially handy when you're looking at assets in a similar price range and you want to see their exact price paths stacked together, rather than just their percentage gains or losses.

How to Overlay Charts on TradingView, Step-by-Step

Want to see how two different assets move together? Overlaying charts on TradingView is a fantastic way to do just that. It's simpler than it sounds, and here's how you can do it on both desktop and mobile.

Step 1: Open Your Main Chart First, log into your TradingView account and pull up the chart for your primary asset. This will be your base chart. Make sure you're in the "Super Charts" interface for the full set of tools.

Step 2: Add Your Second Chart Look at the top toolbar for the "Compare or Add Symbol" button. It usually looks like a little plus + sign next to the current symbol's name. Click it, type in the ticker symbol of the asset you want to overlay (like a stock, forex pair, or index), and select it from the list.

Step 3: Analyze the Overlay Once you select it, the second asset will automatically be drawn right on top of your main chart. TradingView will give it a different color so you can easily tell the two lines apart. That's it—you're done!

What about on Mobile? The process is just as easy on your phone or tablet.

  1. Tap the settings icon on your chart (it often looks like three dots or a wrench).
  2. Find and tap the "Add Symbol" option.
  3. Search for and select the symbol you want to overlay.

The mobile app is designed to give you the same powerful analysis, so you can check your overlays no matter where you are.

Getting Your Chart Scales Right for Clear Comparisons

Getting your price scales set up correctly is the secret to making those overlaid charts actually useful. If the scales are off, the comparison becomes meaningless, like trying to compare a mountain to a molehill on the same map. TradingView gives you a few simple ways to control this.

When you add another asset to your chart using the Compare feature, you'll see a crucial choice: do you want to use the same % scale or place it on a new price scale?

Here's the simple breakdown:

  • Same % Scale: This links the percentage moves of both assets. If one goes up 10%, the other's chart will adjust to show its own 10% move. It's good for comparing momentum, but the actual price levels are shifted, which can be confusing.
  • New Price Scale: This is your best bet for a true apples-to-apples visual. It gives the new asset its own dedicated price axis on the right side. This means you can see the actual price of Bitcoin at $60,000 right next to the price of a stock at $150, without one distorting the view of the other. It's much clearer, especially when you're zooming in and out.

You can also tweak these scales to your liking. Just right-click on any price axis (the numbers on the side), and you'll find options to:

  • Move the scale to the left or right.
  • Invert it, which is handy for futures or if you just prefer seeing gains move upward from the bottom.
  • Switch to a logarithmic scale, which is fantastic for seeing the true percentage growth of an asset over many years, making those long-term trends much easier to analyze.

Getting these settings right means your chart isn't just a bunch of lines; it becomes a powerful, accurate tool for analysis.

Advanced Overlay Techniques for a Clearer Picture

Moving past the basics, TradingView has some really clever ways to use overlays that can give you a much deeper understanding of the markets. Think of these as ways to bring all your analysis together in one place, so you're not constantly jumping between different views.

One of the simplest yet most powerful tricks is using the Move To option. This lets you place indicators like the RSI or MACD right on top of your price chart. By stacking them like this, you can instantly see how a move in the price lines up with a signal from an indicator. It makes those moments where things sync up impossible to miss.

If you like to tinker with code, Pine Script lets you take this a step further. You can write a script to automatically overlay a higher timeframe, like a daily chart, onto your hourly chart. This is a game-changer because it helps you trade with the overall trend in mind, without having to flip back and forth between charts constantly. You can even use the createStudy() method to programmatically add comparison symbols after the chart is ready. If you're interested in mastering these programming techniques, check out our guide on how to create new Pine Script on TradingView to get started with custom indicator development.

Pineify Website

For traders who want these advanced overlay capabilities without the coding complexity, Pineify's visual editor makes it incredibly simple. You can combine multiple indicators, create custom strategies with entry/exit rules, and overlay different timeframes - all through an intuitive drag-and-drop interface that generates error-free Pine Script code automatically.

Finally, don't forget to combine your overlays with TradingView's drawing tools. Once you have your indicators and comparisons on the chart, draw trendlines, mark key support and resistance levels, or add Fibonacci retracements right on top of everything. This visual highlighting shows you exactly where your overlaid indicator agrees with the price action, which are often the best spots for spotting opportunities.

Common Ways Traders Use Chart Overlays

Chart overlays are like having a transparent sheet you can lay on top of your main chart. They're incredibly handy for seeing the bigger picture. Here are a few of the most common and practical ways traders use them.

One of the top uses is for correlation analysis. This is just a fancy way of saying you want to see if two assets tend to move together. For instance, if you overlay a gold mining company's stock chart with the actual price of gold, you can instantly see if the stock is following the commodity or starting to do its own thing.

Then there's relative strength comparison. This is a favorite for spotting leaders and laggards. Imagine you're looking at a tech stock. By overlaying it on a chart of a tech sector ETF (or even the broader S&P 500), you can quickly tell if your stock is stronger and pushing higher, or weaker and dragging behind. When a stock that usually moves with its index suddenly breaks away, it's often a sign that something significant is changing.

Overlays are also perfect for sector rotation analysis. You can stack different sector ETFs—like Technology, Healthcare, and Energy—on a single chart. This makes it easy to see which sectors are the current market favorites and which are falling out of favor.

Use CaseWhat It Helps You DoReal-World Example
Correlation AnalysisSee if two related assets move in sync or are starting to diverge.Overlaying a gold mining stock (e.g., NEM) with the spot price of gold.
Relative Strength ComparisonIdentify stocks that are performing stronger or weaker than a benchmark.Overlaying Tesla (TSLA) on the Technology Select Sector SPDR Fund (XLK).
Sector RotationSpot which areas of the market are gaining or losing momentum.Overlaying the charts of the XLF (Financials) and XLV (Healthcare) ETFs.
Strategy BacktestingSee how your trading idea would have played out in past market conditions.Using Replay Mode to test an overlaid indicator setup on historical price data.

Currency traders love using overlays for this, too. Putting two currency pairs on the same chart can highlight divergences that might signal a good entry or exit point.

And finally, one of the most powerful features is the ability to backtest your strategies. Using a Replay Mode, you can essentially go back in time and see how your specific overlaid setup would have performed, giving you much more confidence before you risk real money.

Getting Your Chart Overlays Just Right

Setting up chart overlays is like organizing your desk—you want everything within reach, but not so cluttered that you can't think straight. Piling on too many lines and symbols might feel thorough, but it usually just makes the chart confusing. You'll get the clearest picture by sticking to two or three related assets at a time.

The real magic happens when you compare things that actually make sense together. Think about it: overlaying a popular tech stock with the price of oil probably won't tell you a meaningful story. But comparing that same tech stock with its main competitor, or with a technology sector fund (like an ETF), can reveal powerful trends and relationships that help you make smarter decisions.

Here's a pro tip to save time: use your watchlists. You can link your favorite overlay setups directly to a specific watchlist. This means you can hop from one stock to another, and your chart—with all its indicators and overlays—stays perfectly set up. It makes your analysis feel seamless and lets you scan for opportunities much faster.

Troubleshooting Common Overlay Issues

Working with chart overlays is super useful, but sometimes things don't go as planned. If you're running into a snag, you're not alone. Here are a few common hiccups and how to sort them out.

Problem: Your chart keeps moving or shifting around when you zoom or change settings. Why this happens: This usually occurs when you're using the same percentage scale for two assets with very different prices (like comparing an expensive stock with a very cheap one). The fix: Instead of using the same percentage scale, select the new price scale option for your overlay symbol. This gives each asset its own axis to play on, so they stop fighting for space.

Problem: Your overlaid chart looks all squished or super stretched, making it impossible to see any real patterns. Why this happens: The price ranges of the two assets you're comparing are just too far apart. The fix: Give this a try: right-click on the price axis and choose regular view instead of percentage. You can also manually adjust the visible price range for a cleaner, more readable comparison.

ProblemWhy It HappensThe Fix
Chart shifts when zoomingUsing the same % scale for assets with very different prices.Select new price scale for the overlay.
Overlay looks compressed/stretchedThe price ranges of the two assets are vastly different.Switch to regular view or manually adjust the price range.

Problem: You've added an overlay symbol, but nothing shows up. Why this happens: You might be looking at the general market symbol instead of the one specific to your data source or broker. The fix: Double-check your symbol source. For example, if you're connected to a broker like Velocity Trade, you need to find their specific broker symbol (often with a special identifier) and not just the general exchange symbol. When you search, look for your broker's tag to make sure you're pulling in the correct data feed. If you're experiencing general performance issues with multiple overlays, our comprehensive guide on TradingView lagging can help optimize your chart speed and responsiveness.

QA Section

Q: Can I put more than two charts on top of each other in TradingView? A: Absolutely, you can. Just keep using the "Compare" or "Add Symbol" feature to layer on as many as you like. A friendly tip, though: things can get messy quickly. To keep your chart easy to read, it's best to stick to three or four assets at most. Each new one you add will show up in a different color so you can tell them apart.

Q: What's the real difference between "overlay" and "compare" on TradingView? A: This is a common point of confusion, and it comes down to the price scales.

  • Compare is like putting the assets in their own separate lanes. It typically shows their percentage changes and is perfect when you're looking at things with very different prices (like comparing Amazon's stock price to a cryptocurrency).
  • Overlay stacks the charts directly on top of each other, sharing a price scale. This is your best bet for instruments that trade in a similar price range, like two major currency pairs.

Q: How do I stop my overlaid charts from moving around when I zoom in and out? A: Ah, the classic zoom-shift problem. The fix is simple. When you add your comparison symbol, make sure you select "new price scale" instead of "same % scale." This gives each asset its own independent price axis on the side, so zooming one won't drag the others out of place.

Q: Is there a way to save my overlay setup so I don't have to redo it every time? A: Yes, and it's a huge time-saver! TradingView lets you save your entire chart layout, including all your overlay configurations. You can even link these setups to specific watchlists. This means you can apply your favorite overlay settings to a whole group of assets with just a couple of clicks. For more advanced chart customization techniques, explore our guide on how to edit TradingView chart to master all aspects of chart configuration.

Q: Can I do chart overlays on my phone? A: Great news—you can! The TradingView mobile app has the same overlay feature. Just tap the chart settings icon (it looks like three dots or a wrench) and find the "Add Symbol" option. It works exactly the same way as it does on your computer.

Your Next Steps

Alright, you've got the hang of placing one chart over another in TradingView. So, what now? The real magic happens when you start applying this to your own watchlist.

A great place to begin is by looking for assets that tend to move together. Think about a company and its main competitor, or a specific tech stock compared to the overall NASDAQ index. Seeing them on the same chart can reveal patterns you'd otherwise miss.

Don't be afraid to play around with the price scale settings—sometimes the default view isn't the most revealing. Try overlaying one of your go-to stocks with the S&P 500. Is your stock consistently climbing faster, or is it lagging behind? This simple comparison can tell you a lot about its relative strength.

One of the most powerful things you can do is use the Replay Mode. This lets you rewind time and see how these overlay relationships played out in the past. It's like a sandbox for testing your ideas without any risk.

Once you're feeling confident, you can dip your toes into more advanced methods. The TradingView community is a fantastic resource for this. Browsing the forums, you'll find all sorts of creative ways people use overlays, and you can even learn to use Pine Script to build your own custom comparisons. If you want to dive deeper into programming custom indicators, our mastering Pine Script trailing stop loss guide provides excellent examples of advanced trading logic you can implement.

The key here is consistency. Make it a habit to spend a little time each week looking at these relationships. Jot down which chart pairings give you the clearest signals. The more you do it, the quicker you'll start to spot meaningful connections that can genuinely inform your trading decisions.