Exponential Moving Average Formula (EMA) and How to Use It (2024)

Exponential Moving Average Formula (EMA) and How to Use It (1)

Trading Education Guides Technical Analysis

  • By Lucien Bechard
  • Updated May 2, 2024

8 min read

  • Reviewed by Bullish Bears
  • Fact checked by Angelica Rieder

SHARE THIS ARTICLE

The exponential moving average formula tells you the trend of a stock. Investopedia defines an exponential moving average (EMA) as a moving average similar to a simple moving average, except that more weight is given to the latest data. EMAs are great for intraday trading, swing trading, or investing.

They are also great for finding price reversals and determining whether the stock will be bullish or bearish. The slant of the EMAs shows if a stock is in an upward or downward trend. Knowing the stock trend will help determine if it is time to enter or exit a trade.

Be careful buying when the stock is indecisive because it can go either way. Always look for confirmation of the trade.

Exponential Moving Average Formula (EMA) and How to Use It (3)

Day Trading Course

In this course, you’ll learn how to read day trading charts, premarket preparation, gauge buy and sell zones, scan for penny stocks to trade, and prepare for live day trading action.

View Course

Table of Contents

  • Exponential Moving Average Formula (EMA) Introduction
    • EMA Calculation
    • Day Trading
    • Swing Trading
  • Exponential Moving Average Formula Example
    • Candlesticks
  • Exponential Moving Average Formula Limitations
    • 1. A Lagging Indicator
    • 3. Sensitivity to Outliers
    • 3. False Signals in Ranging Markets
    • 4. Optimal Parameter Selection
    • 5. Curve Fitting or Over-Optimization
    • Final Thoughts: Exponential Moving Average Formula (EMA)
  • Frequently Asked Questions

Exponential Moving Average Formula (EMA) Introduction

Exponential moving average (EMA) lines are great on the 1-minute and 5-minute chart for day trading but can also be useful when swing trading. The 9 and 20 EMA’s are a great combination to help give trading signals for entries and exits. The 13 EMA can also be used; it can be used in conjunction with the 9 and 20.

If the 9 ema is over the 20, the price is bullish. If the 20 is over the 9, the price is bearish. When the 9 and 20 are close together, and it’s difficult to differentiate them, the stock is indecisive. Pay attention to ema crossovers, which signify potential reversal setups.

These indicators are added to your chart for information on trends, support,and resistance. The EMAs are used with other types of technical analysis to give you a better picture of what a stock has the potential to do.

EMA Calculation

The Exponential Moving Average (EMA) formula calculates the EMA. If you didn’t know, the EMA is a popular technical indicator used in stock analysis and trading. Since the EMA gives more weightage to recent price data, it’s sensitive to short-term price movements.

The formula to calculate the EMA is as follows:

EMA = (Close – EMA(previous day)) * (2 / (N + 1)) + EMA(previous day),

Where:

Close: The closing price of the current period.

EMA(previous day): The EMA value of the previous day.

N: The number of periods used to calculate the EMA.

To calculate the initial EMA value, you can use a simple moving average (SMA) as a starting point. Once you have the SMA, you can start calculating the EMA using the formula above.

It’s important to note that the EMA is a dynamic indicator that requires updating for each new period. The EMA recalculates as new data comes in to reflect the latest prices.

It’s worth mentioning that many trading platforms and charting software have built-in tools to calculate the EMA. So, there’s no need to panic; you don’t have to do the calculations manually.

Exponential Moving Average Formula (EMA) and How to Use It (4)

This is an example of what exponential moving average lines look like in the ThinkorSwim platform. You’ll also see that I have simple moving average lines and vwap. This chart has the 9 ema, 20 ema, 50 sma, and 200 sma.

Day Trading

The exponential moving average formula is one of the best indicators for day trading. When day trading and seeing the price moving quickly, watching how it interacts with the 9 EMA can help gauge when to get in and out with a profit.

When in our trade room, members often hear someone saying, “to watch the 9 EMA.” Ideally, enter a trade when the price is as close to the 9 EMA as possible because the risk is low the closer you buy to the 9 EMA. Then you ride it up. If it breaks below the 9 EMA, you may want to consider an exit strategy. This is where the saying “ride the 9” comes from.

The 5 minutes can help with finding an exit as well. If the price is going between the 9 and 20 on the 1 minute but staying above the nine on the 5 minute, it’s still in a bullish trend. We always day trade with 1-minute and 5-minute charts open.VWAP is very complimentary to EMAs and a useful indicator.

Swing Trading

The exponential moving average formula is great for day trading but can also be useful when swing trading. Swing trading usually means holding a stock for 3-5 days. The EMA trading strategy on the daily chart can help determine whether to take the trade for that period.

The EMA crossovers play an important role in this, along with the RSI and MACD. If the EMAs are far away from each other daily and the RSI shows a stock is oversold, then being extra vigilant about what the EMAs are doing can be the best choice.

If the EMAs are moving in a direction that shows a crossover is coming, waiting to get in might be smart. Sometimes, they pinch but do not cross and then go back up. This could result in a loss if shorting or trading Puts.

Using the same EMA strategy as day trading to get in and out of a stock is also good for swing trading. Get into the trade when the price is as close to the 9 EMA. If the trading action is choppy, wait till the setup provides a good signal to enter.

Exponential Moving Average Formula Example

Exponential Moving Average Formula (EMA) and How to Use It (5)

The chart above shows a simple bullish and bearish signal reversal using the 9 and 20 emas. The bullish crossover created a rising wedge pattern. It started as a bull flag breakout. The bearish crossover created a falling wedge pattern.

Candlesticks

EMAs will push the price up or down; watching them will tell whether it is time to enter or not and should wait. If the candlesticks are above the 9 and pushing up, try to stay in and follow your game plan. Sometimes, the best trade is no trade at all. Always wait for a setup that confirms the game plan.

If the candlesticks are breaking below the 9, watch what the 20ema decides to do. If it begins to cross and a candle sticks below it, it might be a sign to exit or short the stock and ride the pushdown.

Exponential Moving Average Formula Limitations

As you know, the Exponential Moving Average (EMA) formula is widely used in technical analysis for stock trading. However, it has limitations. Let’s examine a few of them below.

1. A Lagging Indicator

The EMA formula places more weight on recent data but still incorporates older data. Consequently, the EMA may not react quickly to sudden market changes or price reversals. Because it lags, it can disadvantage scalpers looking to profit from short-term price movements.

3. Sensitivity to Outliers

The EMA formula is sensitive to extreme price movements or outliers, which can significantly impact its calculation. This sensitivity can result in false signals or fluctuations in the EMA line, making it challenging to accurately interpret market trends

3. False Signals in Ranging Markets

EMA crossovers often identify trends or generate buy/sell signals. However, during periods of price consolidation or ranging markets, the EMA can produce frequent and contradictory crossovers, leading to unreliable signals.

4. Optimal Parameter Selection

Selecting the appropriate period (N) for the EMA calculation can be subjective. Different periods can produce varying results, and an unsuitable choice could lead to inaccurate signals or poor entries and exits.

5. Curve Fitting or Over-Optimization

Traders may be tempted to adjust the EMA parameters to perfectly fit historical data. Be aware that this approach, called curve fitting or over-optimization, can lead to unreliable results when applied to future market conditions.

It’s important to note that while the EMA formula has its limitations, it is still widely used in technical analysis. Traders often combine the EMA with other indicators and methods to improve their trading strategies and mitigate some of these potential issues.

To learn more about incorporating the EMA into your trading strategy, visit our website, where you can finda list of our courses!

Final Thoughts: Exponential Moving Average Formula (EMA)

The exponential moving average formula is a great technical indicator. Trading can be emotional, especially when seeing the profit moving up and down. These tools and following technical analysis give the trader a better chance of success.

Technical analysis keeps things in perspective, and the EMAs are a great way to see the trends quickly and make trading decisions. Trading without EMA’s or technical analysis is not trading; it is gambling.

Frequently Asked Questions

What Is the Formula for the Moving Average?

The formula for the moving average line depends on the specific period. It's calculated by adding up all the data points during the period and dividing it by the sum of the time periods.

What Is the Exponential Moving Average Period?

The exponential moving average period (EMA) gives more weight to the recent price changes in a stock. The 9 EMA, 20 EMA, or the 13 EMA are the most popular EMA lines.

How Do You Use the EMA Effectively?

The EMA is used most effectively when the price rides above when bullish and below when it's bearish. Crossovers show potential short-term reversals.

What Is the 5 EMA Strategy?

The 5 EMA trading is a way to catch big short-term moves in a stock. It's used to calculate the 5-day exponential moving average line. It's a short term line indicator.

What Is the Difference Between Moving Average and Exponential Moving Average?

The exponential moving average gives more weight to recent prices in a stock. The simple moving average assigns an equal weight to pricing.

Related Articles

Harmonic Patterns

May 10, 2024

Have you heard of Harmonic patterns? Technical analysis can be a polarizing subject in the world of investing. Some traders swear by it, while others

Read More »

Super Bowl Stock Indicator

February 2, 2024

Have you heard of the Super Bowl stock indicator? Millions of Americans and global citizens tune in around the globe every year to watch the

Read More »

Best Market Trend Technical Indicators

May 3, 2022

Technical analysts often say the trend is your friend. In other words, a stock going up in price will likely keep going up. Alternatively, one

Read More »

Fundamental Analysis vs Technical Analysis Differences

March 8, 2022

What are the differences between fundamental analysis vs technical analysis? They’re two schools of thought that investors use to trade in the stock market. Is

Read More »

Fibonacci Retracement Definition in Trading

January 17, 2022

Do you know the Fibonacci Retracement definition? We need to know where to expect support and resistance levels with technical trading. Fibonacci retracements are horizontal

Read More »

Technical Analysis

Harmonic Patterns

Read More »

Mike Sakuraba May 10, 2024

Technical Analysis

Super Bowl Stock Indicator

Read More »

Loran Shkolnik April 14, 2024

Technical Analysis

Best Market Trend Technical Indicators

Read More »

Bullish Bears April 15, 2024

Technical Analysis

Fundamental Analysis vs Technical Analysis Differences

Read More »

Loran Shkolnik April 4, 2024

Exponential Moving Average Formula (EMA) and How to Use It (16)

Free Trading Courses

Enroll Now

Get Your Free Trading Courses

  • We want to teach you
  • Learn day trading, swing trading, options, futures, and price action
  • Rated Best Value Courses by Investopedia

STOCK TRADING SERVICE

Our chat rooms willprovide you with an opportunity to learn how to trade stocks, options, and futures. You’ll see how other members are doing it, share charts, share ideas and gain knowledge.

Our traders support each other with knowledge and feedback. People come here to learn, hang out, practice, trade stocks, and more. Our trade rooms are a great place to get live group mentoring and training.

TRADE ALERTS “SIGNALS”

The Bullish Bears trade alerts include both day trade and swing trade alert signals. These are stocks that we post daily in our Discord for our community members.

These alert signals go along with our stock watch lists. Our watch lists and alert signals are great for your trading education and learning experience.

We want you to see what we see and begin to spot trade setups yourself.

REAL-TIME STOCK ALERTS SERVICE

We also offer real-time stock alerts for those that want to follow our options trades. You have the option to trade stocks instead of going the options trading route if you wish.

Our stock alerts are simple to follow and easy to implement. We post entries and exits.

Also, we provide you with free options courses that teach you how to implement our trades as well.

STOCK TRAINING DOESN’T NEED TO BE HARD

Stock training doesn’t need to be hard. But it sure feels hard when you don’t know where to turn for legitimate knowledge. There are tons of places to learn, but what makes us different?

Well, for starters, we’re just real everyday people who like trade stocks. We’re not gurus portraying a fancy lifestyle of cars and jets and beaches. Can you obtain those things with what we teach you? Sure you can. Is that what motivates us when teaching you how to trade?

Nope. What we really care about is helping you, and seeing you succeed as a trader. We want the everyday person to get the kind of training in the stock market we would have wanted when we started out.

WHY WE’RE DIFFERENT

What else makes us different? When it comes to the stock market, we’ve won, we’ve lost, we’ve lived, and learned. We’ve been through the ups and downs in the market and figured out what really matters. The Charts…Candlesticks = PRICE ACTION! We’ve created a site that passes all this knowledge on to you.

We don’t charge you an arm and a leg for the stock training we give you. We charge a modest amount that goes towards running our day-to-day operations and paying for our invaluable team moderators that are passionate about teaching YOU!

That’s about it. We could charge more, but we have a pay it forward, give back mentality. It’s not about the money. The best and most important thing for us is YOU. We want to feel good about what we do, and the results and reviews speak for themselves.

Those emails we get, the feedback, the success we see. That is what our educational trading community is all about. We hold no secrets back. Our trading edge is your trading edge.

STOCK TRAINING DONE RIGHT

We don’t care what your motivation is to get training in the stock market. If it’s money and wealth for material things, money to travel and build memories, or paying for your child’s education, it’s all good. We know that you’ll walk away from a stronger, more confident, and street-wise trader.

In our stock trading community, you’re going to get it all. Futures, options trading, and stocks. Not just penny stocks either. Small, mid, and large caps. Each day we have several live streamers showing you the ropes, and talking the community though the action.

There’s no catch, no smoke or mirrors. What you see is what you get. If you’re looking to change your life, or someone else’s, we’re here to help you reach that goal. Get started learning day trading, swing trading, options, or futures trading today!

Click Hereto start your 7-day free trial.

TRADING STOCKS IN THE BULLISH BEARS COMMUNITY

Yes, we work hard every day to teach day trading, swing trading, options futures, scalping, and all that fun trading stuff. But we also like to teach you what’s beneath the Foundation of the stock market.

Tell you the TRUTH about how the market works. The importance of controlling your emotions and having a proper mindset when trading. We’re really passionate about teaching you this stuff!

Money isn’t our #1 priority in life. YOU are. Our members come first. Making sure you get comfortable with trading is our priority.

We have members that come from all walks of life and from all over the world. We love the diversity of people, just like we like diversity in trading styles. It creates an environment much like a university or college.

TRADING ROOMS AND LIVE STOCK TRAINING

Each day our team does live streaming where we focus on real-time group mentoring, coaching, and stock training. We teach day trading stocks, options or futures, as well as swing trading. Our live streams are a great way to learn in a real-world environment, without the pressure and noise of trying to do it all yourself or listening to “Talking Heads” on social media or tv.

We will help to challenge your ideas, skills, and perceptions of the stock market. You will learn and grow as a trader. Every day people join our community and we welcome them with open arms. We are much more than just a place to learn how to trade stocks.

Feel free to ask questions of other members of our trading community. The Bullish Bears are a very helpful crew. We realize that everyone was once a new trader and needs help along the way on their trading journey and that’s what we’re here for. To give you a hand up along your trading journey.

Click Hereto try our trading community free for 7 days.

FREE ONLINE TRADING COURSES

If you’ve looked for trading education elsewhere then you’ll notice that it can be very costly.

We are opposed to charging ridiculous amounts to access experience and quality information.

That being said, our website is a great resource for traders or investors of all levels to learn about day trading stocks, futures, and options. Swing trading too!

On our site, you will find thousands of dollars worth of free online trading courses, tutorials, and reviews.

We put all of the tools available to traders to the test and give you first-hand experience in stock trading you won’t find elsewhere.

Our content is packed with the essential knowledge that’s needed to help you to become a successful trader.

It’s important to treat day trading stocks, options, futures, and swing trading like you would with getting a professional degree, a new trade, or starting any new career.

Invest the proper time into your Trading Education and don’t try to run before you learn to crawl. Trading stocks is not a get-rich-quick scheme. It’s not gambling either, though there are people who treat it this way. Don’t be that person!

STOCK TRADING COURSES FOR BEGINNERS

The Bullish Bears team focuses on keeping things as simple as possible in our online trading courses and chat rooms. We provide our members with courses of all different trading levels and topics.

If you’re a beginner, intermediate level, or looking for expert trading knowledge…we’ve got you covered.

We have a basic stock trading course, swing trading course, 2 day trading courses, 2 options courses, 2 candlesticks courses, and broker courses to help you get started. Free.

Just choose the course level that you’re most interested in and get started on the right path now. Become a leader, not a follower. When you’re ready you can join our chat rooms and access our Next Level training library. No rush. We’re here to help.

Click Hereto take our free courses.

Exponential Moving Average Formula (EMA) and How to Use It (2024)

FAQs

Exponential Moving Average Formula (EMA) and How to Use It? ›

EMA = Closing price * multiplier + EMA (previous day) * (1-multiplier). The multiplier is calculated using the formula 2 / (number of observations +1). The formula for calculating EMA requires one more observation as compared to the formula for calculating SMA, which is a simple arithmetic average.

How is the exponential moving average EMA formula calculated? ›

For instance, in the case of a 20-day moving average, the multiplier is computed as [2/ (20+1)] = 0.0952. Computation of the Current EMA: Ultimately, the current EMA is calculated using the subsequent formula: EMA = (Closing price x multiplier) + [EMA (from the previous day) x (1 - multiplier)]

How do you use EMA 20 and EMA 50? ›

If the 20-EMA is above the 50-EMA, the trend is bullish. If the 20-EMA is below the 50-EMA, the trend is bearish. For negative 20/50-EMA crossovers in the intermediate-term, the 20/50/200-EMAs can be used together to determine if a bearish crossover is a sell (sell/short) or neutral (hedge or cash) trend change.

What EMA should I use on my daily chart? ›

The 8- and 20-day EMA tend to be the most popular time frames for day traders while the 50 and 200-day EMA are better suited for long term investors. Sometimes markets will flat-line, making moving averages hard to use, which is why trending markets will bring out their true benefits.

What should I set my EMA to? ›

Some typical EMA indicator settings are 10 and 25 for faster, more responsive curves; or 100 and 200 periods for smoother, slow-moving curves. For those who want an EMA indicator somewhere in the middle, a period of 50 might be more appropriate.

What is the 5 8 13 21 EMA strategy? ›

When the shorter EMAs (5 and 8) cross above the longer EMAs (13 and 21), it generates a buy signal. Conversely, when the shorter EMAs cross below the longer EMAs, it generates a sell signal. Confirming Trends: Traders often use the alignment of EMAs to confirm the strength of a trend.

What is exponential moving average for beginners? ›

The exponential moving average (EMA meaning) is a technical indicator that determines the direction in which the price of a security is moving based on past prices. Therefore, EMAs are lag indicators that don't predict future prices but showcase the trend that the stock price is following.

How does the EMA work? ›

The Exponential Moving Average (EMA) is a technical indicator used in trading practices that shows how the price of an asset or security changes over a certain period of time. The EMA is different from a simple moving average in that it places more weight on recent data points (i.e., recent prices).

What is the 9 EMA strategy? ›

The 9 EMA is an exponential moving average that calculates explicitly the average of the last nine closing prices, providing short-term continuation and reversal trading signals. The primary method to use the 9 EMA is to look for a crossover with another moving average, and technical analysis indicators.

What is the best EMA combination? ›

The 5-8-13 Exponential Moving Average (EMA) combination is a favored tool among day traders, providing a responsive and precise insight into fast moving markets. By applying this EMA trio effectively along with other indicators, you can significantly refine your entry and exit points.

What is the 5 and 20 EMA strategy? ›

Entry Signals: When the 5-day EMA crosses above the 20-day EMA, it generates a bullish signal, indicating a potential buying opportunity. Conversely, when the 5-day EMA crosses below the 20-day EMA, it produces a bearish signal, suggesting a potential selling opportunity.

What is the most commonly used EMA indicator? ›

The EMA gives more weight to the most recent prices, thereby aligning the average closer to current prices. Short-term traders typically rely on the 12- or 26-day EMA, while the ever-popular 50-day and 200-day EMA is used by long-term investors.

How do you use EMA in a chart? ›

Usually, if the EMA line is above the price of the asset, it is likely to fall next. But, if the price level is above the EMA line, it is an indicator that the value of an asset will continue to increase. Hence, traders are able to identify the buy and sell signals with the EMA working as a chart indicator.

What is the most accurate moving average strategy? ›

The best way to trade moving average is to use the crossover strategy, where a shorter-period moving average crossing above a longer-period moving average generates a bullish signal, and vice versa for a bearish signal. This method helps indicate potential changes in the market trend.

What is the best moving average strategy for a 5 min chart? ›

Therefore, the exponential moving average may be considered the best moving average for a 5 min chart. A 20 period moving average will suit best.

How do you use the moving average method? ›

Examining a security's moving average in relation to its current price can help investors identify potential buy signals. For example, when a price breaks above an upwardly sloping moving average, this could mean it's a good time to buy a stock. Another buy signal could be a “support bounce”.

How do you use moving average examples? ›

Most moving averages are based on closing prices; for example, a 5-day simple moving average is the five-day sum of closing prices divided by five. As its name implies, a moving average is an average that moves. Old data is dropped as new data becomes available, causing the average to move along the time scale.

How do you use a simple moving average indicator? ›

Keep it simple

For example, you can find a stock's 20-day SMA by adding its prices over 20 days, then dividing that number by 20. SMAs can be used as potential indicators of: Support, or the level at which a stock's price has difficulty breaking below due to buyers wishing to take advantage of the lower value.

What is 5 EMA and 20 EMA? ›

Traders often employ two EMAs with different time periods to identify potential trend reversals or entry/exit signals. The 5-day EMA (shorter-term) and the 20-day EMA (longer-term) are commonly used in the 5/20 EMA crossover strategy.

References

Top Articles
Latest Posts
Article information

Author: Francesca Jacobs Ret

Last Updated:

Views: 6050

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Francesca Jacobs Ret

Birthday: 1996-12-09

Address: Apt. 141 1406 Mitch Summit, New Teganshire, UT 82655-0699

Phone: +2296092334654

Job: Technology Architect

Hobby: Snowboarding, Scouting, Foreign language learning, Dowsing, Baton twirling, Sculpting, Cabaret

Introduction: My name is Francesca Jacobs Ret, I am a innocent, super, beautiful, charming, lucky, gentle, clever person who loves writing and wants to share my knowledge and understanding with you.