Files
OpenBB/website/content/terminal/reference/forex/technical analysis/ema.md
jose-donato e1962252ad Docs fixes (#3530)
* fix(docs): added margin between sections

* fix: images

* readd old content for examples/images

* fix: codespell

* fix: codespell

* fix: ga

* fix: remove temp lorem ipsum

* fix: docu config for edit page

Co-authored-by: teh_coderer <me@tehcoderer.com>
2022-11-22 14:56:17 -05:00

961 B
Vendored

title, description
title description
ema OpenBB Terminal Function

ema

The Exponential Moving Average is a staple of technical analysis and is used in countless technical indicators. In a Simple Moving Average, each value in the time period carries equal weight, and values outside of the time period are not included in the average. However, the Exponential Moving Average is a cumulative calculation, including all data. Past values have a diminishing contribution to the average, while more recent values have a greater contribution. This method allows the moving average to be more responsive to changes in the data.

Usage

usage: ema [-l N_LENGTH] [-o N_OFFSET]

Parameters

Name Description Default Optional Choices
n_length Window lengths. Multiple values indicated as comma separated values. 20, 50 True None
n_offset offset 0 True None