Skip to content

SMA Overview

Simple Moving Average (SMA) is a trend-following overlay indicator that smooths price data to identify the underlying trend direction — filtering out short-term noise to reveal whether price is generally moving up or down.


  1. Apply Simple arithmetic average: Gives equal weight to all bars in the period, providing the smoothest representation of average price
  2. Plot on Chart: SMA line overlays directly on the price chart
  3. Compare to Price: When price is above SMA, trend is bullish; below = bearish
  4. Detect Crosses: Price crossing above/below SMA signals potential trend changes

Key Characteristics:

  • Trend Filter = SMA smooths price to show direction, removing noise
  • Dynamic Support/Resistance = SMA line acts as a moving support (uptrend) or resistance (downtrend) level
  • Gives equal weight to all bars in the period
  • Period Sensitivity = Shorter periods react faster but produce more whipsaws; longer periods are smoother but lag more

SMA Behavior:

  • SMA line smooths price action to show the dominant trend
  • When price crosses above SMA, momentum shifts bullish
  • When price crosses below SMA, momentum shifts bearish
  • The slope of SMA indicates trend strength — steeper = stronger
  • SMA acts as dynamic support in uptrends and resistance in downtrends

These are the signal names you select when configuring SMA in the algorithm builder or via the MCP agent:

SignalTriggers WhenTypical Use
price_above_smaPrice is above the SMA lineBullish — price trending above SMA
price_below_smaPrice is below the SMA lineBearish — price trending below SMA

Display: Overlay (on price chart)

Category: Trend

Threshold range: Price-based (compared to actual price values)


What Simple Moving Average Does Well:

  • Trend Identification: SMA clearly shows whether price is in an uptrend or downtrend
  • Dynamic Support/Resistance: Acts as a moving level that price tends to respect
  • Noise Filtering: Smooths out random price fluctuations to reveal the true trend
  • Universal Application: Works across all assets and timeframes with period adjustments