Skip to main content

ta#

Technical-analysis primitives (ema, rsi, atr, bb, etc.).

Functions#

  • ta.atr — Wilder's Average True Range over the last length bars ending at i.
  • ta.change — Per-bar change: values[i] - values[i-1].
  • ta.crossover — True when series a crosses ABOVE series b at bar i — i.e.
  • ta.crossunder — True when series a crosses BELOW series b at bar i — i.e.
  • ta.ema — Exponential moving average over values ending at index i.
  • ta.highest — Highest value over the trailing length bars ending at i.
  • ta.lowest — Lowest value over the trailing length bars ending at i.
  • ta.rsi — Wilder-smoothed Relative Strength Index over values ending at index i.
  • ta.sma — Simple moving average over the trailing length bars ending at index i.
  • ta.stdev — Sample standard deviation of values over the trailing length window ending at i.