The Test Bench › Combining indicators

How to Combine Technical Indicators: Which Ones Overlap?

How indicators relate to each other, how to check whether two of them overlap, and what our tests on S&P 500 stocks found.

Many indicators with different names are calculated from the same few inputs, the close and its recent highs and lows, so their readings often rise and fall together. A second indicator that largely repeats the first adds little new information. In our test of 30 popular indicators on 483 current S&P 500 stocks, 18 formed one large group of related readings.

Knowing which indicators overlap, and which behave differently, helps you build simpler charts that are easier to read. Whether a combination improves a trading rule is a question for a backtest.

Check whether two indicators overlapTwo indicators can use different formulas and still give very similar readings.In the worked example below, two invented readings that rank the days in nearly the same order have a rank correlation of 0.89.Check how two indicators are calculated, and how closely they move together, before combining them.
The family name says little about overlapIndicators are sorted into momentum, trend, volatility and volume by what they were designed to show.RSI (momentum) and the DMI (trend) correlated at 0.94 in our test.An indicator’s category does not tell you whether it behaves differently from another.
Some indicators measure different aspects of the marketHow much the price swings, and how strong a trend is, are different quantities from where the price sits.ATR measures how much prices move; ADX how strong a trend is, whatever its direction. Both sat apart from common momentum indicators in our test.A reading that behaves differently may add a different view.

This page covers:

What does it mean when two indicators overlap?

Two indicators overlap when their readings are closely related. The usual measure is a correlation. Close to +1, the two tend to rise and fall together. Close to −1, one tends to rise when the other falls. Close to 0, there is little consistent upward or downward relationship between them in the data; other kinds of relationship are still possible. A strong correlation of either sign means the two are closely related; a negative one means they move in opposite directions.

A correlation does not tell you whether two indicators give identical signals, whether either one predicts future prices, or whether combining them improves a trading strategy.

Our tests use Spearman’s rank correlation. It replaces each day’s reading with its rank, so it asks only whether the two readings tend to move up and down together in rank order. Six days of two invented readings show how it works:

Day 1Day 2Day 3Day 4Day 5Day 6
Indicator A425561487066
Rank of A134265
Indicator B305852417780
Rank of B143256

The ranks differ by no more than one place on any day. The rank correlation is 1 − 6 × (sum of squared rank differences) ÷ (n × (n² − 1)) = 1 − 6 × 4 ÷ (6 × 35) = 0.89: the two readings usually rank the days in a similar order, although they are not identical. This shortcut formula holds when no two days share a rank, as here; tied readings need the full calculation.

A high rank correlation between two indicators warns that their effects may be hard to separate. It does not by itself diagnose multicollinearity, the problem of a statistical model whose inputs are strongly related.

The four indicator families

FamilyWhat it is meant to showExamples
MomentumThe speed or strength of recent price movesRSI, Stochastic oscillator, Williams %R, CCI, MACD
TrendThe direction of a trend, or its strengthmoving averages, ADX, Aroon, Parabolic SAR, Supertrend, Ichimoku
VolatilityHow much prices fluctuateATR, Bollinger Bands, Donchian Channel, Ulcer Index
VolumeTrading volume read alongside the price moveson-balance volume, MFI, Chaikin Money Flow, Elder Force Index

The families describe what each indicator was designed to show. They are broad descriptions, and some indicators combine more than one: MACD is often called a trend-following momentum indicator, and MFI combines price and volume. Most indicators are calculated from the same few inputs: the closing price, its recent high and low, and its recent average. Two indicators from different families can therefore give closely related readings, and two from the same family can behave very differently: ADX and the moving-average readings are all filed as trend. CCI and the position within the Bollinger Bands both measure how far the price sits from its 20-day average, scaled by how much it has varied: CCI on the typical price with the mean deviation, the bands on the close with the standard deviation. In our test their correlation was 0.98.

Indicators that overlap most

In our test, 18 of the 30 indicators formed the largest group of related readings: Aroon, Ulcer Index, On-balance volume, MFI, Force Index, 12-day price change (ROC), Stochastic, Williams %R, Donchian position, CCI, Bollinger position, Supertrend, Price vs 50-day avg, MACD line, 9/21 EMA gap, Ichimoku base line, RSI and DMI. The group joins indicators on their average correlation, so not every pair inside it is strongly related: 23 of its 153 pairs had a correlation under 0.6. The group held six momentum, six trend, three volatility and three volume indicators, which is why a category alone cannot tell you whether an indicator gives a different reading. Most of them compare today’s price with a recent average, a recent high–low range, or its recent gains and losses. They are related, and still differ in detail.

All the pairs, and how we measured them →

Indicators with less overlap

In our test, some readings had much weaker links with the large group:

A low correlation suggests that two readings behave differently in the data tested. A correlation near 0 means there was little consistent upward or downward relationship between them in this sample; it does not rule out every kind of relationship. Whether a reading that behaves differently helps a rule is a question for a test of the full combination. The full list, by family →

Indicator against indicator, one pair per family

Two indicators can move together and still signal on different days, because each has its own levels or its own speed.

Four measures, four questions.

Correlation: do two readings rise and fall together? It is close to 1 when they usually do, close to 0 when there is no consistent link, and close to −1 when one usually rises as the other falls.

Range of readings, often loosely called sensitivity: how widely a reading’s values vary. A wider range reaches extreme readings more often; on its own it does not show that the indicator responds more strongly to the same price move.

Signal frequency: how often a reading reaches its signal level, such as RSI above 70.

Agreement score: do two indicators signal on the same days, beyond the matches chance alone would give? It is 1 when they signal on exactly the same days, 0 when their signals coincide no more often than chance, and below 0 when they coincide less often than chance.

RSI and the Stochastic are the clearest case. On the 483 S&P 500 stocks of our test, their correlation was 0.85: they rise and fall together. Their signal frequency differed: the Stochastic was beyond 80 or 20 on 41.5% of stock-days, RSI beyond 70 or 30 on 10.0%.

RSI and the Stochastic on the same invented pricesThe two lines move together (correlation); the Stochastic’s readings range wider.70308020120 trading days of invented pricesRSI: levels 70 and 30; beyond them on 12 of 120 daysStochastic: levels 80 and 20 (shaded); beyond them on 51 of 120 days
An illustration on invented prices, computed the way the app computes both indicators; it is separate from our test on S&P 500 stocks, whose figures are in the box above. In this invented example the two lines have a correlation of 0.85; RSI was beyond 70 or 30 on 12 of 120 days, the Stochastic beyond 80 or 20 on 51. The agreement score, and the highest score two indicators can reach, are explained in RSI vs Stochastic.

The following studies look at four popular indicator combinations, one per family. Each compares how the readings move, how often their signals agree and what that means for using them together; their results are in our tests below:

Common mistakes when combining indicators

Our indicator combination tests

How to read these results. A correlation study measures how indicator readings move together on daily bars; it tests no trading rule and measures no return. The tests use today’s S&P 500 members followed back in time, which leaves out companies that left the index (see survivorship bias in backtesting).

Guide: overfitting in backtesting: what curve fitting is and how to avoid it. Related: RSI explained · Stochastic RSI explained · moving average strategy studies · MACD crossover studies.

Common questions

Which technical indicators work best together?

There is no combination that works best everywhere. Readings that behave differently may complement each other. In our test of 30 indicators on 483 S&P 500 stocks, measures of swing size (ATR, Bollinger Band width) and trend strength (ADX) moved largely apart from momentum indicators: Bollinger Band width and the Stochastic correlated at 0.03, ADX and the Stochastic at 0.04. Any combination still needs its own backtest.

Are ATR and Bollinger Bands the same?

Partly. ATR as a share of the price and Bollinger Band width are related measures of how much the price swings, with a correlation of 0.63 in our test on 483 S&P 500 stocks. The price’s position within the bands is a separate reading: it moved with the CCI at 0.98.

What is the difference between Parabolic SAR and Supertrend?

Both draw a trailing line that switches side as the price moves through it, by different rules. The Parabolic SAR switches when the day’s low or high crosses it, then closes in on the price faster as the trend extends. The Supertrend switches on a close through its band and keeps a multiple of ATR from the price, moving only in the trend’s direction. In our test they sat on the same side of the close on 67% of stock-days, with a correlation of 0.61.

Is OBV the same as MFI?

No. On-balance volume is a running total of volume, added on up days and subtracted on down days. MFI compares the money flow of rising and falling days over 14 days, on a scale from 0 to 100. In our test they correlated at 0.65, and each moved more closely with RSI (0.70 and 0.74) than with the other.

What is the difference between RSI and the Stochastic oscillator?

RSI compares recent gains with recent losses; the Stochastic places today’s close within the last 14 days’ high–low range. Their readings correlated at 0.85 in our test, but their usual levels flag very different numbers of days: RSI was above 70 or below 30 on 10.0% of stock-days, the Stochastic above 80 or below 20 on 41.5%.

Why can two indicators move together and still give different signals?

Because a signal depends on where its level is set as well as on the reading. RSI and the Stochastic had a correlation of 0.85 in our test, but RSI was beyond 70 or 30 on 10.0% of stock-days and the Stochastic beyond 80 or 20 on 41.5%. On 76% of the days the Stochastic was above 80, RSI was not above 70.

What is indicator soup?

A chart covered with so many indicators that it becomes hard to read. The extra lines often move together: in our test of 30 popular indicators on 483 S&P 500 stocks, 18 of them formed one large group of related readings. Indicators that each behave differently repeat each other less, which makes a chart easier to read; it does not by itself make them useful.

What is confluence in trading?

Confluence means several signals pointing the same way at the same time. Signals from indicators that behave differently are less likely to be duplicate confirmation, although only a test of the complete rule can show whether combining them helps. RSI and the DMI, from two different families, had a correlation of 0.94 in our test: their readings largely reflect the same price move. A correlation compares the readings, so it does not mean their signals at a level always agree.

Can I use RSI and MACD together?

Yes, but their readings are closely related: a correlation of 0.84 in our test, and the same large group. The second may add less independent information than its different name suggests. Traders often use one for levels and the other for crossovers. ATR (−0.31 with RSI) or ADX (0.09) behaves more differently.

Which indicators should a beginner start with?

There is no single best set. For learning, a simple chart often gives each indicator its own job: a moving average shows the direction of the trend, RSI how stretched the recent move is, and ATR how far the price typically moves in a day. Three indicators that answer different questions are easier to read than three that repeat one reading and seem to confirm each other. It is a set for learning the tools, and carries no test of trading results.

What is the difference between leading and lagging indicators?

Moving averages are called lagging indicators because they smooth past prices and tend to respond after a move has started. Oscillators such as RSI and the Stochastic can turn before a moving average does, which is why some traders call them leading. They are calculated from past prices too, so they are not predictive by definition and give no guaranteed early warning of a turn.

How many indicators should a trading strategy use?

Our studies did not test an ideal number. A second indicator that moves closely with the first adds little variety, and each added indicator brings settings that can be tuned to past data (see overfitting in backtesting).

What is multicollinearity in trading?

In statistics, multicollinearity means strong linear relationships between the inputs of a model, which make each input’s own effect hard to separate. Traders use the term loosely for a chart or a rule built from indicators that move closely together, such as RSI, the Stochastic and Williams %R. A high correlation between two indicators is a warning sign; it does not by itself diagnose the problem in a model.

Can I check how two indicators relate in GU Analyser?

Yes. Open a stock’s daily chart, add both indicators and compare their lines over the same months. To compare their signals, build a signal on each (for example RSI above 70) and run an event study: it shows the days each one fires.

Compare two indicators on your own stocks

Build a rule from indicators and run a backtest or an event study on your own stocks. When a backtest or an event study uses two or more indicators, the indicator overlap check under the result gives the rank correlation of their readings (Spearman’s, the measure of Study 022), on the stock of that run, or averaged when the run covers several stocks. It shows how closely the readings moved together; whether the rule works is a question for the backtest itself.

Create a free account and build your own strategies → Try the demo — no registration or browse the indicator reference →
These are historical analyses. They are neither advice nor forecasts. They describe what happened on past data under stated, simplified assumptions. Past results do not prove what will happen next, and nothing in the Test Bench is a recommendation to buy or sell an investment. GU Analyser is an analytical and educational tool — no money is ever traded here.