{"id":53057,"date":"2023-06-08T13:58:12","date_gmt":"2023-06-08T13:58:12","guid":{"rendered":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/"},"modified":"2023-06-08T13:58:12","modified_gmt":"2023-06-08T13:58:12","slug":"what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals","status":"publish","type":"ufaq","link":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/","title":{"rendered":"What is the methodology used to calculate and limit the EMA intervals?"},"content":{"rendered":"<style>.ewd-ufaq-post-margin-symbol { background-color: #82c52e !important; }.ewd-ufaq-faq-title .ewd-ufaq-post-margin-symbol span { font-size: 5 !important; }div.ewd-ufaq-faq-categories, div.ewd-ufaq-faq-tags { font-family: 9 !important; }<\/style><div  class=\"ewd-ufaq-faq-list ewd-ufaq-page-type-distinct ewd-ufaq-faq-category-title-accordion\" id='ewd-ufaq-faq-list'>\n\n\t<input type='hidden' name='show_on_load' value='' id='ewd-ufaq-show-on-load' \/>\n<input type='hidden' name='include_category' value='' id='ewd-ufaq-include-category' \/>\n<input type='hidden' name='exclude_category' value='' id='ewd-ufaq-exclude-category' \/>\n<input type='hidden' name='orderby' value='date' id='ewd-ufaq-orderby' \/>\n<input type='hidden' name='order' value='asc' id='ewd-ufaq-order' \/>\n<input type='hidden' name='post_count' value='-1' id='ewd-ufaq-post-count' \/>\n<input type='hidden' name='current_url' value='\/ru\/wp-json\/wp\/v2\/ufaq\/53057' id='ewd-ufaq-current-url' \/>\n\t\n\t\n\t<div class='ewd-ufaq-faqs'>\n\n\t\t<div  class=\"ewd-ufaq-faq-div ewd-ufaq-faq-column-count-one ewd-ufaq-faq-responsive-columns- ewd-ufaq-faq-display-style-contemporary ewd-ufaq-can-be-toggled\" id='ewd-ufaq-post-53057-e3E9kdzjon' data-post_id='53057'>\n\n\t<div class='ewd-ufaq-faq-title ewd-ufaq-faq-toggle'>\n\t\n\t<a class='ewd-ufaq-post-margin'  href='#'>\n\n\t\t<div class='ewd-ufaq-post-margin-symbol ewd-ufaq-'>\n\t\t\t<span >C<\/span>\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-faq-title-text'>\n\n\t\t\t<h4>\n\t\t\t\tWhat is the methodology used to calculate and limit the EMA intervals?\t\t\t<\/h4>\n\n\t\t<\/div>\n\n\t\t<div class='ewd-ufaq-clear'><\/div>\n\n\t<\/a>\n\t\n<\/div>\n\t\n\t<div class='ewd-ufaq-faq-body ' >\n\n\t\t\n\t\t\t<div class='ewd-ufaq-faq-categories'>\n\t\n\t:\n\t\n\t\tStrategy settings\n\t\n<\/div>\n\t\t\n\t\t\t<div class='ewd-ufaq-post-margin ewd-ufaq-faq-post'>\n\t<p>Calculation methods and limitations:<br \/> Because it is impossible to keep all possible combinations in memory, the bot calculates the prices as follows: <br \/> 1) A set of per second averages from the current price(1 sec) to 300 sec. age. Calculated as the classic EMA (Pnext = (Pprev * N + Pcurr) .\/ (N + 1) <br \/> 2) Minute averages from 2 to 90 minutes ago. Calculated simply as the average price per minute <br \/> 3) Hourly averages from 1 to 41 hours ago (exchange limitations exist) (is calculated as the average price of the 5\u043c candles) Thus, the X,Y parameters in the EMA formula may be: 1..300 or 2m..90m or 1h..41h<br \/> 4) If Y is 1s the comparison will be made with the current price<br \/> 5) Recalculation of hourly max\/min is performed every 5 minutes, as a new 5m candlesticks appear. To avoid doubling of Max(1h)\/Min(1h) and Max(60m)\/Min(60m) records, the hourly ones are recalculated from 1 hour ago. For example, max(1h,1) is taken by 5 minute candlesticks from 60 to 120 minutes ago.<br \/> 6) Recalculation of minute max\/min is carried out every tick (1 tick = 2 sec), i.e. with a delay from 2 to 4 sec. At the same time, the last 60 seconds are not included in the calculation of the levels of minute max\/min.<br \/>  Thus, a sharp increase at the last minute (for minute intervals) and during the last 60 minutes (for hourly intervals) is not considered in calculating max\/min levels and, therefore, in a moment the max value can be more than zero and min less than zero. It is done in this way to be able to give create a higher-high\/lower-low using the formula (i.e. to write a condition that the current price has become higher than the maximum or lower than the minimum over the last N minutes\/hours).<\/p>\n<\/div>\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t\t\t\n\t\t\n\t<\/div>\n\n<\/div>\n\t<\/div>\n\n\t\n<\/div>","protected":false},"excerpt":{"rendered":"<p>C What is the methodology used to calculate and limit the EMA intervals? : Strategy settings Calculation methods and limitations: Because it is impossible to keep all possible combinations in memory, the bot calculates the prices as follows: 1) A set of per second averages from the current price(1 sec) to 300 sec. age. Calculated [&hellip;]<\/p>\n","protected":false},"author":6,"comment_status":"","ping_status":"closed","template":"","meta":{"pgc_meta":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}}},"ufaq-category":[87],"ufaq-tag":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What is the methodology used to calculate and limit the EMA intervals? - Moonbot<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is the methodology used to calculate and limit the EMA intervals? - Moonbot\" \/>\n<meta property=\"og:description\" content=\"C What is the methodology used to calculate and limit the EMA intervals? : Strategy settings Calculation methods and limitations: Because it is impossible to keep all possible combinations in memory, the bot calculates the prices as follows: 1) A set of per second averages from the current price(1 sec) to 300 sec. age. Calculated [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/\" \/>\n<meta property=\"og:site_name\" content=\"Moonbot\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/\",\"url\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/\",\"name\":\"What is the methodology used to calculate and limit the EMA intervals? - Moonbot\",\"isPartOf\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\"},\"datePublished\":\"2023-06-08T13:58:12+00:00\",\"dateModified\":\"2023-06-08T13:58:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/moon-bot.com\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"FAQs\",\"item\":\"https:\/\/moon-bot.com\/en\/ufaq\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"What is the methodology used to calculate and limit the EMA intervals?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#website\",\"url\":\"https:\/\/moon-bot.com\/ru\/\",\"name\":\"MoonBot Trading Terminal\",\"description\":\"Advanced terminal for manual and automatic trading on cryptocurrency exchanges\",\"publisher\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/moon-bot.com\/ru\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#organization\",\"name\":\"MoonBot Trading Terminal\",\"url\":\"https:\/\/moon-bot.com\/ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png\",\"contentUrl\":\"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png\",\"width\":200,\"height\":200,\"caption\":\"MoonBot Trading Terminal\"},\"image\":{\"@id\":\"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What is the methodology used to calculate and limit the EMA intervals? - Moonbot","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/","og_locale":"ru_RU","og_type":"article","og_title":"What is the methodology used to calculate and limit the EMA intervals? - Moonbot","og_description":"C What is the methodology used to calculate and limit the EMA intervals? : Strategy settings Calculation methods and limitations: Because it is impossible to keep all possible combinations in memory, the bot calculates the prices as follows: 1) A set of per second averages from the current price(1 sec) to 300 sec. age. Calculated [&hellip;]","og_url":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/","og_site_name":"Moonbot","twitter_card":"summary_large_image","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"1 \u043c\u0438\u043d\u0443\u0442\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/","url":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/","name":"What is the methodology used to calculate and limit the EMA intervals? - Moonbot","isPartOf":{"@id":"https:\/\/moon-bot.com\/ru\/#website"},"datePublished":"2023-06-08T13:58:12+00:00","dateModified":"2023-06-08T13:58:12+00:00","breadcrumb":{"@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/moon-bot.com\/ru\/ufaq\/what-is-the-methodology-used-to-calculate-and-limit-the-ema-intervals\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/moon-bot.com\/en\/"},{"@type":"ListItem","position":2,"name":"FAQs","item":"https:\/\/moon-bot.com\/en\/ufaq\/"},{"@type":"ListItem","position":3,"name":"What is the methodology used to calculate and limit the EMA intervals?"}]},{"@type":"WebSite","@id":"https:\/\/moon-bot.com\/ru\/#website","url":"https:\/\/moon-bot.com\/ru\/","name":"MoonBot Trading Terminal","description":"Advanced terminal for manual and automatic trading on cryptocurrency exchanges","publisher":{"@id":"https:\/\/moon-bot.com\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/moon-bot.com\/ru\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/moon-bot.com\/ru\/#organization","name":"MoonBot Trading Terminal","url":"https:\/\/moon-bot.com\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png","contentUrl":"https:\/\/moon-bot.com\/wp-content\/uploads\/2023\/11\/LogoZnak02.png","width":200,"height":200,"caption":"MoonBot Trading Terminal"},"image":{"@id":"https:\/\/moon-bot.com\/ru\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq\/53057"}],"collection":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq"}],"about":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/types\/ufaq"}],"author":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/comments?post=53057"}],"wp:attachment":[{"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/media?parent=53057"}],"wp:term":[{"taxonomy":"ufaq-category","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-category?post=53057"},{"taxonomy":"ufaq-tag","embeddable":true,"href":"https:\/\/moon-bot.com\/ru\/wp-json\/wp\/v2\/ufaq-tag?post=53057"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}