Simple Moving AverageSMA / MA
简单移动平均线
Stock TechnicalP0 CoreTrendApplies to: US stocks
Definition
Arithmetic mean of the last n closes, smoothing price and identifying trend direction.
Formula
SMA = (C₁+…+Cₙ)/n
Default parameters
{
"periods": [
5,
10,
20,
60,
120,
250
]
}How to read it
Price above the MA is bullish, below is bearish; commonly 5/10/20/60/120/250-day; short MA crossing above long MA = golden cross (buy), crossing below = death cross (sell).
InputscloseOutputoverlayLibrarySMA
Data source: C (also HL2/HLC3). Public knowledge, not investment advice.
See Simple Moving Average computed live on popular US stocks →
Related indicators
Reference metadata — public, well-known indicator definitions. Not investment advice.