• Products
  • Community
  • Markets
  • Brokers
  • More
Get started
  • Community
  • /Indicators and strategies
  • /Mashup

Mashup

Commodity Channel Index + Relative Strength Index (Same Scale)Mashup, combining (adjusted) RSI and CCI. These two indicators serve similar functions, but on different scales. I combined the two versions from the TradingView Built-In library into one chart, keeping the default setting for the CCI signal lines and fitting the RSI's default signal lines to them, so that they line up. I therefore adjusted the RSI to match the approximate range of the CCI and added additional lines to represent the maximum and minimum values of the RSI (0 - 100). I did that by multiplying the RSI with 5, and subtracting 250. Adjusted RSI = (RSI * 5) - 250 So the upper signal line (default: 70) now matches the line used for the CCI at 100. The lower signal line (default: 30) lines up with -100. If you want to adjust them, you need to use the formula. I annotated the code if you want to dive deeper. This indicator uses the original code and styling of the default Built-In RSI and CCI. Credit goes to the appropriate developers. My only intent is to mash up both of these indicators, making it easier to compare them. Interpreting this indicator is the same as interpreting the underlying indicators. If you find any unexpected correlations, comment.
Pine Script® indicator
by henlin
Updated
22

Select market data provided by ICE Data services. Select reference data provided by FactSet. Copyright © 2025 FactSet Research Systems Inc.© 2025 TradingView, Inc.

More than a product
  • Supercharts
Screeners
  • Stocks
  • ETFs
  • Bonds
  • Crypto coins
  • Crypto pairs
  • CEX pairs
  • DEX pairs
  • Pine
Heatmaps
  • Stocks
  • ETFs
  • Crypto
Calendars
  • Economic
  • Earnings
  • Dividends
More products
  • Yield curves
  • Options
  • News Flow
  • Pine Script®
  • Sparks
Apps
  • Mobile
  • Desktop
Tools & subscriptions
  • Features
  • Pricing
  • Market data
Special offers
  • CME Group futures
  • Eurex futures
  • US stocks bundle
About company
  • Who we are
  • Manifesto
  • Athletes
  • Blog
  • Careers
  • Media kit
Merch
  • TradingView store
  • Tarot cards for traders
Policies & security
  • Terms of Use
  • Disclaimer
  • Privacy Policy
  • Cookies Policy
  • Accessibility Statement
  • Security vulnerability
  • Status page
Community
  • Social network
  • Wall of Love
  • Refer a friend
  • House Rules
  • Moderators
Ideas
  • Trading
  • Education
  • Editors' picks
Pine Script
  • Indicators & strategies
  • Wizards
  • Freelancers
Business solutions
  • Widgets
  • Charting libraries
  • Lightweight Charts™
  • Advanced Charts
  • Trading Platform
Growth opportunities
  • Advertising
  • Brokerage integration
  • Partner program
  • Education program
Look FirstLook First