CFDHero User Guide
  • Quick Start
  • Quick Start Bots
  • Updates
    • CFDHero V1, Trade Easier
  • Getting started
    • What is a CFD?
    • Paper Trading
    • Backtesting
    • Dashboard
    • Portfolio
    • Bots and Deals
    • Bots Processing Priority
    • Bots Marketplace
    • SMS Notifications
  • Bot Settings
    • Strategies
    • Trading Parameters
    • Entry / Exit Conditions
    • Advanced Bots
    • DCA Bots
    • Exit Bot
    • Price Bot
    • Grid Bot
    • Sell Bot
    • Trailing Stoploss
    • Trailing Take Profit
    • Bot's Performance Stats
    • Strategy Designer
  • Technical Indicators
    • Bollinger Band
    • EMA
    • RSI
    • Stoch RSI
    • MACD
    • Volume
    • TradingView
    • Mandatory Indicators
  • Connecting Your Brokerage
    • Supported Brokerages
    • City Index
    • Forex.com
  • FAQ
    • Terminology
    • Frequently Asked Questions
  • Housekeeping
    • Terms of Use
    • CFDHero Telegram
    • Official Communities
Powered by GitBook
On this page
  1. Technical Indicators

EMA

PreviousBollinger BandNextRSI

Last updated 2 years ago

Exponential Moving Average (EMA) is a weighted approach derived from Simple Moving Average (SMA). EMA gives more weight to more recent price data with the core concept that the more recent the data is, the higher value it should have. In contrast, SMA gives equal weight throughout the averages regardless of time relevancy. Using a longer time period for moving averages indicate long term trends, short time frame periods indicates the short term trends.

CFDHero EMA: a buy signal is generated when the short term EMA crosses above the long term EMA, a sell signal is generated when the short term EMA crosses below the long term EMA.

A rising EMA suggests an upward trend and a falling MA indicates a downtrend. EMA Crossing is a crossover signal is created when two different time period EMAs crossover in a chart. A bullish crossover happens when the short-term MA (blue) crosses above a long-term one (red), suggesting the start of an upward trend. In contrast, a bearish crossover happens when a short-term MA crosses below a long-term moving average, which indicates the beginning of a downtrend.

SMA = ( Sum (Price, n) ) / n    
EMA = ( P - EMAp ) * K + EMAp

Where:
P = Price
EMAp = the Exponential moving Average for the previous period
K = 2 / (n + 1), the smoothing constant
n = Time Period