Why
A single closing price is noisy: one large order, a headline, or a thin trading session can move it. A moving average removes that noise by averaging, so the line describes what price has actually done over a stretch of time rather than on one candle. For a beginner the failure it prevents is reading a single day's close as trend information. A moving average forces the question "over what window" before anyone says a market is going up or down.
How it works
SMA and EMA in one line each
- SMA: SMA_N = (sum of the last N closes) / N — an equal-weighted average; each of the N days counts the same.
- EMA: EMA_today = price_today × k + EMA_yesterday × (1 − k), with k = 2 / (N + 1) — a weighted average that leans on recent closes and updates every bar.
Because of that weighting, an EMA turns sooner than an SMA of the same length when price changes direction. An SMA lags more but is steadier: one outlier close barely moves it, while the same outlier moves an EMA more.
The 20/50/200 convention
On a daily chart these three lengths are a rough proxy for a month, a quarter and a year of trading activity (about 21, 63 and 252 trading days respectively; 200 is the traditional rounding of the last one, not an exact year).
| Length | Trading days it covers | Rough proxy | Common use |
|---|---|---|---|
| 20 | ~1 month | short-term trend | entries, pullback support |
| 50 | ~1 quarter | medium-term trend | trend confirmation |
| 200 | ~1 year | long-term trend | bull/bear regime line |
Slope, price position and the crosses
Three read-outs, roughly in order of reliability:
- Price above or below the MA is the crudest filter — above the 200-day is a common rule of thumb for "not a bear market," nothing more.
- Slope carries more information than position alone: a flat MA with price crossing it repeatedly is a range, not a trend, even if price happens to sit above the line right now.
- Golden cross / death cross: the 50 crossing above the 200 (golden) or below it (death) is a trend-confirmation signal, not a prediction. Because both lines are already averages, a cross by definition lags the actual turn in price, sometimes by several weeks; it confirms a trend that is already underway rather than calling the top or bottom.
Dynamic support/resistance and the whipsaw failure
In a clear uptrend, price often pulls back toward a rising MA and bounces; in a clear downtrend, the same MA often caps rallies. This works less because of any physical law and more because enough participants watch the same lines and act near them, making it partly self-fulfilling. It also only works while a trend exists. In a sideways, choppy market, price crosses the MA back and forth with no follow-through, each crossing looking like a signal and each one failing. That repeated false-signal pattern is called a whipsaw, and it is the standard failure mode of any single moving-average system. The standard defense is to never use one MA alone: combine slope with position, use two or three lengths together, or pair a moving average with a separate indicator (volume, RSI) before treating a cross as actionable.
On TradingView
- Open
Indicators(the fx icon on the toolbar) and search "Moving Average" for the SMA, or "Moving Average Exponential" for the EMA; TradingView ships both as separate built-in indicators. - Add three instances, one each at length 20, 50 and 200, then open each one's settings (gear icon) and give it a distinct color under
Styleso the three lines stay visually separable on a busy chart. - Once the three are set up the way you want, save the combination as an indicator template (the star/template control in the indicator toolbar) so it loads in one click on any other chart instead of being rebuilt each time.
- TradingView also ships a
Ribbonindicator that plots several MAs of increasing length as a stacked band in one tool — it exists and is worth knowing the name of, but skip it for now; three individually configurable MAs are easier to reason about than one bundled ribbon while you are still learning what each length means.
Where it lands in Jayverse
- Number: trend state as a labeled field, not an adjective. When a reading describes a market as "trending" or "ranging," back it with the same three read-outs here (slope, position, cross state) at stated lengths, so the label is reproducible rather than a feel.
- Verex: resolution-adjacent price description, never a resolution input. A moving average is a smoothing tool for narrative and monitoring dashboards, not a valid resolution source; keep it out of any field that settles a market, per the existing reference-rate rule.
- Auditor: state the lengths and MA type in the methodology. "20/50 golden cross" is not auditable until it also says SMA or EMA and the exact window; write that down once so anyone re-deriving a chart's trend call gets the same answer.
- Theory: the EMA weight k = 2/(N+1) is the same exponential-decay shape as other smoothing formulas. Worth keeping next to log-returns and volatility items as the same family of "weight recent data more" math.
Verified and unverified
Verified: the SMA and EMA formulas, the golden/death cross definitions, and the general lag-and-whipsaw behavior are standard technical-analysis material found in any charting reference and in TradingView's own documentation of these indicators. Unverified, or rule of thumb: the exact "month/quarter/year" trading-day mapping is an approximation (calendar months and quarters do not have a fixed number of trading days), and claims about how often a golden cross precedes further gains are empirical and debated rather than settled law.
Sources: TradingView Help Center (Moving Average, Moving Average Exponential indicator docs); Murphy, Technical Analysis of the Financial Markets; Dow theory.
Key expressions
| Expression | 뜻 · 쓰이는 자리 |
|---|---|
| moving average (MA) | 이동평균(최근 N개 가격의 평균선) · 이 항목 전체의 주제어. "A moving average is a line built from a security's own recent closing prices" |
| SMA (simple moving average) | 단순이동평균(동일 가중 평균) · EMA와 대비되는 기본형. "the simple moving average (SMA), an equal-weighted mean" |
| EMA (exponential moving average) | 지수이동평균(최근 가격에 더 가중) · SMA보다 빠르게 반응. "the exponential moving average (EMA)... reacts faster" |
| equal-weighted | 동일 가중의 · SMA의 계산 방식을 설명. "an equal-weighted mean of the last N closes" |
| weighted average | 가중 평균 · EMA의 계산 방식. "a weighted average that leans on recent closes" |
| trading days | 거래일 · 달력일이 아니라 실제 장이 열린 날 수. "about 21, 63 and 252 trading days respectively" |
| rough proxy | 대략적인 대용치 · 정확한 값 대신 쓰는 근사. "a rough proxy for a month, a quarter and a year" |
| slope | 기울기 · 이동평균이 오르는지 내리는지. "Slope carries more information than position alone" |
| golden cross | 골든크로스(단기선이 장기선을 상향 돌파) · 추세 확인 신호. "the 50 crossing above the 200 (golden)" |
| death cross | 데드크로스(단기선이 장기선을 하향 돌파) · 골든크로스의 반대. "or below it (death)" |
| lag | 지연(늦게 반응함) · 이동평균과 크로스 신호의 공통 한계. "a cross by definition lags the actual turn in price" |
| dynamic support/resistance | 동적 지지/저항(고정선이 아니라 움직이는 이동평균이 지지·저항 역할) · 상승·하락 추세에서의 이동평균 활용. "price often pulls back toward a rising MA and bounces" |
| whipsaw | 휩소(레인지장에서 반복되는 거짓 신호로 인한 손실) · 이동평균 단독 사용의 표준 실패 양상. "That repeated false-signal pattern is called a whipsaw" |
| choppy market | 등락이 잦은/횡보하는 시장 · 추세 없는 레인지 구간. "In a sideways, choppy market" |
| rule of thumb | 경험칙(엄밀한 법칙이 아닌 대략적 지침) · 200일선 위/아래 판단 같은 데 사용. "a common rule of thumb for 'not a bear market'" |
| trend confirmation | 추세 확인 · 크로스 신호의 역할을 예측과 구분. "a trend-confirmation signal, not a prediction" |
| indicator template | 인디케이터 템플릿(지표 설정 조합을 저장해 재사용) · TradingView 저장 기능. "save the combination as an indicator template" |