{"id":145853,"date":"2022-06-29T10:57:31","date_gmt":"2022-06-29T14:57:31","guid":{"rendered":"https:\/\/ibkrcampus.com\/?p=145853"},"modified":"2024-09-19T10:31:49","modified_gmt":"2024-09-19T14:31:49","slug":"candlestick-trading-a-momentum-strategy-with-example","status":"publish","type":"post","link":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/","title":{"rendered":"Candlestick Trading &#8211; A Momentum Strategy with Example"},"content":{"rendered":"\n<p>Candlestick trading is a strategy in which the price on the previous &#8216;n&#8217; candlesticks is observed and then you decide your next trade on the basis of that observation. Hence, if the price is increasing continuously for say, 3 candlesticks, then it is highly probable that it will rise further.<\/p>\n\n\n\n<p><a href=\"https:\/\/blog.quantinsti.com\/candlestick-patterns-meaning\/\">Candlestick charts<\/a>&nbsp;basically show the high, low, open and close movements of a tradeable item, which can be a security, a derivative or currency.<\/p>\n\n\n\n<p>Let us find out all about candlestick trading as a momentum strategy with this blog that covers:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>What is momentum strategy?<\/li><li>Why does the momentum strategy exist?<\/li><li>Example of candlestick trading &#8211; momentum strategy in Excel<\/li><\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-is-momentum-strategy\">What is momentum strategy?<\/h2>\n\n\n\n<p>Momentum strategy implies the tendency of financial security to continue the price movement in a particular direction. The price momentum for an asset\u2019s price can be either in an upward or in a downward direction.<\/p>\n\n\n\n<p>For example, when Tesla began delivering cars in China on 14th February 2020, the closing price of Tesla kept rising till 19th February 2020.<\/p>\n\n\n\n<p>On the contrary, the momentum can be in the downward direction as well. An example of a downward momentum is the oil price during the Covid-19 pandemic which kept plummeting with the Russia and OPEC oil war.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why-does-the-momentum-strategy-exist\">Why does the momentum strategy exist?<\/h2>\n\n\n\n<p>Momentum strategy seeks to profit from those securities which are trending and are backed by high volume. In simple words, buying high and selling higher is the main aim of this strategy. This can be achieved by taking positions in a stock that is going up or down, and then holding this position until the security shows signs of reversal.<\/p>\n\n\n\n<p>Momentum traders may hold their positions for a few seconds, minutes, hours, months or even a couple of years, depending on how quickly the financial asset changes its direction.<\/p>\n\n\n\n<p>Momentum trading carries a high degree of volatility compared to most other strategies. It is important to time the buys and sells correctly to avoid significant losses. Momentum traders usually make use of&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/glossary\/Stop-Order\" target=\"_blank\" rel=\"noreferrer noopener\">stop losses<\/a>, portfolio diversifications, and other risk management techniques to minimize the losses.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"example-of-candlestick-trading-momentum-strategy-in-excel\">Example of candlestick trading &#8211; momentum strategy in Excel<\/h2>\n\n\n\n<p>Now, let us see the example of candlestick trading with excel. This excel model will help you in:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Learning how momentum strategy is implemented<\/li><li>Understanding the trading logic of strategy implementation<\/li><li>Optimizing the trading parameters<\/li><li>Understanding intraday returns of momentum trading<\/li><\/ul>\n\n\n\n<p>\u200b\u200bIn this example, we have taken the BTCUSDT data on the Binance exchange. The&nbsp;<a href=\"https:\/\/quantra.quantinsti.com\/course\/momentum-trading-strategies\" target=\"_blank\" rel=\"noreferrer noopener\">momentum strategy<\/a>&nbsp;will be implemented on this asset. The data used for the BTCUSDT is 5 minutes candle data. The time interval of the data is from 12th December 2021 to 22nd December 2021.<\/p>\n\n\n\n<p>Now, we would like to benefit from the market wave and optimize our bet by specifying stop loss and taking profit limits. This model is flexible and can be varied to achieve different limits to exit the trade depending upon the trader\u2019s risk appetite.<\/p>\n\n\n\n<p>Let us take a look at our assumptions now.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"assumptions\">Assumptions<\/h3>\n\n\n\n<ol class=\"wp-block-list\"><li>For simplification purposes, we ignore bid-ask spreads.<\/li><li>Prices are available at 5 minutes intervals and we trade at the 5 minute closing price only.<\/li><li>Since this is discrete data, squaring off of the position happens at the end of the candle i.e. at the price available at the end of 5 minutes.<\/li><li>Transaction costs would vary depending on the exchange. For the sake of simplicity, we have assumed it to be 0.<\/li><\/ol>\n\n\n\n<p>Also, we have some input parameters in place. Let us see those as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"input-parameters\">Input parameters<\/h3>\n\n\n\n<p>Please note that all the values for the input parameters mentioned below are configurable.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>High\/Low of 3 candles (one candle=every 5 minute price) is considered.<\/li><li>A stop loss of 50 and profit limit of 200 is set.<\/li><\/ul>\n\n\n\n<p>The market data and trading model are included in the spread sheet from the 12th row onwards. So when the reference is made to column D, it should be obvious that the reference commences from D12 onwards.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Column C represents the price for BTCUSDT.<\/li><li>Column D represents 3 candle high meaning the highest price of the previous 3 candles.<\/li><li>Column E represents 3 candle low meaning the lowest price of the previous 3 candles.<\/li><li>Column F calculates the trading signal.<\/li><\/ul>\n\n\n\n<p>The formula&nbsp;<strong>=IF(D13=&#8221;&#8221;, &#8220;&#8221;, IF(C13&gt;D13, &#8220;Buy&#8221;, IF(C13&lt;E13, &#8220;Sell&#8221;, &#8220;&#8221;)))<\/strong>&nbsp;means<br>&#8211; if the entry in cell D13 is blank then keep F13 blank otherwise<br>&#8211; if C13 (BTCUSDT price) is greater than D13 (3 candle high) then buy signal for the BTCUSDT is generated else<br>&#8211; if C13 is lower than E13 (3 candle low) then sell signal for the BTCUSDT is generated.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Column G represents entry price. This is the price at which the trading signal is generated.<\/li><\/ul>\n\n\n\n<p>The formula&nbsp;<strong>=IF(H13=H12, G12, IF(OR(H13=&#8221;Buy&#8221;, H13=&#8221;Sell&#8221;), C13, &#8220;&#8221;))<\/strong><br>means,<br>&#8211; if the entry in cell H13 is same as H12 then the value in G13 should be the value in G12 otherwise,<br>&#8211; if H13 is either \u201cBuy\u201d or \u201cSell\u201d then the entry in G13 is the value in C13 (BTCUSDT price) else,<br>&#8211; if H13 is neither \u201cBuy\u201d nor \u201cSell\u201d leave it blank.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Column H represents the status of the trade. Given our assumptions and input parameters there are four status that can occur, \u201cBuy\u201d, \u201cSell\u201d, \u201cTP (Take Profit)\u201d and \u201cSL (Stop Loss)\u201d.<\/li><\/ul>\n\n\n\n<p>The formula:<\/p>\n\n\n\n<p><strong>=IF(OR(H17=&#8221;&#8221;, H17=&#8221;TP&#8221;, H17=&#8221;SL&#8221;), F18, IF(H17=&#8221;Buy&#8221;, IF(C18&lt;G17+$C$4, &#8220;SL&#8221;, IF(C18&gt;G17+$C$5, &#8220;TP&#8221;, H17)), IF(H17=&#8221;Sell&#8221;, IF(C18&gt;G17-$C$4, &#8220;SL&#8221;, IF(C18&lt;G17-$C$5, &#8220;TP&#8221;, H17)), &#8220;&#8221;)))<\/strong><\/p>\n\n\n\n<p>Can be simplified as follows:<\/p>\n\n\n\n<p>If the entry in H17 is either blank or TP or SL then choose the value in F18 (F column has either Buy or Sell or blank values). Otherwise, look into the next If condition.<\/p>\n\n\n\n<p>If the entry in H17 is \u201cBuy\u201d, meaning we have a buy position, and if the price of the asset goes below the stop loss limit then we exit the position at stop loss and if the price of the asset goes above the take profit limit then we exit the position at take profit.<\/p>\n\n\n\n<p>Similarly, if the position is \u201cSell\u201d and the asset price rises above the selling price beyond the stop loss limit then exit the position at stop loss and if the asset price falls below the selling price beyond the take profit limit then exit the position by taking the profit.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Column I represents the profit\/loss status of the trade. P\/L is calculated only when we have squared off our position. The formula =IF(OR(H13=&#8221;SL&#8221;, H13=&#8221;TP&#8221;), IF(H12=&#8221;Buy&#8221;, C13-G12, IF(H12=&#8221;Sell&#8221;, G12-C13, 0)), 0) can be summarized as follows:-<\/li><\/ul>\n\n\n\n<p>The first if condition states that proceed to the next if condition only if the corresponding status in column H is either \u201cSL\u201d or \u201cTP\u201d else the entry in the cell is zero.<\/p>\n\n\n\n<p>The next set of if conditions calculate profit assuming either stop loss or take profit has been achieved. If the status in column H is \u201cBuy\u201d, then the profit\/loss is calculated as C13-G12.<\/p>\n\n\n\n<p>Remember that the column G has the price at which you traded (in this case \u201cBuy\u201d) and the column C has the market data for BTCUSDT. Hence the profit\/loss is simply the difference between the price at which you sold minus the price at which you bought.<\/p>\n\n\n\n<p>If the status in column H is \u201cSell\u201d, then the profit\/loss is calculated as G12-C13 simply meaning the difference between the price at which you sold (shorted) and the price at which you bought later thus squaring off the position.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Column J calculates the cumulative profit.<\/li><\/ul>\n\n\n\n<p><em>Visit QuantInsti for additional insight on this topic and to review the files available for download: <a href=\"https:\/\/blog.quantinsti.com\/candlestick-trading-a-momentum-strategy-with-example-excel-model\/\">https:\/\/blog.quantinsti.com\/candlestick-trading-a-momentum-strategy-with-example-excel-model\/<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Candlestick trading is a strategy in which the price on the previous &#8216;n&#8217; candlesticks is observed and then you decide your next trade on the basis of that observation. <\/p>\n","protected":false},"author":855,"featured_media":41506,"comment_status":"closed","ping_status":"open","sticky":true,"template":"","format":"standard","meta":{"_acf_changed":true,"footnotes":""},"categories":[339,338,350,341,344],"tags":[10393,5878,12166],"contributors-categories":[13654],"class_list":{"0":"post-145853","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-data-science","8":"category-ibkr-quant-news","9":"category-quant-asia-pacific","10":"category-quant-development","11":"category-quant-regions","12":"tag-candlestick-charts","13":"tag-excel","14":"tag-momentum-strategy","15":"contributors-categories-quantinsti"},"pp_statuses_selecting_workflow":false,"pp_workflow_action":"current","pp_status_selection":"publish","acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v26.9 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Candlestick Trading &#8211; A Momentum Strategy with Example<\/title>\n<meta name=\"description\" content=\"Candlestick trading is a strategy in which the price on the previous &#039;n&#039; candlesticks is observed and then you decide your next trade on the basis of...\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/145853\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Candlestick Trading - A Momentum Strategy with Example | IBKR Quant Blog\" \/>\n<meta property=\"og:description\" content=\"Candlestick trading is a strategy in which the price on the previous &#039;n&#039; candlesticks is observed and then you decide your next trade on the basis of that observation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/\" \/>\n<meta property=\"og:site_name\" content=\"IBKR Campus US\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-29T14:57:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-19T14:31:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"900\" \/>\n\t<meta property=\"og:image:height\" content=\"550\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\n\t    \"@context\": \"https:\\\/\\\/schema.org\",\n\t    \"@graph\": [\n\t        {\n\t            \"@type\": \"NewsArticle\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/#article\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/\"\n\t            },\n\t            \"author\": {\n\t                \"name\": \"\",\n\t                \"@id\": \"\"\n\t            },\n\t            \"headline\": \"Candlestick Trading &#8211; A Momentum Strategy with Example\",\n\t            \"datePublished\": \"2022-06-29T14:57:31+00:00\",\n\t            \"dateModified\": \"2024-09-19T14:31:49+00:00\",\n\t            \"mainEntityOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/\"\n\t            },\n\t            \"wordCount\": 1308,\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/04\\\/stock-candles.jpg\",\n\t            \"keywords\": [\n\t                \"candlestick charts\",\n\t                \"Excel\",\n\t                \"Momentum strategy\"\n\t            ],\n\t            \"articleSection\": [\n\t                \"Data Science\",\n\t                \"Quant\",\n\t                \"Quant Asia Pacific\",\n\t                \"Quant Development\",\n\t                \"Quant Regions\"\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"WebPage\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/\",\n\t            \"name\": \"Candlestick Trading - A Momentum Strategy with Example | IBKR Quant Blog\",\n\t            \"isPartOf\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\"\n\t            },\n\t            \"primaryImageOfPage\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/#primaryimage\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/#primaryimage\"\n\t            },\n\t            \"thumbnailUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/04\\\/stock-candles.jpg\",\n\t            \"datePublished\": \"2022-06-29T14:57:31+00:00\",\n\t            \"dateModified\": \"2024-09-19T14:31:49+00:00\",\n\t            \"description\": \"Candlestick trading is a strategy in which the price on the previous 'n' candlesticks is observed and then you decide your next trade on the basis of that observation.\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"ReadAction\",\n\t                    \"target\": [\n\t                        \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/\"\n\t                    ]\n\t                }\n\t            ]\n\t        },\n\t        {\n\t            \"@type\": \"ImageObject\",\n\t            \"inLanguage\": \"en-US\",\n\t            \"@id\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/ibkr-quant-news\\\/candlestick-trading-a-momentum-strategy-with-example\\\/#primaryimage\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/04\\\/stock-candles.jpg\",\n\t            \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2020\\\/04\\\/stock-candles.jpg\",\n\t            \"width\": 900,\n\t            \"height\": 550,\n\t            \"caption\": \"Quant\"\n\t        },\n\t        {\n\t            \"@type\": \"WebSite\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#website\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"name\": \"IBKR Campus US\",\n\t            \"description\": \"Financial Education from Interactive Brokers\",\n\t            \"publisher\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\"\n\t            },\n\t            \"potentialAction\": [\n\t                {\n\t                    \"@type\": \"SearchAction\",\n\t                    \"target\": {\n\t                        \"@type\": \"EntryPoint\",\n\t                        \"urlTemplate\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/?s={search_term_string}\"\n\t                    },\n\t                    \"query-input\": {\n\t                        \"@type\": \"PropertyValueSpecification\",\n\t                        \"valueRequired\": true,\n\t                        \"valueName\": \"search_term_string\"\n\t                    }\n\t                }\n\t            ],\n\t            \"inLanguage\": \"en-US\"\n\t        },\n\t        {\n\t            \"@type\": \"Organization\",\n\t            \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#organization\",\n\t            \"name\": \"Interactive Brokers\",\n\t            \"alternateName\": \"IBKR\",\n\t            \"url\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/\",\n\t            \"logo\": {\n\t                \"@type\": \"ImageObject\",\n\t                \"inLanguage\": \"en-US\",\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\",\n\t                \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"contentUrl\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/wp-content\\\/uploads\\\/sites\\\/2\\\/2024\\\/05\\\/ibkr-campus-logo.jpg\",\n\t                \"width\": 669,\n\t                \"height\": 669,\n\t                \"caption\": \"Interactive Brokers\"\n\t            },\n\t            \"image\": {\n\t                \"@id\": \"https:\\\/\\\/ibkrcampus.com\\\/campus\\\/#\\\/schema\\\/logo\\\/image\\\/\"\n\t            },\n\t            \"publishingPrinciples\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/about-ibkr-campus\\\/\",\n\t            \"ethicsPolicy\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/cyber-security-notice\\\/\"\n\t        },\n\t        {\n\t            \"@type\": \"Person\",\n\t            \"@id\": \"\",\n\t            \"url\": \"https:\\\/\\\/www.interactivebrokers.com\\\/campus\\\/author\\\/\"\n\t        }\n\t    ]\n\t}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Candlestick Trading &#8211; A Momentum Strategy with Example","description":"Candlestick trading is a strategy in which the price on the previous 'n' candlesticks is observed and then you decide your next trade on the basis of...","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:\/\/www.interactivebrokers.com\/campus\/wp-json\/wp\/v2\/posts\/145853\/","og_locale":"en_US","og_type":"article","og_title":"Candlestick Trading - A Momentum Strategy with Example | IBKR Quant Blog","og_description":"Candlestick trading is a strategy in which the price on the previous 'n' candlesticks is observed and then you decide your next trade on the basis of that observation.","og_url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/","og_site_name":"IBKR Campus US","article_published_time":"2022-06-29T14:57:31+00:00","article_modified_time":"2024-09-19T14:31:49+00:00","og_image":[{"width":900,"height":550,"url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"NewsArticle","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/#article","isPartOf":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/"},"author":{"name":"","@id":""},"headline":"Candlestick Trading &#8211; A Momentum Strategy with Example","datePublished":"2022-06-29T14:57:31+00:00","dateModified":"2024-09-19T14:31:49+00:00","mainEntityOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/"},"wordCount":1308,"publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","keywords":["candlestick charts","Excel","Momentum strategy"],"articleSection":["Data Science","Quant","Quant Asia Pacific","Quant Development","Quant Regions"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/","url":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/","name":"Candlestick Trading - A Momentum Strategy with Example | IBKR Quant Blog","isPartOf":{"@id":"https:\/\/ibkrcampus.com\/campus\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/#primaryimage"},"image":{"@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","datePublished":"2022-06-29T14:57:31+00:00","dateModified":"2024-09-19T14:31:49+00:00","description":"Candlestick trading is a strategy in which the price on the previous 'n' candlesticks is observed and then you decide your next trade on the basis of that observation.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.interactivebrokers.com\/campus\/ibkr-quant-news\/candlestick-trading-a-momentum-strategy-with-example\/#primaryimage","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","width":900,"height":550,"caption":"Quant"},{"@type":"WebSite","@id":"https:\/\/ibkrcampus.com\/campus\/#website","url":"https:\/\/ibkrcampus.com\/campus\/","name":"IBKR Campus US","description":"Financial Education from Interactive Brokers","publisher":{"@id":"https:\/\/ibkrcampus.com\/campus\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ibkrcampus.com\/campus\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/ibkrcampus.com\/campus\/#organization","name":"Interactive Brokers","alternateName":"IBKR","url":"https:\/\/ibkrcampus.com\/campus\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/","url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","contentUrl":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2024\/05\/ibkr-campus-logo.jpg","width":669,"height":669,"caption":"Interactive Brokers"},"image":{"@id":"https:\/\/ibkrcampus.com\/campus\/#\/schema\/logo\/image\/"},"publishingPrinciples":"https:\/\/www.interactivebrokers.com\/campus\/about-ibkr-campus\/","ethicsPolicy":"https:\/\/www.interactivebrokers.com\/campus\/cyber-security-notice\/"},{"@type":"Person","@id":"","url":"https:\/\/www.interactivebrokers.com\/campus\/author\/"}]}},"jetpack_featured_media_url":"https:\/\/www.interactivebrokers.com\/campus\/wp-content\/uploads\/sites\/2\/2020\/04\/stock-candles.jpg","_links":{"self":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/145853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/users\/855"}],"replies":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/comments?post=145853"}],"version-history":[{"count":0,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/posts\/145853\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media\/41506"}],"wp:attachment":[{"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/media?parent=145853"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/categories?post=145853"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/tags?post=145853"},{"taxonomy":"contributors-categories","embeddable":true,"href":"https:\/\/ibkrcampus.com\/campus\/wp-json\/wp\/v2\/contributors-categories?post=145853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}