Do indicators work? What back-tests show
A back-test applies a rule to past prices and adds up the result. It can show that a rule failed. It cannot show that a rule will succeed. The published evidence on simple currency rules is mixed and has weakened over time.
- Level 5 Indicators
- Lesson 18 of 19
- 6 min read
- 2 questions
No one can say that indicators work or do not work as a general matter. The answer depends on the rule, the market, the period and the costs. A back-test, which applies a fixed rule to past prices and adds up the results, is the usual way of checking. It is good at showing that a rule would have lost, and much weaker at showing that a rule will win, because past prices can be made to support almost any rule if enough versions are tried.
What a back-test can and cannot show
| It can show | It cannot show |
|---|---|
| How a fixed rule behaved on one set of past prices | How it will behave on future prices |
| That a rule lost after costs in that period | That a profitable result was more than luck |
| How often the rule traded and its worst losing run | What happens once many people use the same rule |
Level 11 covers how to run a test properly; this lesson covers how far a result can be trusted.
What published research reports
A working paper from the Federal Reserve Bank of St. Louis, by Christopher Neely and Paul Weller, reviews decades of academic tests of trading rules in the currency market. Economists have mostly tested simple mechanical rules, chiefly moving average crossovers and filter rules, which buy after a rise of a set percentage. The paper reports that:
- such rules earned returns above what risk would explain on major dollar exchange rates for about fifteen years, from the mid-1970s to around 1990;
- those returns had disappeared by the early 1990s;
- some more complex and less well-known rules stayed profitable for longer;
- the newer indicators that traders favour, RSI and MACD among them, are less well known to economists and less well tested;
- one study it describes, using half-hourly prices, found no excess return once reasonable trading costs were counted.
The tests were of mechanical rules, mostly on daily prices, with the costs of large institutions. They say nothing directly about a retail trader reading an oscillator on a short-term chart.
The paper also names ways in which research can flatter a rule: testing rules already known to have done well on the same prices, and trying many rules and reporting the best. It adds that traders who back-test and keep whatever was profitable face the same problem.
Why results differ
| Cause | Effect |
|---|---|
| Costs | A rule that trades often can turn from profit to loss on the spread alone |
| The period chosen | Trending years flatter trend rules, and ranging years flatter oscillators |
| Settings chosen afterwards | The best of many settings tried looks better than it is |
| Markets change | An edge that becomes widely known tends to shrink |
Costs alone can decide the matter. Suppose a rule makes 200 trades and averages 1.5 pips a trade before costs: 300 pips. At a cost of 1.2 pips a trade the result is 60 pips. At 2 pips a trade it is a loss of 100. This is arithmetic on made-up numbers, not a test.
PipCircle’s Strategy Builder can run a rule over past prices. Its test settings have fields for spread, commission and slippage, and they start at zero, so fill them in before believing a result.
What an honest claim sounds like
| Claim | What to make of it |
|---|---|
| “This indicator wins 80% of the time” | No market, period, rule, costs or number of trades. It cannot be checked |
| “This indicator predicts reversals” | No indicator predicts. All are calculated from past prices |
| “On this pair and time frame, between these dates, this exact rule made this much after these costs, over this many trades, and this much on later prices it was not tuned on” | Everything needed to check it is stated |
Any rule built on an indicator needs testing with costs, on prices that were not used to choose it, before money goes behind it.
Key points
- Whether an indicator rule works depends on the rule, the market, the period and the costs. There is no general answer.
- A back-test can show that a rule failed, and it cannot prove that one will succeed.
- A Federal Reserve Bank of St. Louis paper reports that simple moving average and filter rules earned excess returns in major currencies from the mid-1970s to around 1990, and that those returns then disappeared.
- An honest claim states the market, the dates, the exact rule, the costs, the number of trades and the result on later prices.
Quick check
These questions do not count towards your quiz score.
Common mistakes
- Believing one good test. A single profitable result on one pair and one period is the weakest kind of evidence.
- Testing without costs. Spread, commission and slippage turn many small paper profits into losses.
- Choosing the settings and judging the result on the same prices. The result then flatters the settings, because they were picked to fit those prices.
- Trusting a short sample. Twenty trades can look excellent by chance. Level 11 covers how many are needed.
Another example
A trader tries 40 versions of a rule: different periods and different levels. Suppose that none of them has any real edge, and that each has a 5% chance of producing a result that looks good purely by luck. Forty versions at 5% gives an expected 2 lucky versions, and the chance that at least one looks good is 1 − 0.95 to the power of 40, which is 87%. Finding one good-looking version among forty is therefore what luck alone would produce. The sum assumes the versions are independent, which similar settings are not, so treat it as an illustration of the trap.
Questions people ask
Do technical indicators really work?
They work as measurements: each one describes something true about recent prices. Whether a trading rule built on an indicator makes money is a separate question, and the answer varies with the rule, the market, the period and the costs. No indicator has been shown to be reliably profitable everywhere.
What is the most accurate trading indicator?
There is not one. An indicator is exactly accurate about what it calculates, and none is accurate as a forecast. Rankings of “most accurate indicators” usually rest on tests of one market in one period, often without costs.
Why does my strategy work in back-testing and fail live?
The usual reasons are costs that the test left out, settings that were fitted to the tested prices, and orders that were filled at prices the live market did not give. A market that has changed since the test is another. Testing on prices that were not used to design the rule exposes the first three.
Is a back-test proof that a strategy works?
No. It shows how a rule behaved on one set of past prices. A losing back-test is good evidence against a rule. A winning one is only a reason to test further, on other periods and with realistic costs, before risking money.
Lessons are free to read without an account. Sign in and PipCircle remembers where you stopped, keeps your quiz scores and awards your badges. Sign in free
Trading foreign exchange and CFDs carries a high risk of losing money. PipCircle Learn is education and is not investment advice.