{"id":1332,"date":"2026-07-27T02:08:56","date_gmt":"2026-07-27T02:08:56","guid":{"rendered":"https:\/\/www.vpascode.com\/ru\/docs\/uncategorized\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action\/"},"modified":"2026-07-30T01:27:39","modified_gmt":"2026-07-30T01:27:39","slug":"candlestick-chart-financial-trading-and-price-action-guide","status":"publish","type":"ld_docs","link":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/","title":{"rendered":"Candlestick Chart: Financial Trading and Price Action"},"content":{"rendered":"<p>When tracking financial markets and asset price movements over time, the <strong>Candlestick Chart<\/strong> is the industry-standard visualization tool. By combining four key price points\u2014Open, High, Low, and Close (OHLC)\u2014into a single visual bar, candlestick charts show <em>price volatility, trading range, and market sentiment<\/em> at a glance, making them essential for stock performance dashboards, crypto trackers, and commodity trading views.<\/p>\n<h2>The Mechanics of Candlesticks<\/h2>\n<p>In Apache ECharts, candlestick series are rendered using <code>type: 'candlestick'<\/code> (or the alias <code>'k'<\/code>). Each data point requires a 4-value array ordered explicitly as <code>[Open, Close, Lowest, Highest]<\/code>. The chart engine renders a solid or hollow body between Open and Close, with thin &#171;wick&#187; lines extending to the Lowest and Highest prices.<\/p>\n<h3>1. Essential Setup<\/h3>\n<p>To build a basic candlestick chart, map time values along a continuous X-axis and pass <code>[Open, Close, Lowest, Highest]<\/code> arrays into your series data:<\/p>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNp1klFrgzAQx98H+w735gaRatRS3FZY97KHwfYuPgQbbFgwksStUvzuu7SOJmBDQvK\/+9+PO4jqrVAdvMDp\/g5wWaWkFX35r88xLdqW6xIidhQmIteM019KdNZlT2DHnqOr0cqYCKaLb5r9x1c0h9zZzixvlR598J5ZVkIV0YSu46SIkzQicFU0UFmg8kAVUR22Md5q44fJgfs9mIZJTFg98BBhuBYcGdXV6+GCybq95MaK5tsHewOGQbcqmhDIcgKpuzc1gdUKqs+edwTepDKcwIf6RSiBd9Ee8FFDvIXdIKUwB3g4e2ALruJxAZ87bIEH7yK54Hecaa\/4+WZxlrqe8GQE8rwmSxZMp8jHndNFh8vSzTwgrUOHJ+f\/g5Hp6Q9qz5Rb\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    tooltip: {\r\n        trigger: 'axis',\r\n        axisPointer: { type: 'cross' }\r\n    },\r\n    xAxis: {\r\n        type: 'category',\r\n        data: ['2026-05-01', '2026-05-02', '2026-05-03', '2026-05-04', '2026-05-05']\r\n    },\r\n    yAxis: {\r\n        type: 'value',\r\n        scale: true\r\n    },\r\n    series: [\r\n        {\r\n            type: 'candlestick',\r\n            data: [\r\n                [20, 34, 10, 38], \/\/ [Open, Close, Lowest, Highest] -&gt; Bullish (Close &gt; Open)\r\n                [40, 35, 30, 50], \/\/ Bearish (Close &lt; Open)\r\n                [31, 38, 33, 44],\r\n                [38, 15, 5, 42],\r\n                [15, 28, 10, 32]\r\n            ]\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNp1klFrgzAQx98H+w735gaRatRS3FZY97KHwfYuPgQbbFgwksStUvzuu7SOJmBDQvK\/+9+PO4jqrVAdvMDp\/g5wWaWkFX35r88xLdqW6xIidhQmIteM019KdNZlT2DHnqOr0cqYCKaLb5r9x1c0h9zZzixvlR598J5ZVkIV0YSu46SIkzQicFU0UFmg8kAVUR22Md5q44fJgfs9mIZJTFg98BBhuBYcGdXV6+GCybq95MaK5tsHewOGQbcqmhDIcgKpuzc1gdUKqs+edwTepDKcwIf6RSiBd9Ee8FFDvIXdIKUwB3g4e2ALruJxAZ87bIEH7yK54Hecaa\/4+WZxlrqe8GQE8rwmSxZMp8jHndNFh8vSzTwgrUOHJ+f\/g5Hp6Q9qz5Rb\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"aDdXBId\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1778\" height=\"1288\" class=\"alignnone size-full wp-image-1333 \" src=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png 1778w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d-300x217.png 300w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d-1024x742.png 1024w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d-768x556.png 768w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d-1536x1113.png 1536w\" sizes=\"(max-width: 1778px) 100vw, 1778px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Advanced Structural Techniques<\/h2>\n<p>Candlestick charts can be customized with international color conventions, zoomed time ranges, or combined with moving averages.<\/p>\n<h3>1. Custom Colors and Moving Averages<\/h3>\n<p>Customize bullish (up) and bearish (down) bar colors using <code>itemStyle<\/code>, and overlay moving average lines by mixing line series with the candlestick series:<\/p>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNqFk1Fr2zAQx98H\/Q4He\/AGZrUVO03SblAy9jLKBh3sIeRBtrVEVJGMLG81wd99OjmuIzfeBNZJup\/+p7NOqjRcSfgIx6s3YJtRShhervq5W9N8t2N6BQF95lUQDh6cf1dcGvQewTQls1SuVVUF0HZce+IF2zFZeMIFNXQFm+Az5aKBr0EIwcN9Gmz9jc\/3Nop\/oFMcathO6eb8RL3kg5Io96NmaH6yws32NZovmqN5pMaZWo4jNlMRf1OBgsN6lVNhHUbXzJeomObMamwG9kwOm6QHlHzJ3fe+pCgLwSrD86cxccrUX8S2ITMShXDqyeIGx3OyDS+ikYOWsUMXiCbxZZQsU3THxG1wERbRhGrs0JmDYtfPp9AOIoP2LE0n0A5Kh+RmN1OqHZREwzEW6dYnxzu5YYdH0+B9Hl9r5koofAJvWZYUSWYrp2vX17BGF\/yyX1YLwas9vFsLVTH4BN9KJt9PiEWoNqdZlOS9mi\/GqD4Tu5sSy5QumF6Pz\/dP8Dy2D7bDtA3\/V7z4Wi8XruCSjV3VQSmz717L5WKW9v+F8Lrvi4jErl+Orw6j9VcHqqQ5N80Kog+2nv\/wAmMSL7FuaOuhvf0LHXIWZw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    tooltip: {\r\n        trigger: 'axis',\r\n        axisPointer: { type: 'cross' }\r\n    },\r\n    legend: {\r\n        data: ['Daily K', 'MA5']\r\n    },\r\n    xAxis: {\r\n        type: 'category',\r\n        data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']\r\n    },\r\n    yAxis: {\r\n        type: 'value',\r\n        scale: true\r\n    },\r\n    series: [\r\n        {\r\n            name: 'Daily K',\r\n            type: 'candlestick',\r\n            data: [\r\n                [2320, 2320, 2287, 2362],\r\n                [2300, 2291, 2288, 2341],\r\n                [2295, 2312, 2290, 2380],\r\n                [2315, 2330, 2310, 2360],\r\n                [2330, 2325, 2312, 2355],\r\n                [2325, 2350, 2320, 2370],\r\n                [2350, 2340, 2330, 2385]\r\n            ],\r\n            itemStyle: {\r\n                color: '#eb4d4b',       \/\/ Color for bullish (Close &gt; Open)\r\n                color0: '#6ab04c',      \/\/ Color for bearish (Close &lt; Open)\r\n                borderColor: '#eb4d4b',\r\n                borderColor0: '#6ab04c'\r\n            }\r\n        },\r\n        {\r\n            name: 'MA5',\r\n            type: 'line',\r\n            smooth: true,\r\n            data: [null, null, null, null, 2310, 2321, 2329],\r\n            lineStyle: { opacity: 0.8, width: 2 }\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNqFk1Fr2zAQx98H\/Q4He\/AGZrUVO03SblAy9jLKBh3sIeRBtrVEVJGMLG81wd99OjmuIzfeBNZJup\/+p7NOqjRcSfgIx6s3YJtRShhervq5W9N8t2N6BQF95lUQDh6cf1dcGvQewTQls1SuVVUF0HZce+IF2zFZeMIFNXQFm+Az5aKBr0EIwcN9Gmz9jc\/3Nop\/oFMcathO6eb8RL3kg5Io96NmaH6yws32NZovmqN5pMaZWo4jNlMRf1OBgsN6lVNhHUbXzJeomObMamwG9kwOm6QHlHzJ3fe+pCgLwSrD86cxccrUX8S2ITMShXDqyeIGx3OyDS+ikYOWsUMXiCbxZZQsU3THxG1wERbRhGrs0JmDYtfPp9AOIoP2LE0n0A5Kh+RmN1OqHZREwzEW6dYnxzu5YYdH0+B9Hl9r5koofAJvWZYUSWYrp2vX17BGF\/yyX1YLwas9vFsLVTH4BN9KJt9PiEWoNqdZlOS9mi\/GqD4Tu5sSy5QumF6Pz\/dP8Dy2D7bDtA3\/V7z4Wi8XruCSjV3VQSmz717L5WKW9v+F8Lrvi4jErl+Orw6j9VcHqqQ5N80Kog+2nv\/wAmMSL7FuaOuhvf0LHXIWZw==\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"kHAqNzQ\"><img decoding=\"async\" width=\"1812\" height=\"1372\" class=\"alignnone size-full wp-image-1334 \" src=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e.png 1812w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e-300x227.png 300w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e-1024x775.png 1024w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e-768x582.png 768w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdec4db2e-1536x1163.png 1536w\" sizes=\"(max-width: 1812px) 100vw, 1812px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Fine-Tuning Layout and Interactive Zoom<\/h2>\n<p>Adding time-series zoom controls gives users flexibility when navigating dense historical trading records.<\/p>\n<h3>1. Data Zoom and Axis Pointer Controls<\/h3>\n<p>Incorporate horizontal sliders and mouse-wheel zooming using the <code>dataZoom<\/code> configuration block:<\/p>\n            <div class=\"vpascode-viewer-container vpascode-fancy-active\">\r\n                                <div class=\"vpascode-header\">\r\n                    <span class=\"vpascode-lang-label\">ECharts<\/span>\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNqNkU9vwiAYxu8mfgcuhksTobWbuuywZPsKO8z0gC2rZFgM0Gm3+N3HnxKLs9k4kKcvvz7vA684aCYa8Ai+pxNgVi1ZtQ4fdnH6rtcAYjSDyaUqWb27Ud4KrcXe1vMZ9OVzf3x6OjEVOevuQA1aEk1rIbuhT0U0WYMNfCYdwDABTqRBZEEsgsiDuAviPoglLOIg3ViQT8JbOkyhSsLNgZYtjS1svDdhL7q50APDgSlrFKuMK5jPwUtDtpwqsBetouC4o5SDL2PDmjr+V2kizeumKInrtDGzwQhdqufkrwCKm\/7SB3hlqiW8n5JrDfzxVfudOPprX\/XX4mAcVyjM1iXwsuhRRSWj6h8PU5KmMo+hWfkBr9r004+Ldm3M3ROAsdlWuRV5kdyiLICRJTyf3sYckTp2YdWImyPw0hlZbMTNEamPZdVyxM0dpqFzhkYwS2SOxVaNuDkiQ66f2RaoiKni96Cmk\/PDDxbwzl4=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 8px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n                                <div class=\"vpascode-code-wrapper\">\r\n                    <pre class=\"lang-echarts\"><code data-language=\"echarts\" class=\"language-echarts\">option = {\r\n    grid: {\r\n        left: '10%',\r\n        right: '10%',\r\n        bottom: '15%'\r\n    },\r\n    xAxis: {\r\n        type: 'category',\r\n        data: ['Day 1', 'Day 2', 'Day 3', 'Day 4', 'Day 5', 'Day 6', 'Day 7', 'Day 8']\r\n    },\r\n    yAxis: {\r\n        type: 'value',\r\n        scale: true\r\n    },\r\n    dataZoom: [\r\n        {\r\n            type: 'inside', \/\/ Enables mouse wheel zooming\r\n            start: 20,\r\n            end: 100\r\n        },\r\n        {\r\n            type: 'slider', \/\/ Visual bottom zoom slider\r\n            show: true,\r\n            top: '90%'\r\n        }\r\n    ],\r\n    series: [\r\n        {\r\n            type: 'candlestick',\r\n            data: [\r\n                [100, 110, 95, 115],\r\n                [110, 105, 100, 112],\r\n                [105, 120, 104, 125],\r\n                [120, 118, 112, 122],\r\n                [118, 125, 115, 128],\r\n                [125, 122, 120, 130],\r\n                [122, 135, 121, 138],\r\n                [135, 130, 128, 140]\r\n            ]\r\n        }\r\n    ]\r\n};<\/code><\/pre>                <\/div>\r\n                <div class=\"vpascode-actions\">\r\n                    <a href=\"https:\/\/www.vpascode.com\/#echarts:eNqNkU9vwiAYxu8mfgcuhksTobWbuuywZPsKO8z0gC2rZFgM0Gm3+N3HnxKLs9k4kKcvvz7vA684aCYa8Ai+pxNgVi1ZtQ4fdnH6rtcAYjSDyaUqWb27Ud4KrcXe1vMZ9OVzf3x6OjEVOevuQA1aEk1rIbuhT0U0WYMNfCYdwDABTqRBZEEsgsiDuAviPoglLOIg3ViQT8JbOkyhSsLNgZYtjS1svDdhL7q50APDgSlrFKuMK5jPwUtDtpwqsBetouC4o5SDL2PDmjr+V2kizeumKInrtDGzwQhdqufkrwCKm\/7SB3hlqiW8n5JrDfzxVfudOPprX\/XX4mAcVyjM1iXwsuhRRSWj6h8PU5KmMo+hWfkBr9r004+Ldm3M3ROAsdlWuRV5kdyiLICRJTyf3sYckTp2YdWImyPw0hlZbMTNEamPZdVyxM0dpqFzhkYwS2SOxVaNuDkiQ66f2RaoiKni96Cmk\/PDDxbwzl4=\" \r\n                       target=\"_blank\" \r\n                       rel=\"noopener noreferrer\" \r\n                       class=\"vpascode-fancy-btn\">\r\n                        <svg width=\"14\" height=\"14\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\" style=\"margin-right: 6px;\"><path d=\"M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7\"><\/path><path d=\"M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z\"><\/path><\/svg>\r\n                        <span>Edit ECharts in VPasCode<\/span>\r\n                    <\/a>\r\n                <\/div>\r\n            <\/div>\r\n            \n<p id=\"ZDBfgau\"><img decoding=\"async\" width=\"1912\" height=\"1337\" class=\"alignnone size-full wp-image-1335 \" src=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5.png\" alt=\"\" srcset=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5.png 1912w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5-300x210.png 300w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5-1024x716.png 1024w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5-768x537.png 768w, https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bdf8c2bc5-1536x1074.png 1536w\" sizes=\"(max-width: 1912px) 100vw, 1912px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>Strategic Best Practices<\/h2>\n<ul>\n<li><strong>Order Data Correctly:<\/strong> Double-check array structure! ECharts expects <code>[Open, Close, Lowest, Highest]<\/code>\u2014swapping Close and Lowest is a common source of rendering bugs.<\/li>\n<li><strong>Enable <code>scale: true<\/code> on Y-Axis:<\/strong> Always include <code>scale: true<\/code> on numerical price axes so the chart auto-scales to the current price range instead of forcing the origin to zero.<\/li>\n<li><strong>Use Crosshair Axis Pointers:<\/strong> Set <code>tooltip.axisPointer.type = 'cross'<\/code> to show continuous vertical and horizontal reference lines for easy price and timestamp alignment.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>When tracking financial markets and asset price movements over time, the Candlestick Chart is the industry-standard visualization tool. By combining four key price points\u2014Open, High, Low, and Close (OHLC)\u2014into a single visual bar, candlestick charts show price volatility, trading range,&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":1254,"menu_order":13,"template":"","meta":{"inline_featured_image":false,"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","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":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-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-opacity":"","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-opacity":"","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-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}}},"ld_collection":[14],"class_list":["post-1332","ld_docs","type-ld_docs","status-publish","hentry","ld_collection-vpascode-docs"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ECharts Candlestick Guide | VPasCode Text to Diagram Guide<\/title>\n<meta name=\"description\" content=\"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.\" \/>\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.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ECharts Candlestick Guide | VPasCode Text to Diagram Guide\" \/>\n<meta property=\"og:description\" content=\"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/\" \/>\n<meta property=\"og:site_name\" content=\"VPasCode\" \/>\n<meta property=\"article:modified_time\" content=\"2026-07-30T01:27:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png\" \/>\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=\"2 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/\",\"name\":\"ECharts Candlestick Guide | VPasCode Text to Diagram Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/11\\\/2026\\\/07\\\/img_6a66bddfef28d.png\",\"datePublished\":\"2026-07-27T02:08:56+00:00\",\"dateModified\":\"2026-07-30T01:27:39+00:00\",\"description\":\"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/11\\\/2026\\\/07\\\/img_6a66bddfef28d.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/11\\\/2026\\\/07\\\/img_6a66bddfef28d.png\",\"width\":1778,\"height\":1288},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/candlestick-chart-financial-trading-and-price-action-guide\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Lean Docs\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/%ld_collection%\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"ECharts Playbook\",\"item\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/docs\\\/vpascode-docs\\\/echarts-playbook\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Candlestick Chart: Financial Trading and Price Action\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#website\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/\",\"name\":\"VPasCode\",\"description\":\"by Visual Paradigm\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#organization\",\"name\":\"VPasCode\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/11\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"contentUrl\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/wp-content\\\/uploads\\\/sites\\\/11\\\/2026\\\/06\\\/cropped-vp-online-logo-v1.png\",\"width\":128,\"height\":138,\"caption\":\"VPasCode\"},\"image\":{\"@id\":\"https:\\\/\\\/www.vpascode.com\\\/ru\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ECharts Candlestick Guide | VPasCode Text to Diagram Guide","description":"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.","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.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/","og_locale":"ru_RU","og_type":"article","og_title":"ECharts Candlestick Guide | VPasCode Text to Diagram Guide","og_description":"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.","og_url":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/","og_site_name":"VPasCode","article_modified_time":"2026-07-30T01:27:39+00:00","og_image":[{"url":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png","type":"","width":"","height":""}],"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":"2 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/","url":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/","name":"ECharts Candlestick Guide | VPasCode Text to Diagram Guide","isPartOf":{"@id":"https:\/\/www.vpascode.com\/ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/#primaryimage"},"image":{"@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png","datePublished":"2026-07-27T02:08:56+00:00","dateModified":"2026-07-30T01:27:39+00:00","description":"Render financial stock price charts with OHLC data using ECharts in VPasCode, a free text to diagram tool.","breadcrumb":{"@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/#primaryimage","url":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png","contentUrl":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/07\/img_6a66bddfef28d.png","width":1778,"height":1288},{"@type":"BreadcrumbList","@id":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/candlestick-chart-financial-trading-and-price-action-guide\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vpascode.com\/ru\/"},{"@type":"ListItem","position":2,"name":"Lean Docs","item":"https:\/\/www.vpascode.com\/ru\/docs\/%ld_collection%\/"},{"@type":"ListItem","position":3,"name":"ECharts Playbook","item":"https:\/\/www.vpascode.com\/ru\/docs\/vpascode-docs\/echarts-playbook\/"},{"@type":"ListItem","position":4,"name":"Candlestick Chart: Financial Trading and Price Action"}]},{"@type":"WebSite","@id":"https:\/\/www.vpascode.com\/ru\/#website","url":"https:\/\/www.vpascode.com\/ru\/","name":"VPasCode","description":"by Visual Paradigm","publisher":{"@id":"https:\/\/www.vpascode.com\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vpascode.com\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/www.vpascode.com\/ru\/#organization","name":"VPasCode","url":"https:\/\/www.vpascode.com\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.vpascode.com\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/06\/cropped-vp-online-logo-v1.png","contentUrl":"https:\/\/www.vpascode.com\/ru\/wp-content\/uploads\/sites\/11\/2026\/06\/cropped-vp-online-logo-v1.png","width":128,"height":138,"caption":"VPasCode"},"image":{"@id":"https:\/\/www.vpascode.com\/ru\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/ld_docs\/1332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/ld_docs"}],"about":[{"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/types\/ld_docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/users\/3"}],"up":[{"embeddable":true,"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/ld_docs\/1254"}],"wp:attachment":[{"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/media?parent=1332"}],"wp:term":[{"taxonomy":"ld_collection","embeddable":true,"href":"https:\/\/www.vpascode.com\/ru\/wp-json\/wp\/v2\/ld_collection?post=1332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}