12 min · Free
A compass gives orientation rather than a turn-by-turn route. A moving average plays a similar role: it smooths price history and helps describe direction, without supplying a complete entry or target. We will calculate SMA, compare EMA weighting, interpret 20-, 50- and 200-period settings, and examine crossover and dynamic-support examples. Finally, we will study whipsaws in ranges and ways to test settings for a volatile crypto instrument.
A simple market filter
A close-based moving average summarises several recent closing prices and updates as new bars arrive. Its smoother line reduces some short-term variation while making a broad path easier to see. Like RSI and MACD, it transforms observed data; it does not add knowledge of future prices. Other price inputs are possible, so check the chart’s selected source.
The simple moving average, SMA, is the sum of the last N closes divided by N. For five hypothetical daily BTC closes of $92,400, $94,100, $95,800, $96,500 and $98,200, the total is $477,000 and the SMA is $95,400. When the next daily close arrives, the oldest close leaves the five-bar window and the new one enters.
The line contains neither a forecast nor an automatic price objective. Its location and slope describe the selected historical window, with delay. Treating it as a promise about tomorrow replaces a useful descriptive tool with an unsupported prediction—the same overreliance discussed in the RSI and MACD lesson.
- SMA is the sum of N selected closing prices divided by N.
- Smoothing reduces some short-term variation and highlights a broad direction.
- The calculation window advances when a new bar arrives.
- A moving average does not generate a future price target by itself.
- An indicator filters data; it is not a source of certainty.
SMA versus EMA: weighting
SMA gives equal weight to every observation in its window. An exponential moving average, EMA, gives greater influence to recent observations through the recursion: new EMA = α×new close + (1−α)×previous EMA. The conventional α is 2/(N+1); for 20 periods it is 2/21≈0.095238. Initialisation also matters near the beginning of a data series.
Suppose the previous EMA20 is $98,000 and the next close is $102,000, a $4,000 difference. Using rounded α=0.095 gives 0.095×102,000=$9,690 plus 0.905×98,000=$88,690, totalling $98,380. With exact α=2/21 the result is about $98,380.95. The EMA moves only about $381 because the new close receives about 9.52% weight; the remainder comes from its previous value.
EMA often responds more quickly than the same-period SMA to a recent shift, but the exact difference depends on the price path. Greater responsiveness can also make short-term fluctuations more visible. SMA is not inherently safer and EMA is not automatically better for every lower chart: choose and test the filter against your method’s holding period and acceptable noise.
- SMA equally weights its finite window; EMA applies recursively declining historical weights.
- EMA20 uses α=2/21; 0.095 is a convenient rounded approximation.
- A close $4,000 above a $98,000 EMA moves it to about $98,381, not halfway to the close.
- EMA often responds faster; SMA offers a different smoothing profile.
- Responsiveness and noise are trade-offs to test rather than universal advantages.
The 20-, 50- and 200-period settings
Common settings assign 20 periods to relatively short-term behaviour, 50 to an intermediate view and 200 to a longer one. Price above a rising 200-period average can support a bullish context; below a falling one can support a bearish context. These are conventions, not laws, and a crossing alone does not establish a new durable regime.
Calendar meaning depends on the chart. In continuous crypto daily bars, 20 periods are 20 calendar days, 50 are 50 days and 200 are 200 days—about 6.6 months, not a year. On H1, 20 periods span 20 hours. Forex and equity daily series omit or aggregate non-trading periods differently, so their calendar coverage differs. Always count the bars rather than assuming “20” means one month.
A daily crossover summarises a much longer observation window than an M15 crossover with the same settings. That makes it relevant to a different decision horizon, not necessarily more profitable or assigned a fixed expiry. Do not confuse an earlier small-scale signal with stronger evidence for a multi-week thesis.
- Periods 20, 50 and 200 are common short-, intermediate- and longer-window conventions.
- In continuous daily crypto data, 20 means 20 days and 200 means 200 days, not a full year.
- EMA20 on H1 covers hourly observations and serves a different horizon from daily EMA20.
- Interpret a crossover according to its generating timeframe and intended holding period.
Golden and death crosses on BTC
A golden cross conventionally means the 50-period average crossing above the 200-period average; a death cross means the opposite. On daily charts these are widely watched descriptions of changing medium- versus longer-window averages. Their calculation is inherently lagging, so neither guarantees an immediate move or the beginning of a lasting bull or bear phase.
Imagine BTC makes a hypothetical low near $58,000 after a decline, then rises in steps toward $80,000. During that recovery, the daily 50 crosses above the 200, perhaps with the averages near $74,000. Buying at the crossover because a jump is “guaranteed” ignores the price location and the move already reflected in those averages. Price may continue, pause or retrace.
A more disciplined use is a directional filter for looking for setups. After a golden cross, a trend-following method might seek long candidates, then use market structure and support/resistance to define a trigger, invalidation and stop. The cross describes the broad relationship; it does not by itself provide all the components of a trade.
- Golden cross: the 50-period average crosses from below to above the 200.
- Death cross: the 50-period average crosses from above to below the 200.
- Crossovers lag the prices used to calculate them; no immediate jump is guaranteed.
- Use them as potential context for setup selection, not a complete entry instruction.
Dynamic support within a trend
During an uptrend, a rising average may coincide with areas where pullbacks attract buyers. This is called dynamic support because the reference moves rather than remaining at a fixed horizontal price. H4 and daily 20- and 50-period averages are common reference choices, but the line is not an actual floor or an order book.
Suppose ETH has risen from $2,400 to $3,200 and its rising H4 EMA20 is near $3,040 during a pullback. After a defined reaction, consider an illustrative entry at $3,060, a stop at $3,000 and a prior-high target at $3,200. Risk per ETH is $60 and potential reward $140, giving 140/60≈2.33R before costs. The stop must also fit the setup’s structural invalidation and position size, rather than being placed a fixed distance under a line without justification.
Some trend-following participants watch similar averages, which can contribute to responses near them, but the average itself causes no guaranteed buying. A close below it raises a question about the local trend or setup; it does not automatically reverse the wider trend. Define what constitutes a meaningful break and keep protective stops distinct from close-based analytical rules.
- A moving average can serve as a changing reference for pullback reactions within a trend.
- A candidate trade needs a reaction, justified stop and explicit target.
- ETH entry $3,060, stop $3,000 and target $3,200 give about 2.33 reward per unit of risk.
- A close below the average can challenge the setup without proving a broad reversal.
Whipsaws in a range
A moving-average trend rule can struggle in a range. Price repeatedly crosses a flatter average and a crossover method can enter in alternating directions without a sustained move. These repeated reversals are whipsaws. Not every crossover is intrinsically “false”; the problem is that its follow-through fails the strategy’s requirements while costs accumulate.
Suppose five complete trades each incur round-trip costs of 0.3% of traded notional. If each trade uses $5,000 notional, cost is $15 per trade and $75 overall. That equals 1.5% of an unchanged $5,000 account, before directional P&L. The account percentage is not automatically 1.5% if traded notional differs from equity, especially with leverage.
Flat slopes, entangled averages and repeated crossings can warn of a range, but regime recognition is imperfect and often clearer afterwards. A trend method may stand aside; a separately tested range method may use its support and resistance boundaries. Changing tools reactively after every loss is not the same as applying a pre-defined regime filter.
- In a range, repeated crossings can produce losing trend-rule reversals.
- Five 0.3% round trips on $5,000 notional each cost $75 before directional P&L.
- Flat, tangled averages and frequent crosses suggest a range without proving it in advance.
- Consider standing aside or a separately tested range method rather than forcing a trend rule.
Adapting settings to crypto
Crypto volatility varies by instrument and regime and can be much higher than that of some traditional instruments. A daily BTC range of 2–4% is an illustrative scenario, not a permanent normal. A slower average can lag changes while a faster one reacts to more noise. Moving to a higher timeframe changes the observation horizon; switching SMA to EMA changes weighting. Neither adjustment automatically provides equal responsiveness with less noise.
One starting framework is to use H4/daily 50 and 200 averages for context and an execution-chart EMA20 to inspect pullbacks. Keep the roles separate: broad direction above, detailed trigger below. Test these choices with structure, levels, costs and risk limits. An average alone remains an incomplete setup.
The next lesson builds on the same idea: Bollinger Bands commonly place volatility bands around an SMA20. They add a dispersion measure to the central line, helping describe quieter and more volatile periods. The distinction between trend and range that matters here will also matter when interpreting touches of those bands.
- Higher timeframes and different weighting alter different aspects of the filter.
- A possible framework uses H4/daily 50/200 context and execution-chart EMA20 pullbacks.
- Do not copy settings blindly across instruments and volatility regimes.
- Combine averages with structure, levels and a tested risk process.
Key points
- SMA averages the last N selected prices and advances its window with each new bar.
- EMA uses α=2/(N+1); EMA20 has α≈0.095238 and responds through recursive weighting.
- Periods 20/50/200 describe different windows; in daily crypto, 200 bars are 200 days, not a year.
- A golden cross is 50 above 200; a death cross is the reverse. Both lag and neither supplies a complete entry.
- Moving averages may frame dynamic-support pullbacks; the ETH example gives $140 reward versus $60 risk, about 2.33R.
- Five 0.3% round trips on $5,000 notional each cost $75; account impact depends on traded notional and leverage.
- Assign higher-timeframe context and lower-timeframe triggers, test settings and never rely on the average alone.
Lesson quiz
Sign in to enroll and save progress.
