Médias móveis: quais configurações usar e o que elas nunca fazem

Quick answer: a moving average predicts nothing. It is a delay with a number attached: the period you choose decides how much lag you accept in exchange for how much noise you remove. There is no magic setting, there is a trade-off you pick. And they work as a direction filter, almost never as an entry trigger.
Pontos principais
- The period fixes the lag: a 50 average sits roughly 25 bars behind price.
- An average tells you where price has been, never where it is going.
- As a direction filter they add value; as an entry signal they usually subtract it.
- Choosing between SMA and EMA matters far less than choosing the period.
What a moving average actually does
It averages the last N closes. That carries an arithmetic consequence worth keeping in front of you: the centre of mass of that average sits at half the period, so a simple average runs roughly (N−1)÷2 bars behind current price.
| Period | Approximate lag | Para que serve |
|---|---|---|
| 9 | 4 bars | Tracking intraday movement closely |
| 20 | 10 bars | Short swing, about a trading month |
| 50 | 25 bars | Intermediate trend, the usual filter |
| 200 | 100 bars | Background regime, nothing tactical |
The much-quoted 200 describes what happened a hundred sessions ago as much as what happened yesterday. It is useful for saying which world you are in, not for deciding an entry this afternoon.
SMA or EMA: the least important decision
| Simple (SMA) | Exponential (EMA) | |
|---|---|---|
| Reaction to a turn | Slower | Faster |
| False alarms in a range | Fewer | More |
| Effect of an old bar dropping out | Visible jump | Smooth |
Switching from SMA 50 to EMA 50 moves the line by a few points. Switching from 50 to 20 changes which trades you take entirely. If you are arguing about the type of average before you have settled the period, you are optimising the wrong decimal.
Why crossovers fail
The two-average crossover is the most published strategy there is and one of the worst on its own, for a structural reason: a crossover confirms a change of direction that already happened at least half the slow average's period ago.
| Regime | What the crossover does | Typical result |
|---|---|---|
| Long clean trend | Enters late but holds on | Works |
| Range | Crosses both ways without stopping | Steady bleed |
| Sharp reversal | Signals after half the move is gone | Entry at the worst price |
Since markets are not in a long clean trend most of the time, the overall sum comes out negative even though the screenshots of the system look spectacular. They always do: they are picked from the first row.
The use that does add value
Use the average as permission, not as an instruction. "I only take long entries when price is above the 50 and the 50 is rising" improves none of your entries: it removes an entire category of trade, the ones you were going to take against the background direction. That is what makes the average money, and it is a filtering effect, not a signalling one.
The practical difference is easy to check in your own history: split your past trades into those that were with the 50 and those that were not, and compare the expectancy of the two groups. If there is no difference, the average adds nothing on that instrument and you can take it off the chart.
How to pick the period without copying it
Make the average resemble your horizon. The rule that works as a starting point:
Period ≈ 2 × typical trade duration, in bars
If your trades last about ten hourly bars, a 20 average on that chart describes your horizon. A 200 describes somebody else's. And the honest adjustment is testing the chosen period outside the sample you chose it on: if it only works at 47 and not at 45 or 50, you have not found a parameter, you have found a coincidence.
Erros comuns
- Putting four averages on the chart and keeping whichever confirms what you already thought.
- Trying periods until the backtest looks good, which is fitting to noise.
- Using the daily 200 to decide a five-minute entry.
- Treating price touching the average as a support level, when the average moves every bar.
- Changing the period after a losing streak rather than when reviewing the system with data.
Checking whether a period holds outside the sample is exactly what the free ebook The Forward Test Handbook deals with, and to split your history by filter and compare expectancies there is The Trading Journal Blueprint. If you would rather have the direction filter already computed on the chart, that is the Cortex Signal Kit.
What is the best moving average?
There is no such thing. There is the one that matches the duration of your trades, and that depends on you, not on the market.
Is the 200 moving average useful at all?
Yes, for describing the background regime and as a reference a lot of people watch at once. It is not for deciding a tactical entry.
EMA or SMA for intraday?
EMA if the jump when an old bar drops out of the calculation bothers you. The difference in results is small next to the difference the period makes.
Can I use a moving average as a trailing stop?
Yes, it is one of its reasonable uses in a trend. Just know that in a range it will take you out and put you back in repeatedly.
How many averages should be on a chart?
One, or two if the second is purely context. With three there is always one supporting whatever you want to do.
The average gives you permission, not the entry. See the Cortex Signal Kit and Cortex Flow.
Disclaimer: educational content. The periods cited are examples and should be validated with your own data. Cortex Next is not a financial service and does not guarantee results. Trading involves risk of loss.






