← All articles

Why Fixed Indicator Settings Stop Working — and How Walk-Forward Auto-Optimization Fixes It

By Davit Beridze · November 25, 2026 · 5 min read

Every trader has lived this story. You find indicator settings that look perfect on the chart. The backtest is smooth, the arrows land on the turns, and for a few weeks it even works live. Then, quietly, it stops. Signals come late, stops get hit, and you start tweaking periods again.

The problem is usually not the indicator. It is the idea that one set of numbers can describe a market that keeps changing. I have traded Forex since 2009, and this single issue is the reason every indicator I build today optimizes itself.

The market you optimized on no longer exists

An RSI period of 14 or a moving average of 50 is not a law of nature. It is a guess about how fast the market moves and how far it swings. Those two things — speed and range — change all the time:

  • Volatility shifts. A quiet Asian session on EURUSD and a news-driven London open are two different instruments wearing the same name.
  • Regimes change. Markets alternate between trending, ranging and choppy phases. Settings tuned for a clean trend get shredded in a range.
  • Instruments behave differently. Settings that fit XAUUSD on M1 will not fit GBPJPY on H1, yet many traders copy one setup everywhere.

When you optimize once and freeze the result, you lock in the market conditions of your test window. The moment conditions move, your edge moves away with them.

Curve fitting: when optimization becomes the problem

The natural reaction is to optimize harder — more parameters, longer tests, finer steps. That usually makes things worse. With enough parameters you can fit almost any price history perfectly, and that perfect fit is exactly what fails next week. This is curve fitting: the settings have learned the noise of the past instead of the behavior of the market.

A curve-fitted indicator has a few typical signs:

  • The backtest equity curve is suspiciously smooth.
  • Small changes to one setting destroy the results.
  • Performance drops sharply right after the test period ends.

So we are stuck between two bad options: settings that are frozen in the past, or settings that are fitted to noise. Walk-forward optimization is the way out.

What walk-forward optimization actually does

Walk-forward optimization (WFO) treats optimization like an honest experiment instead of a search for the prettiest backtest. The idea is simple:

  1. Optimize on a recent window of data (the in-sample period).
  2. Test the winner on data it has never seen (the out-of-sample period).
  3. Accept the settings only if they hold up out of sample.
  4. Move the window forward and repeat as new bars arrive.

The out-of-sample step is what separates real adaptation from curve fitting. Settings that only worked because they memorized the past fail that check and are rejected. Settings that capture how the market is actually behaving right now survive it.

Repeating the process as time moves forward means the indicator keeps up with the market instead of being frozen at the moment you first set it up.

Optimize for the right number

What the optimizer tries to maximize matters as much as how it optimizes. Raw net profit is a poor target: one lucky trade can dominate it. Better targets measure the quality and consistency of results:

TargetWhat it measuresWhy it helps
ExpectancyAverage result per tradeRewards settings that win on average, not by luck
SQN (System Quality Number)Expectancy relative to the spread of results, adjusted for trade countPrefers steady edges over volatile ones
Net RTotal profit measured in units of riskMakes results comparable across instruments and volatility

Measuring in R (multiples of the risk taken) is especially useful. A 50-pip profit means something very different on a 20-pip stop than on a 200-pip stop.

Normalize for volatility

Even a well-optimized indicator can mislead you if its readings depend on the price scale. An angle or slope calculated in raw points means one thing on EURUSD and something else entirely on gold. Normalizing by ATR (Average True Range) makes readings scale-independent: a "steep" move means steep relative to current volatility, on any symbol and any timeframe.

And one more non-negotiable: no repainting. An indicator whose past signals change after the fact will always look brilliant in history and disappoint live. If it optimizes itself on history that it later redraws, the whole process is meaningless.

Putting it together: Auto Optimized SpeedAngle

This is the approach behind my Auto Optimized SpeedAngle indicator for MetaTrader 5. It measures the speed and angle of price momentum and keeps its own settings adapted through the process described above:

  • Continuous walk-forward optimization with out-of-sample validation, so settings that only fit the past are rejected.
  • Your choice of optimization target — SQN, Expectancy or Net R.
  • ATR-normalized, scale-independent geometry, so the same logic works across symbols and timeframes.
  • Non-repainting signals.

Buyers also get the companion SpeedAngle EA free, so the same signals can be traded automatically. An MT4 version is available as well.

A practical checklist for any indicator you use

Whether or not you use my tools, ask these questions about every indicator on your chart:

  1. When were its settings last checked against current market conditions?
  2. Were they ever tested on data they weren't optimized on?
  3. Do small setting changes wreck the results? If yes, you are probably looking at a curve fit.
  4. Are readings normalized for volatility, or do they mean different things on different symbols?
  5. Does it repaint? Check by watching it live, not just in history.

Markets will keep changing. The goal is not to find settings that work forever — they don't exist. The goal is a process that keeps finding settings that work now.

A good indicator is not one with perfect settings. It is one that knows when its settings have stopped being good.

If you want to see how this works on your own charts, browse my full catalog of MT4 and MT5 tools — most of them are built on the same self-optimizing principle.