{"id":3691,"date":"2024-10-23T13:24:39","date_gmt":"2024-10-23T13:24:39","guid":{"rendered":"https:\/\/apex-aiexperts.com\/?p=3691"},"modified":"2024-10-23T13:24:39","modified_gmt":"2024-10-23T13:24:39","slug":"exponential-moving-average-ema-explained","status":"publish","type":"post","link":"https:\/\/apex-aiexperts.com\/es\/exponential-moving-average-ema-explained\/","title":{"rendered":"Media m\u00f3vil exponencial (EMA) explicada"},"content":{"rendered":"<p class=\"wp-block-paragraph\">As we said in the previous lesson, simple moving averages can be distorted by spikes. We\u2019ll start with an example.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s say we plot a 5-period SMA on the daily chart of EUR\/USD.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/bpcdn.co\/images\/2016\/05\/grade4-sma-spike22.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2016\/05\/grade4-sma-spike2.png\" alt=\"5-SMA on EUR\/USD\" title=\"5-SMA on EUR\/USD\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The closing prices for the last 5 days are as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 1: 1.3172<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 2: 1.3231<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 3: 1.3164<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 4: 1.3186<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 5: 1.3293<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The simple moving average would be calculated as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(1.3172 + 1.3231 + 1.3164 + 1.3186 + 1.3293) \/ 5 = 1.3209<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Simple enough, right?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Well, what if there was a news report on Day 2 that causes the euro to drop across the board.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This causes EUR\/USD to plunge and close at 1.3000. Let\u2019s see what effect this would have on the 5-period&nbsp;<a href=\"https:\/\/www.babypips.com\/forexpedia\/simple-moving-average\" target=\"_blank\" rel=\"noreferrer noopener\">SMA<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 1: 1.3172<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 2:&nbsp;<strong>1.3000<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 3: 1.3164<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 4: 1.3186<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Day 5: 1.3293<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The simple moving average would be calculated as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(1.3172 + <strong>1.3000<\/strong> + 1.3164 + 1.3186 + 1.3293) \/ 5 = <strong>1.3163<\/strong><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The result of the simple moving average would be a lot lower and it would give you the notion that the price was actually going down when in reality, Day 2 was just a one-time event caused by the poor results of an economic report.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The point we\u2019re trying to make is that sometimes the simple moving average might be&nbsp;<em>too<\/em>&nbsp;simple.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If only there was a way that you could filter out these spikes so that you wouldn\u2019t get the wrong idea.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hmm\u2026 Wait a minute\u2026 Yep, there is a way!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s called the&nbsp;<strong>Exponential Moving Average<\/strong>!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Exponential moving averages (EMA) give more weight to the most recent periods.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In our example above, the EMA would put more weight on the prices of the most recent days, which would be Days 3, 4, and 5.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This would mean that the spike on Day 2 would be of lesser value and wouldn\u2019t have as big an effect on the moving average as it would if we had calculated for a simple moving average.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you think about it, this makes a lot of sense because what this does is it puts more emphasis on what traders are doing recently.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Exponential Moving Average (EMA) vs. Simple Moving Average (SMA)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s take a look at the 4-hour chart of USD\/JPY to highlight how a&nbsp;simple moving average (SMA) and exponential moving average (EMA) would look side by side on a chart.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><a href=\"https:\/\/bpcdn.co\/images\/2016\/05\/grade4-exponential-moving-averages2.png\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" src=\"https:\/\/bpcdn.co\/images\/2016\/05\/grade4-exponential-moving-averages.png\" alt=\"Exponential Moving Average\" title=\"Exponential Moving Average\"\/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Notice how the red line (the 30 EMA) seems to be a closer price than the blue line (the 30 SMA).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This means that it more accurately represents recent price action. You can probably guess why this happens.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It\u2019s because the exponential moving average&nbsp;places more emphasis on what has been happening lately.<\/p>","protected":false},"excerpt":{"rendered":"<p>As we said in the previous lesson, simple moving averages can be distorted by spikes. We\u2019ll start with an example. Let\u2019s say we plot a 5-period SMA on the daily chart of EUR\/USD. The closing prices for the last 5 days are as follows: Day 1: 1.3172 Day 2: 1.3231 Day 3: 1.3164 Day 4: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52,56],"tags":[],"class_list":["post-3691","post","type-post","status-publish","format-standard","hentry","category-elementary","category-moving-averages"],"_links":{"self":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/3691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/comments?post=3691"}],"version-history":[{"count":1,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/3691\/revisions"}],"predecessor-version":[{"id":3692,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/posts\/3691\/revisions\/3692"}],"wp:attachment":[{"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/media?parent=3691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/categories?post=3691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apex-aiexperts.com\/es\/wp-json\/wp\/v2\/tags?post=3691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}