strateva.

Articles

Technical indicators: the problem is rarely the indicator

In this article

"What's the best indicator?", "RSI 14 or 9?", "50-day or 200-day average?". They're among the most common questions in trading, and they nearly always start from a false premise: that some indicator, or some setting, works better than the rest and you just have to find it.

This article explains why the problem is rarely the indicator, and usually how it's chosen, how it's computed and what's done with it.

What an indicator is, in one sentence

A technical indicator (RSI, moving averages, MACD, Bollinger Bands…) is a formula that boils past prices and volumes down to a number. It adds no new information: it rearranges what's already in the price. That's why many different indicators say very similar things.

Problem 1: choosing the setting by looking at the result

The usual approach is to test an indicator with lots of settings and keep the best. The trouble is that with enough attempts, one always looks good by chance.

Our own illustrative simulation shows it (script sim_optimizar_indicador.py, seed 20261116; full parameters at the end):

  • Completely random prices: there is nothing to predict.
  • Rule: be long if the close is above its N-session moving average, out otherwise. Today's signal is applied to tomorrow's return, no costs.
  • 20 average lengths are tested (10 to 200 sessions), the one with the best Sharpe over the first five years is picked, then applied untouched to the next five.
  • Repeated 1,000 times.
Average annual SharpeMiddle 90% range
Best average in the five selection years0.28−0.35 to 0.96
Same average in the following five years−0.02−0.74 to 0.70

In the following years the "winning" average came out positive in only 47.9% of cases: a coin toss. And that's with just 20 variants of a single indicator. Combine several indicators, each with a few settings and filters, and the number of combinations explodes, and so does the best result by chance.

The winning rule of one half ends mid-tableEach dot is a real trend rule on the S&P 500 (averages of 2 to 24 months and momentum of 1 to 24 months). The best of 1873–1948, the 3-month average (Sharpe 0.91), ranks 24 of 47 in 1948–2026. Note: here the rules do resemble each other across halves (correlation 0.70); what does not hold is the winner’s lead. The series uses monthly averages of daily closes, which flatters trend rules.
0.91.01.11.21.30.50.60.70.80.9

Sharpe 1873–1948

  • Winner of 1873–1948
  • The other 46 rules
  • Median of 1948–2026: 1.11

Source: Robert Shiller’s monthly S&P 500 series, with dividends. No risk-free rate deducted; time out of the market earns zero.

This effect has a name and can be measured: see our article on the Deflated Sharpe Ratio and PBO. The way to pick settings without fooling yourself is nested walk-forward analysis.

Problem 2: lag

Almost every indicator is built from past prices, so it reacts late by construction. A long moving average is steady but slow to catch turns. A short one is quicker but throws off many more false signals and trades more, which raises costs.

No setting removes that trade-off; you only choose where to sit on it. If shortening the average improves the backtest, check it includes realistic costs: the more a strategy trades, the more its result depends on what it pays per trade.

Problem 3: computing it with information you didn't have

Many indicator mistakes are about calculation, not the idea:

  • Using a bar's close to compute the signal and entering at that same close.
  • "Centred" or smoothed indicators that use later data.
  • Normalising the indicator (turning it into a percentile, say) over the whole history.

All of them sneak the future into the past. We walk through examples in look-ahead bias.

Problem 4: predicting isn't the same as making money

This is the subtlest mistake. An indicator, or a model built from many, can genuinely predict something and still not make more money than a simple alternative.

Our RF100 case shows it. A machine-learning model (a fixed Random Forest, with no parameter search on the evaluation period) used 100 variables computed from price: trend, volatility, drawdowns, reversal and the like. Each month it ranked 20 stocks and bought the top 5.

  • It predicted something. The average monthly correlation between its ranking and the actual ranking of returns (the information coefficient, or IC) was 0.0596, with a t-statistic of 2.40: statistically positive.
  • But it didn't beat a simple rule. Against buying the 5 stocks with the best return over the previous 126 days (momentum), the mean annual difference was 0.01%, with a t-statistic of 0.001.
  • Simple momentum had a higher return (32.14% vs 30.49% CAGR) and a better Sharpe (1.075 vs 0.931), while trading less (7.15x vs 11.18x a year).
  • The model won in the first half of the period (+17.34% cumulative relative to momentum) and lost in the second (−30.68%).

The case's conclusion: there was predictive structure, but it didn't turn into a usable edge over momentum. A hundred technical variables didn't beat one.

What to do instead of hunting for the perfect indicator

  • Start from the idea, not the indicator. What market behaviour do you think you're exploiting, and why should it repeat? The indicator is only how you measure it.
  • Fix the settings, or the rule for choosing them, before looking at results.
  • Write down everything you test. How many indicators, settings and filters. Without that list, selection bias can't be corrected.
  • Compare with the simple version. If your five-indicator system doesn't beat a moving average or basic momentum at the same costs, the complexity adds nothing.
  • Check stability. If the result collapses when you nudge the setting (50 to 45 or 55), you've probably found noise.
  • Include costs and the real delay between signal and order.

What to ask when someone sells you an indicator-based system

  • How many combinations of indicators and settings were tried before this one?
  • How were the settings chosen, and on what data?
  • What happens with nearby settings?
  • Does it beat a simple rule at the same costs?
  • Which price is the signal computed on, and at what price do you enter?

Where it fits in a validation

Our validation can assess how much the result depends on the chosen settings, run a nested walk-forward when there is parameter selection and, if we're given the full list of variants tested, measure selection bias with the Deflated Sharpe Ratio, PBO or multiple-testing adjustments. It can also compare the strategy with a simple alternative under the same execution assumptions, as in RF100.

These checks are part of a quantitative validation. Strateva validates stock, ETF, spot crypto and spot FX strategies, always unleveraged and without margin. We do not take work on CFDs, futures, perpetuals or options.

To check whether it fits, email stan@strateva.ai with the market (stocks, ETFs, crypto or FX, spot only), frequency, which indicators you use and how many setting combinations you tried. Please don't send private code or passwords in a first message.


Educational and research content. Not investment advice. The simulation is our own and illustrative (script sim_optimizar_indicador.py): random prices with normal daily returns of mean 0 and standard deviation 1%, 200 warm-up sessions, five years (1,260 sessions) to choose and five (1,260) to measure, averages from 10 to 200 sessions in steps of 10, today's closing signal applied to tomorrow's return, no costs, 1,000 runs, seed 20261116 (numpy default_rng) and Sharpe annualised with √252. RF100 figures come from its public repository (197 monthly portfolios, January 2010 – July 2026, 10 bp cost per side, fixed universe of 20 stocks that exist today).

Related cases

RF100 — Can a Random Forest beat simple momentum?

All articles

CONTACT

Tell me about your strategy. I will say whether it fits within 48 business hours.

Tell me what you want checked, the asset, the frequency and what you have: rules, a report or code. I will tell you whether it fits and which plan it would be.

What to include in your email

  • Market, instruments and frequency (Spot only).
  • What you want checked, and the period.
  • Language and approximate code size, without pasting the code.
  • What data you have, and whether you need an NDA.

Do not send private code, keys or passwords.

stan@strateva.ai

Reply within 48 h (business days). No private material in the first message. No obligation to commission work.

Who replies

I am Filip Stanciu. I have an MSc in Quantitative Finance from the University of Alcalá, a degree in Finance from the Complutense University of Madrid, and a MiFID II certificate. I have worked in quantitative research for an asset manager, validating stock and ETF strategies. I read and reply to every email myself.

I am not a certification body and I am not a large team. I am one person, and I say so.

Nicolae Filip Stanciu