Files
OpenBB/website/content/terminal/reference/etf/ta/ema.md
DidierRLopes 4ad995fdd0 Docs/terminalpro and improvement (#5622)
* add first iteration of content for Terminal Pro

* Update index.md

* Update dashboards.md

* Update folders.md

* Update grouping.md

* Update report.md

* Update templates.md

* Update quick-start.md

* Update index.md

* Update index.md

* Update home.md

* Update news.md

* Update index.md

* Update index.md

* Update index.md

* Update data-provider.md

* Update chat-with-widget.md

* Update data-manipulation.md

* Update forecasting.md

* fix: images self closing tags

* fix: only pro visitors can see pro

* inter font

* improve SEO content and restructuring

* add new package for toggle on tutorials

* move folder around

* improve main page of each prod

* small updates and improvements

* fix logo above

* small improvement in headtitle for portfolio funcs

* fix typos from OpenAI's GPT-4

* fix _category_ json

* remove generic SEO words

* add script that generates SEO for documentation

* add missing file

* remove sdk warning message

* fix links for andrew

---------

Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-10-30 21:01:29 +00:00

1.6 KiB
Vendored

title, description, keywords
title description keywords
ema The page provides details on 'Exponential Moving Average' (EMA) under technical analysis. It explains how EMA outperforms the Simple Moving Average by giving more weight to recent data for increased responsiveness. The page includes a guide for using the 'ema' function and its parameters - 'n_length' and 'n_offset'.
Exponential Moving Average
technical analysis
Simple Moving Average
ema
Moving Average calculation
n_length
n_offset
data responsiveness

import HeadTitle from '@site/src/components/General/HeadTitle.tsx';

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

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

ema