Combining indicators without fooling yourself

Join conditions with And and Or, avoid counting the same information twice and keep rules few.

All courses · Lesson 5 of 6 · Intermediate · 4 min

A strategy rarely rests on one indicator, but adding more is not the same as adding evidence. You will learn how to join conditions with And and Or, why overlapping indicators count the same information twice, and why keeping rules few makes results more trustworthy.

Joining conditions

Each comparison node outputs a boolean, true or false for the current candle. The logic nodes And and Or take two booleans, A and B, and output a boolean Result. Not has a single input A and flips it. Chaining them lets a trigger depend on several conditions, evaluated candle by candle.

  • And is true only when both inputs are true, which makes a rule stricter and gives fewer trades.
  • Or is true when either input is true, which makes a rule looser and gives more trades.
  • Not is true when its input is false, which is useful to say that a condition did not hold one candle ago.

The same information twice

Moving averages, RSI and MACD are all derived from the same closes. When two indicators respond to the same price move, they tend to be true on the same candles. Requiring both then looks like extra confirmation, but it mostly removes a few trades at the edges without adding independent evidence.

Worked example

How much does a second condition filter?

  1. Take 2,000 candles. Condition A is true on 200 of them (10%) and condition B is true on 200 (10%).
  2. If A and B were independent, both would be true on about 2,000 × 0.10 × 0.10 = 20 candles.
  3. If B is derived from the same price move as A, suppose both are true together on 180 candles.
  4. Adding And between them reduces the 200 signals of A to 180, a reduction of 20 signals or 10%.

The independent case would have cut 200 signals to 20; the overlapping case cut them to 180, so B adds very little new information.

The practical test is to ask what each indicator measures. A trend filter (such as a slow moving average), a momentum measure (such as RSI) and a volatility measure (such as ATR) look at different features and are less redundant than three trend indicators.

When you add a condition, write down what new question it answers. For example, a trend filter answers whether the market is rising at all, and a volatility measure answers whether moves are large enough to trade. If you cannot state the question, the condition is probably decoration.

Keep the rule set small

Every extra condition and every parameter adds choices you can tune to fit the past. If you test five candidate periods for each of three indicators, that is 5 × 5 × 5 = 125 combinations, and the best of 125 results on one sample is likely to look better than it will later.

Strengths

  • A few well-chosen conditions can remove trades in market states where the idea does not apply.
  • Different types of indicator, such as trend and volatility, can add different information.

Weaknesses

  • More conditions mean fewer trades, so conclusions rest on a smaller sample.
  • More parameters make it easier to fit noise in the past data.
  • Indicators built from the same closes can overlap heavily and give a false sense of confirmation.

Key takeaways

  • And makes a rule stricter and Or makes it looser, and both output a boolean from inputs A and B.
  • Indicators derived from the same closes often overlap, so combining them gives less confirmation than it seems.
  • Mixing different kinds of information, such as trend, momentum and volatility, overlaps less than stacking similar indicators.
  • Few conditions and few parameters keep a sample large and make overfitting less likely.

Sign in to save your progress and quiz results.