{"id":93900,"date":"2024-07-11T09:15:03","date_gmt":"2024-07-11T09:15:03","guid":{"rendered":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/"},"modified":"2024-07-11T09:15:03","modified_gmt":"2024-07-11T09:15:03","slug":"multiple-timeframes-trading-build-custom-indicators-in-python","status":"publish","type":"post","link":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/","title":{"rendered":"Multiple Timeframes Trading: Build Custom Indicators in Python"},"content":{"rendered":"<div class=\"youtubomatic-video-container\"><iframe loading=\"lazy\" width=\"580\" height=\"380\" src=\"https:\/\/www.youtube.com\/embed\/jObikg7gfpU?autoplay=1&#038;controls=1&#038;hl=en\" frameborder=\"0\" allowfullscreen><\/iframe><\/div>\n<p>Welcome back! In today&#8217;s tutorial, we explore how to build an advanced indicator that operates on multiple timeframes in parallel, and translates signals from one timeframe to another. We will use the daily and 4-hour timeframes as examples. I will guide you through creating a custom indicator in Python on the daily timeframe and translating the signal into the 4H timeframe. This method can be applied to any timeframe you desire. The Python code used in this video is available for download from the link below, along with the data files for your experiments. Multi-timeframe analysis provides a clearer picture of market trends and reduces noise. In this video, we will identify rejection candles on the daily timeframe and transmit the signal to the 4H timeframe, allowing us to combine daily signals with patterns occurring on lower timeframes for confirmation. Coding and testing this in Python will definitely enhance your understanding of the details and improve trading your strategy with multi-timeframe analysis.<\/p>\n<p>\u00b0\u00b0\u00b0 Discount Vouchers for my Algorithmic Trading  and Python courses:<br \/>\n\ud83d\udcb2 Algorithmic Trading: <a href=\"https:\/\/bit.ly\/CouponAlgorithmicTrading\" target=\"_blank\">https:\/\/bit.ly\/CouponAlgorithmicTrading<\/a><br \/>\n\ud83d\udcb2 Data Analysis with Numpy and Pandas: <a href=\"https:\/\/bit.ly\/CouponDataAnalysis\" target=\"_blank\">https:\/\/bit.ly\/CouponDataAnalysis<\/a><br \/>\n\ud83d\udcb2 Machine Learning Methods In Algorithmic Trading: <a href=\"https:\/\/bit.ly\/CouponMachineLearningTrading\" target=\"_blank\">https:\/\/bit.ly\/CouponMachineLearningTrading<\/a><\/p>\n<p>Download the code and the data files&#8230; and enjoy coding:<br \/>\n<a href=\"https:\/\/drive.google.com\/drive\/folders\/1rGBi9K6d5l8x0DFlkV9OfiLsXe4am2la?usp=sharing\" target=\"_blank\">https:\/\/drive.google.com\/drive\/folders\/1rGBi9K6d5l8x0DFlkV9OfiLsXe4am2la?usp=sharing<\/a><\/p>\n<p>#backtesting #algorithmictrading #tradingsignals #timeframe #tradingmethods #tradingstrategy<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome back! In today&#8217;s tutorial, we explore how to build an advanced indicator that operates on multiple timeframes in parallel, and translates signals from one timeframe to another. We will use the daily and 4-hour timeframes as examples. I will guide you through creating a custom indicator in Python on the daily timeframe and translating the signal into the 4H timeframe. This method can be applied to any timeframe you&#8230;<\/p>\n","protected":false},"author":1,"featured_media":93901,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-93900","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com<\/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:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com\" \/>\n<meta property=\"og:description\" content=\"Welcome back! In today&#8217;s tutorial, we explore how to build an advanced indicator that operates on multiple timeframes in parallel, and translates signals from one timeframe to another. We will use the daily and 4-hour timeframes as examples. I will guide you through creating a custom indicator in Python on the daily timeframe and translating the signal into the 4H timeframe. This method can be applied to any timeframe you...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/\" \/>\n<meta property=\"og:site_name\" content=\"UshopWell.com\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-11T09:15:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"480\" \/>\n\t<meta property=\"og:image:height\" content=\"360\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"UShopWell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"UShopWell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/\"},\"author\":{\"name\":\"UShopWell\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/person\\\/6fd1f9e0ff932e534c86c70d5acff0fc\"},\"headline\":\"Multiple Timeframes Trading: Build Custom Indicators in Python\",\"datePublished\":\"2024-07-11T09:15:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/\"},\"wordCount\":238,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/93900\\\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/\",\"name\":\"Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/93900\\\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg\",\"datePublished\":\"2024-07-11T09:15:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#primaryimage\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/93900\\\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg\",\"contentUrl\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2024\\\/12\\\/93900\\\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg\",\"width\":480,\"height\":360,\"caption\":\"Multiple Timeframes Trading: Build Custom Indicators in Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/multiple-timeframes-trading-build-custom-indicators-in-python\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Multiple Timeframes Trading: Build Custom Indicators in Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#website\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\",\"name\":\"UshopWell.com\",\"description\":\"The Premiere Online Marketplace\",\"publisher\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#organization\",\"name\":\"UshopWell\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/pandaSwea.png\",\"contentUrl\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/wp-content\\\/uploads\\\/2018\\\/01\\\/pandaSwea.png\",\"width\":365,\"height\":359,\"caption\":\"UshopWell\"},\"image\":{\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/#\\\/schema\\\/person\\\/6fd1f9e0ff932e534c86c70d5acff0fc\",\"name\":\"UShopWell\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g\",\"caption\":\"UShopWell\"},\"url\":\"https:\\\/\\\/ushopwell.com\\\/ublog\\\/author\\\/kburnettu\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com","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:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/","og_locale":"en_US","og_type":"article","og_title":"Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com","og_description":"Welcome back! In today&#8217;s tutorial, we explore how to build an advanced indicator that operates on multiple timeframes in parallel, and translates signals from one timeframe to another. We will use the daily and 4-hour timeframes as examples. I will guide you through creating a custom indicator in Python on the daily timeframe and translating the signal into the 4H timeframe. This method can be applied to any timeframe you...","og_url":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/","og_site_name":"UshopWell.com","article_published_time":"2024-07-11T09:15:03+00:00","og_image":[{"width":480,"height":360,"url":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg","type":"image\/jpeg"}],"author":"UShopWell","twitter_card":"summary_large_image","twitter_misc":{"Written by":"UShopWell","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#article","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/"},"author":{"name":"UShopWell","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/person\/6fd1f9e0ff932e534c86c70d5acff0fc"},"headline":"Multiple Timeframes Trading: Build Custom Indicators in Python","datePublished":"2024-07-11T09:15:03+00:00","mainEntityOfPage":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/"},"wordCount":238,"commentCount":0,"publisher":{"@id":"https:\/\/ushopwell.com\/ublog\/#organization"},"image":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg","inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/","url":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/","name":"Multiple Timeframes Trading: Build Custom Indicators in Python - UshopWell.com","isPartOf":{"@id":"https:\/\/ushopwell.com\/ublog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#primaryimage"},"image":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#primaryimage"},"thumbnailUrl":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg","datePublished":"2024-07-11T09:15:03+00:00","breadcrumb":{"@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#primaryimage","url":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg","contentUrl":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2024\/12\/93900\/multiple-timeframes-trading-build-custom-indicators-in-python.jpg","width":480,"height":360,"caption":"Multiple Timeframes Trading: Build Custom Indicators in Python"},{"@type":"BreadcrumbList","@id":"https:\/\/ushopwell.com\/ublog\/multiple-timeframes-trading-build-custom-indicators-in-python\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ushopwell.com\/ublog\/"},{"@type":"ListItem","position":2,"name":"Multiple Timeframes Trading: Build Custom Indicators in Python"}]},{"@type":"WebSite","@id":"https:\/\/ushopwell.com\/ublog\/#website","url":"https:\/\/ushopwell.com\/ublog\/","name":"UshopWell.com","description":"The Premiere Online Marketplace","publisher":{"@id":"https:\/\/ushopwell.com\/ublog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ushopwell.com\/ublog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ushopwell.com\/ublog\/#organization","name":"UshopWell","url":"https:\/\/ushopwell.com\/ublog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/logo\/image\/","url":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2018\/01\/pandaSwea.png","contentUrl":"https:\/\/ushopwell.com\/ublog\/wp-content\/uploads\/2018\/01\/pandaSwea.png","width":365,"height":359,"caption":"UshopWell"},"image":{"@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/ushopwell.com\/ublog\/#\/schema\/person\/6fd1f9e0ff932e534c86c70d5acff0fc","name":"UShopWell","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4adb372cadd43b4d4c57964dab95b0f69618bf960d131c4acf49d96d6bbc9c6e?s=96&d=mm&r=g","caption":"UShopWell"},"url":"https:\/\/ushopwell.com\/ublog\/author\/kburnettu\/"}]}},"_links":{"self":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts\/93900","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/comments?post=93900"}],"version-history":[{"count":0,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/posts\/93900\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/media\/93901"}],"wp:attachment":[{"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/media?parent=93900"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/categories?post=93900"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ushopwell.com\/ublog\/wp-json\/wp\/v2\/tags?post=93900"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}