EMA explained: Trading with exponential moving averages

Article By: ,  Financial Writer

What does EMA stand for?

EMA stands for exponential moving average. It’s a simple indicator that charts the price of a security over time. EMAs are often calculated in 10, 50 and 200-day moving averages. These modified moving averages can be used for any asset including stocks, forex and indices to track price trends and confirm entry and exit points for your trading strategy.

All moving averages are lagging indicators, so the EMA should not be used to produce trading signals alone. Entry and exit points revealed by moving averages are often delayed. So many traders use EMAs for confirming signals identified by other, faster indicators.

EMA vs SMA

The exponential moving average is a variation on the simple moving average. In calculating its average, the EMA gives greater weight to recent prices, while an SMA gives equal weight to all price data.

Because of the difference in weight, the EMA tends to follow the real price level more closely than the SMA does. It also responds faster to changes in value. While this allows the EMA to identify trends earlier than the SMA does, it can also be more likely to experience false signals.

How to calculate an EMA

To calculate an EMA, you first need the closing price for each period you intend to include in the average. So, a 20-day EMA will require the closing price of that asset for the past 20 days. Then, you calculate the SMA for those 20 days. To do this, add all 20 closing prices and divide by 20.

In order to change the SMA into an EMA, you introduce a multiplier which determines the weight given to the most recent data point. The multiplier for a 20-period EMA = 2 / (20 + 1). Now, on the 21st day, you can calculate the EMA with this formula:

EMA = (closing price – previous EMA) x multiplier + previous EMA

Multiplier = 2 / (n +1), where n = the number of periods calculated.

EMA calculation example

Here is an example of calculating a 20-day EMA where the previous day’s 20-day SMA is 50 and the current closing price is 52.

The multiplier is calculated as 2 / (20 + 1) = 0.0952

The EMA = (52 – 50) x 0.0952 + 50 = 50.19

So, the next day’s EMA = 50.19

How is EMA used in trading?

The EMA is used in trading to identify buy and sell signals as well as ongoing trends. These signals appear in crossovers and divergences from the price action or other moving averages.  Keep reading to learn different ways exponential moving averages can be used in trading.

It’s important to note again that moving averages are lagging indicators, so they are best used to confirm other signals. You should not execute trades based solely on lagging indicators. Entering a trade based on lagging indicators may cause you to miss the window of profitability and lose money.

Identifying trends

You can use the EMA to identify trends by simply watching the direction of the indicator. A rising EMA signals a long trend, and a falling EMA signals a downtrend.

Moving averages are best used to confirm trends signalled by leading indicators like the RSI and stochastic oscillator. If a trend identified by those indicators is also confirmed with your EMA, you have a stronger signal. If the trend is disproved by your EMA, you can either avoid the false signal or close your already opened trade with minimal losses.

While moving averages can be calculated with any number of points, the 12 and 26-day EMAs are most common for finding short-term trends. These EMAs are used in other indicators like the moving average convergence divergence (MACD) and the percentage price oscillator (PPO). Longer EMAs utilizing 50 and 200-day timeframes are best geared towards finding longer-term trends. For example, when a market’s price crosses its 200-day EMA, it is believed to signify that a reversal has occurred.

Identifying support and resistance

When price is trending in one direction, the EMA functions as a level of support or resistance you can use to open trades. Because moving averages are lagging indicators, the price of a bull market will sit above the EMA (and bear market price action will rest just below the EMA).

When the price is rising, you can open a long position when the price dips near or at the indicator, functioning as the level of support. For a downtrend EMA, you might consider opening a short position when the price rises to meet the EMA as a level of resistance.

Identifying crossovers and reversals

When the EMA fully crosses the average price action, a reversal is indicated. If the EMA crosses above the price in a downtrend, a bullish reversal has occurred. If the price crosses below the EMA in an uptrend, a bearish reversal has occurred. In these cases, the price is breaking the level of support and resistance represented by the EMA.

You can also use multiple moving averages to identify price reversals. By displaying a short and long moving average or an exponential and simple moving average, the two are expected to indicate changes in price direction when they cross. This is because shorter MAs and EMAs react faster to price swings than long and simple MAs. These types of reversals are named the golden cross and the death cross.

Start trading with the EMA

Follow these steps to start using the exponential moving average with City Index today:

  1. Open your City Index account, or log in if you already have one
  2. Add some funds
  3. Select ‘EMA’ on the chart of your chosen market
  4. Open your buy or sell position

Alternatively, you can practise trading with a cost-free City Index demo account. You’ll get full access to our platform, preloaded with virtual funds. So, you can test out your trading strategy with zero risk.

This report is intended for general circulation only. It should not be construed as a recommendation, or an offer (or solicitation of an offer) to buy or sell any financial products. The information provided does not take into account your specific investment objectives, financial situation or particular needs. Before you act on any recommendation that may be contained in this report, independent advice ought to be sought from a financial adviser regarding the suitability of the investment product, taking into account your specific investment objectives, financial situation or particular needs.

StoneX Financial Pte. Ltd., may distribute reports produced by its respective foreign entities or affiliates within the StoneX group of companies or third parties pursuant to an arrangement under Regulation 32C of the Financial Advisers Regulations. Where the report is distributed to a person in Singapore who is not an accredited investor, expert investor or an institutional investor (as defined in the Securities Futures Act), StoneX Financial Pte. Ltd. accepts legal responsibility to such persons for the contents of the report only to the extent required by law. Singapore recipients should contact StoneX Financial Pte. Ltd. at 6826 9988 for matters arising from, or in connection with the report.

In the case of all other recipients of this report, to the extent permitted by applicable laws and regulations neither StoneX Financial Pte. Ltd. nor its associated companies will be responsible or liable for any loss or damage incurred arising out of, or in connection with, any use of the information contained in this report and all such liability is hereby expressly disclaimed. No representation or warranty is made, express or implied, that the content of this report is complete or accurate.

StoneX Financial Pte. Ltd. is not under any obligation to update this report.

Trading CFDs and FX on margin carries a high level of risk that may not be suitable for some investors. Consider your investment objectives, level of experience, financial resources, risk appetite and other relevant circumstances carefully. The possibility exists that you could lose some or all of your investments, including your initial deposits. If in doubt, please seek independent expert advice. Visit www.cityindex.com/en-sg/terms-and-policies for the complete Risk Disclosure Statement.

ALL TRADING INVOLVES RISKS. LOSSES CAN EXCEED DEPOSITS.

City Index is a trading name of StoneX Financial Pte. Ltd. (“SFP”) for the offering of dealing services in Contracts for Differences (“CFD”). SFP holds a Capital Markets Services Licence issued by the Monetary Authority of Singapore for Dealing in Exchange-Traded Derivatives Contracts, Over-the-Counter Derivatives Contracts, and Spot Foreign Exchange Contracts for the Purposes of Leveraged Foreign Exchange Trading. SFP is also both Derivatives Trading and Clearing member of the Singapore Exchange (“SGX”). SFP is a wholly-owned subsidiary of StoneX Group Inc.

The information provided herein is intended for general circulation. It does not take into account the specific investment objectives, financial situation or particular needs of any particular person. You should take into account your specific investment objectives, financial situation or particular needs before making a commitment to invest, including seeking advice from an independent financial adviser regarding the suitability of the investment, under a separate engagement, as you deem fit. No representation or warranty is given as to the accuracy or completeness of this information. Consequently, any person acting on it does so entirely at their own risk.

The information does not represent an offer of, or solicitation for, a transaction in any investment product. Any views and opinions expressed may be changed without an update. To understand the risks and costs involved, please visit the section captioned “Important Information” and the “Risk Disclosure Statement”.

The information herein is not directed to, or intended for distribution to or use by, any person or entity who is a citizen or resident of or located in any locality, state, country or other jurisdiction where such distribution, publication, availability or use would be contrary to law or regulation.

StoneX Financial Pte. Ltd. 1 Raffles Place, #18-61, One Raffles Place Tower 2, Singapore 048616. Tel: 6309 1000. Co. Reg. No.: 201130598R.

This advertisement has not been reviewed by the Monetary Authority of Singapore.

© City Index 2024