{"id":63364,"date":"2025-01-21T06:58:00","date_gmt":"2025-01-21T06:58:00","guid":{"rendered":"https:\/\/expforex.com\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/"},"modified":"2025-04-06T06:29:51","modified_gmt":"2025-04-06T06:29:51","slug":"signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one","status":"publish","type":"post","link":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/","title":{"rendered":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f"},"content":{"rendered":"\n<p align=\"center\">\n  <\/p><div class=\"video-container-14 video-thumbnail\" onclick=\"loadVideo('video-container-14', 'E3EPbBWn8ik', 0)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - Forex MetaTrader \u6559\u7a0b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u63cf\u8ff0\"><strong>\u63cf\u8ff0<\/strong><\/h2>\n\n\n\n<p class=\"\">\u8ba9\u6211\u4eec\u7814\u7a76\u4e00\u4e0b<strong>\u6307\u6807 (indicators)<\/strong>\u7684\u884c\u4e3a\uff0c\u91cd\u70b9\u5173\u6ce8\u90a3\u4e9b<strong>\u7ed8\u5236 (draw)<\/strong>\u548c\u4e0d<strong>\u7ed8\u5236<\/strong>\u7684\u6307\u6807\u3002\u4f8b\u5982\uff0c\u8003\u8651\u4e00\u4e0b\u67f1 (Candle) \u6307\u6807\u4e0e\u5176\u4ed6\u6307\u6807\u53ef\u80fd\u5b58\u5728\u7684\u4e0d\u540c\u529f\u80fd\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u7f16\u7a0b\u4e2d\u7684\u4fe1\u53f7\u5dee\u5f02<\/strong>\u3002\u4f7f\u7528<strong>shift \u53c2\u6570 (shift parameter)<\/strong><\/p>\n\n\n\n<p class=\"\">\u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3<strong>\u6307\u6807 (indicators)<\/strong>\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u63a2\u7d22<strong>\u7ed8\u5236\u6307\u6807 (drawing indicators)<\/strong>\u548c<strong>\u975e\u7ed8\u5236\u6307\u6807 (non-drawing indicators)<\/strong>\u7684\u793a\u4f8b\u4f1a\u5f88\u6709\u5e2e\u52a9\u3002<\/p>\n\n\n\n<p class=\"\"><s><strong>\u7ed8\u5236\u6307\u6807 (Drawing indicators)<\/strong> (<strong>\u91cd\u7ed8 (Repaint)<\/strong>) \u662f\u90a3\u4e9b\u76f4\u63a5\u5728<strong>\u4ef7\u683c\u56fe\u8868 (price chart)<\/strong>\u4e0a\u7ed8\u5236\u7684\u6307\u6807\uff0c\u800c<strong>\u975e\u7ed8\u5236\u6307\u6807 (non-drawing indicators)<\/strong>\u5219\u5728\u5355\u72ec\u7684\u7a97\u53e3\u4e2d\u663e\u793a\u5176\u8f93\u51fa\u3002??????<\/s> <strong>\u5426<\/strong><\/p>\n\n\n\n<p class=\"\"><strong>\u7ed8\u5236 (Drawing)<\/strong> \u6216 <strong>\u91cd\u7ed8\u6307\u6807 (Redrawing Indicators)<\/strong> \u662f\u5728\u4ea4\u6613\u4e2d\u4f7f\u7528\u7684\u6280\u672f\u5de5\u5177\uff0c\u5b83\u4eec\u4f1a\u4fee\u6539\u5176<strong>\u4fe1\u53f7 (signals)<\/strong>\uff08\u4f8b\u5982\u7bad\u5934\uff09\u6216\u6539\u53d8<strong>\u4fe1\u53f7\u65b9\u5411 (signal direction)<\/strong>\uff0c\u4ee5\u5728\u5f53\u524d\u6216\u4e4b\u524d\u7684<strong>\u67f1 (Candle)<\/strong>\u4e0a\u63d0\u4f9b\u66f4\u51c6\u786e\u7684\u6307\u793a\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"has-text-align-center\"><strong>\u67f1 (Bar) = \u70db (Candle)\uff1a<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"415\" height=\"196\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2010\/08\/2024-10-30_12-41-22-2.jpg\" alt=\"\u67f1\u4e0e\u70db\u7684\u5173\u7cfb\u793a\u610f\u56fe\" class=\"wp-image-63295\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2010\/08\/2024-10-30_12-41-22-2.jpg 415w, https:\/\/expforex.com\/wp-content\/uploads\/2010\/08\/2024-10-30_12-41-22-2-300x142.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2010\/08\/2024-10-30_12-41-22-2-150x71.jpg 150w\" sizes=\"(max-width:767px) 415px, 415px\" \/><\/figure>\n<\/div><\/blockquote>\n\n\n\n<p class=\"\">\u8fd9\u4e9b<strong>\u6307\u6807 (indicators)<\/strong>\u5177\u6709\u91cd\u7ed8\u5176<strong>\u4fe1\u53f7 (signals)<\/strong>\u7684\u80fd\u529b\uff0c\u8fd9\u65e2\u53ef\u4ee5\u88ab\u89c6\u4e3a\u8fdd\u53cd\u4ea4\u6613\u8bda\u4fe1\uff0c\u53c8\u662f\u4e00\u79cd\u6b3a\u9a97\u884c\u4e3a\u3002<\/p>\n\n\n\n<p class=\"\">\u4e00\u4e9b<strong>\u6307\u6807 (indicators)<\/strong>\u6545\u610f\u91cd\u7ed8\u5176<strong>\u4fe1\u53f7 (signals)<\/strong>\u4ee5\u589e\u5f3a\u89c6\u89c9\u5438\u5f15\u529b\uff0c\u4f7f\u56fe\u8868\u66f4\u5177\u7f8e\u611f\u3002<\/p>\n\n\n\n<p class=\"\">\u5176\u4ed6<strong>\u6307\u6807 (indicators)<\/strong>\u5728\u5176\u6570\u5b66\u8ba1\u7b97\u4e2d\u6267\u884c\u91cd\u7ed8\uff0c\u4ee5\u63d0\u9ad8\u751f\u6210\u4fe1\u53f7\u7684\u51c6\u786e\u6027\u548c\u53ef\u9760\u6027\u3002<\/p>\n\n\n\n<p class=\"\">\u7136\u800c\uff0c\u5bf9\u4e8e\u6240\u6709<strong>\u6307\u6807 (indicators)<\/strong>\u6765\u8bf4\uff0c\u5728\u7b2c0\u6839<strong>\u67f1 (bar)<\/strong>\uff08Candle\uff09\u6216<strong>\u5f53\u524d\u67f1 (current bar)<\/strong>\uff08Candle\uff09\u4e0a\u7ed8\u5236\u662f\u6b63\u5e38\u884c\u4e3a\u3002\u8fd9\u4e00\u521d\u59cb\u7ed8\u5236\u786e\u4fdd\u6307\u6807\u4e0e\u6700\u65b0\u7684\u5e02\u573a\u6570\u636e\u6b63\u786e\u5bf9\u9f50\u3002<\/p>\n\n\n\n<p class=\"\">\u8ba9\u6211\u4eec\u63a2\u8ba8<strong>\u6307\u6807 (indicators)<\/strong>\u4e3a\u4f55\u91cd\u7ed8\u5176<strong>\u4fe1\u53f7 (signals)<\/strong>\u7684\u6839\u672c\u539f\u56e0\uff0c\u4ee5\u53ca\u8fd9\u5bf9<strong>\u4ea4\u6613\u7b56\u7565 (trading strategies)<\/strong>\u7684\u5f71\u54cd\u3002<\/p>\n\n\n\n<p class=\"\">\u8fd9\u4e24\u79cd\u7c7b\u578b\u7684<strong>\u6307\u6807 (indicators)<\/strong>\u4e4b\u95f4\u7684<strong>\u4fe1\u53f7 (signals)<\/strong>\u5dee\u5f02\u53ef\u80fd\u5f88\u5927\uff0c\u56e0\u6b64\u5728\u7f16\u7a0b<strong>\u4ea4\u6613\u7b56\u7565 (trading strategies)<\/strong>\u65f6\u7406\u89e3\u5b83\u4eec\u7684\u884c\u4e3a\u81f3\u5173\u91cd\u8981\u3002<\/p>\n\n\n\n<p class=\"\">\u5f71\u54cd<strong>\u6307\u6807 (indicators)<\/strong>\u884c\u4e3a\u7684\u4e00\u79cd\u65b9\u6cd5\u662f\u4f7f\u7528<strong>shift \u53c2\u6570 (shift parameter)<\/strong>\uff0c\u5b83\u5141\u8bb8\u60a8\u5c06\u6307\u6807\u8f93\u51fa\u5728\u65f6\u95f4\u4e0a\u5411\u524d\u6216\u5411\u540e\u79fb\u52a8\u3002<\/p>\n\n\n\n<p class=\"\">\u901a\u8fc7\u5c1d\u8bd5\u4e0d\u540c\u7684<strong>shift \u53c2\u6570 (shift parameter)<\/strong>\u503c\uff0c\u60a8\u53ef\u4ee5\u5fae\u8c03<strong>\u6307\u6807 (indicators)<\/strong>\u4ee5\u66f4\u597d\u5730\u4e0e\u60a8\u7684<strong>\u4ea4\u6613\u7b56\u7565 (trading strategy)<\/strong>\u5bf9\u9f50\uff0c\u4ece\u800c\u63d0\u9ad8\u60a8\u5728\u5e02\u573a\u4e2d\u6210\u529f\u7684\u673a\u4f1a\u3002<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"\">\u60a8\u8fd8\u53ef\u4ee5\u4f7f\u7528\u6211\u4eec\u7684\u901a\u7528<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA)<\/strong>\u901a\u8fc7\u7b56\u7565\u6d4b\u8bd5\u5668\u68c0\u67e5\u8fd9\u4e9b<strong>\u6307\u6807 (indicators)<\/strong>\uff1a<\/p>\n\n\n\n<p class=\"\"><a href=\"https:\/\/expforex.com\/xcustomea\/\" data-language=\"zh\"><strong>EA xCustomEA\uff1a\u9002\u7528\u4e8e iCustom \u6307\u6807\u7684\u901a\u7528\u4ea4\u6613\u987e\u95ee (Universal Trading Advisor for iCustom Indicators)<\/strong><\/a><a href=\"https:\/\/expforex.com\/xcustomea\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"zh\"><strong>\u3002\u5b9a\u5236\u7b56\u7565\u6784\u5efa\u5668 (Custom Strategy Builder)<\/strong><\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-metatrader wp-block-embed-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"dhyo5kP6MF\"><a href=\"https:\/\/expforex.com\/zh\/xcustomea\/\" data-language=\"zh\">EA The xCustomEA: Universal Trading Advisor for iCustom Indicators. Custom Strategy Builder<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;EA The xCustomEA: Universal Trading Advisor for iCustom Indicators. Custom Strategy Builder&#8221; &#8212; MetaTrader \u7684\u6700\u4f73\u521b\u610f\" src=\"https:\/\/expforex.com\/zh\/xcustomea\/embed\/#?secret=bpZg3CrFsr#?secret=dhyo5kP6MF\" data-secret=\"dhyo5kP6MF\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"\">\u6216\u8005\u4f7f\u7528\u6211\u4eec\u7684\u6a21\u62df\u5668\u5728\u7b56\u7565\u6d4b\u8bd5\u5668\u4e2d\uff1a<\/p>\n\n\n\n<p class=\"\"><a href=\"https:\/\/expforex.com\/testerpad\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"zh\"><strong>Forex Tester Pad \u662f\u4e00\u4e2a\u7528\u4e8e\u7b56\u7565\u6d4b\u8bd5\u5668\u7684\u5916\u6c47\u4ea4\u6613\u6a21\u62df\u5668\u3002\u4f7f\u7528\u6307\u6807\u8fdb\u884c\u4ea4\u6613\u3002<\/strong><\/a><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-metatrader wp-block-embed-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"jnWuacf6KY\"><a href=\"https:\/\/expforex.com\/zh\/testerpad\/\" data-language=\"zh\">Forex Tester Pad is a Forex trading simulator for strategy tester. Trading using indicators.<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;Forex Tester Pad is a Forex trading simulator for strategy tester. Trading using indicators.&#8221; &#8212; MetaTrader \u7684\u6700\u4f73\u521b\u610f\" src=\"https:\/\/expforex.com\/zh\/testerpad\/embed\/#?secret=gpTwxgk8kC#?secret=jnWuacf6KY\" data-secret=\"jnWuacf6KY\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n<\/blockquote>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u524d\u8a00\"><strong>\u524d\u8a00<\/strong><\/h3>\n\n\n\n<p class=\"\">\u672c\u6587\u5e94\u6211\u4eec\u7684\u5408\u4f5c\u4f19\u4f34\u7684\u8981\u6c42\u64b0\u5199\u3002<\/p>\n\n\n\n<p class=\"\">\u5728\u8ba2\u8d2d<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA) \u7f16\u7a0b<\/strong>\u65f6\uff0c\u60a8\u53ef\u4ee5\u5728\u6240\u6709\u6211\u7684\u987e\u95ee\u4e2d\u8c03\u6574<strong>\u4fe1\u53f7\u67f1 (signal bar)<\/strong>\u3002<\/p>\n\n\n\n<p class=\"\">\u5728\u7ebf\u4e0a\u5e38\u89c1\u5230\u62b1\u6028\u79f0\u4e00\u4e9b<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisors, EAs)<\/strong>\u56e0\u5176<strong>\u6307\u6807 (indicators)<\/strong>\u800c\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\u3002<\/p>\n\n\n\n<p class=\"\">\u6211\u5c06\u8be6\u7ec6\u89e3\u91ca\u8fd9\u4e9b\u4fe1\u53f7\u5e76\u5c55\u793a\u76f8\u53cd\u7684\u60c5\u51b5\uff1a\u6240\u6709<strong>\u6307\u6807 (indicators)<\/strong>\u90fd\u4f1a\u7ed8\u5236\uff0c\u5b83\u4eec\u53ea\u9700\u6b63\u786e\u4f7f\u7528\u5373\u53ef\u3002<\/p>\n\n\n\n<p class=\"\">\u672c\u6587\u6709\u4e00\u4e2a<strong>\u89c6\u9891\u7248\u672c (video version)<\/strong>\uff0c\u4f46\u5728\u89c2\u770b\u4e4b\u524d\uff0c\u6211\u5efa\u8bae\u5148\u9605\u8bfb\u6587\u672c\u7248\u672c\u4ee5\u83b7\u5f97\u66f4\u6df1\u5165\u7684\u7406\u89e3\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-shift-0-1-2-\u67f1-candle-\u6570\u91cf\"><strong>Shift (0,1,2&#8230;..) \u67f1 (Candle) \u6570\u91cf<\/strong><\/h2>\n\n\n\n<p class=\"\">\u8be5\u53c2\u6570\u8868\u793a\u60a8\u7684<strong>\u6307\u6807 (indicators)<\/strong>\u5c06\u4ece\u7b2c\u51e0\u4e2a<strong>\u67f1 (Bar)<\/strong>\u83b7\u53d6\u4fe1\u53f7\u3002<\/p>\n\n\n\n<p class=\"\">\u5728\u8ba2\u8d2d<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA)<\/strong>\u65f6\uff0c\u60a8\u5fc5\u987b\u6307\u5b9a\u4ee5\u4e0b\u4fe1\u53f7\u5b9a\u4e49\u53c2\u6570\uff1a\u5728\u4fe1\u53f7\u51fa\u73b0\u540e\u7acb\u5373\u5f00\u4ed3\uff0c\u6216\u7b49\u5f85\u4fe1\u53f7\u5728\u5df2\u5173\u95ed\u7684<strong>\u67f1 (Bar)<\/strong>\u4e0a\u5f62\u6210\u540e\uff0c\u4ec5\u5728\u4e0b\u4e00\u4e2a<strong>\u67f1 (Bar)<\/strong>\u5f00\u76d8\u65f6\u5f00\u4ed3\u3002<\/p>\n\n\n\n<p class=\"\">\u7531\u4e8e\u7b97\u6cd5\u7684\u4e0d\u540c\uff0c\u4e00\u4e9b<strong>\u6307\u6807 (indicators)<\/strong>\u6709\u660e\u786e\u7684\u5b9a\u4e49\uff1a\u4fe1\u53f7\u5728\u7b2c\u51e0\u6839<strong>\u67f1 (Bar)<\/strong>\u7ed9\u51fa\uff1f<\/p>\n\n\n\n<p class=\"\">\u5982\u679c\u8c08\u5230\u8ba2\u5355\u7684\u6e05\u6670\u5ea6\u548c\u6b63\u786e\u6267\u884c\uff0c\u5219\u4ea4\u6613\u5fc5\u987b\u4ec5\u5728\u5df2\u5173\u95ed\u7684<strong>\u67f1 (Bar)<\/strong>\u4e0a\u5904\u7406\uff0c\u5373<strong>\u53c2\u6570 shift=1<\/strong>\u3002<\/p>\n\n\n\n<p class=\"\">\u5982\u679c\u9700\u8981\u5728\u5f53\u524d<strong>\u67f1 (Bar)<\/strong>\u4e0a\u4fe1\u53f7\u51fa\u73b0\u65f6\u7acb\u5373\u5f00\u4ed3\uff0c\u5e76\u4e14<strong>\u6307\u6807 (indicator)<\/strong>\u5141\u8bb8\u8fd9\u6837\u505a\uff0c\u5219\u9700\u8981\u8bbe\u7f6e<strong>shift=0<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u4e13\u5bb6\u987e\u95ee-expert-advisor\"><strong><u>\u4e13\u5bb6\u987e\u95ee (Expert Advisor)<\/u><\/strong><\/h3>\n\n\n\n<p class=\"\">\u8be5<strong>EA<\/strong>\u662f\u4f7f\u7528\u6211\u4eec\u7684 <strong><a href=\"https:\/\/expforex.com\/zh\/exp-templates-8-tester-light-template-for-expert-advisor\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"zh\">EA \u7f16\u5199\u6a21\u677f (template for writing an EA)<\/a><\/strong>\u7f16\u5199\u7684\u3002<\/p>\n\n\n\n<p class=\"\">\u987e\u95ee\u7684\u6240\u6709\u529f\u80fd\u90fd\u5728\u6b64\u9875\u9762\u4e0a\u63cf\u8ff0\uff1a<a href=\"https:\/\/expforex.com\/zh\/functional-features-of-experts-from-www-expforex-com\/\" data-language=\"zh\"><strong>Forex \u987e\u95ee\u529f\u80fd (Forex Advisor Functions)<\/strong><\/a>\u3002<\/p>\n\n\n\n<p class=\"\">\u60a8\u53ef\u4ee5\u4ece\u4ee5\u4e0b\u94fe\u63a5\u4e0b\u8f7d\u5305\u88f9\uff1a<strong><u>\u4fe1\u53f7\u67f1 (Signal Bar)<\/u><\/strong> <a href=\"https:\/\/expforex.com\/zh\/?sdm_process_download=1&amp;download_id=6550\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"zh\" data-source=\"local\" data-intent=\"trial\"><strong><u>\u6d4b\u8bd5\u5305 (Testing Package)<\/u><\/strong><\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-1-\u79fb\u52a8\u5e73\u5747\u6307\u6807-moving-average-indicator\">1. <strong>\u79fb\u52a8\u5e73\u5747\u6307\u6807 (Moving Average Indicator)<\/strong><\/h2>\n\n\n\n<p class=\"\">MT4 \u7ec8\u7aef\u7684\u6807\u51c6<strong>\u6307\u6807 (indicator)<\/strong>\u5305\u62ec\u5e73\u5747\u5468\u671f\u3001\u5e73\u5747\u4ef7\u683c\u548c\u8bbe\u7f6e\u4e2d\u7684\u5e73\u5747\u7c7b\u578b\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u5e73\u5747\u7ebf\u4ea4\u53c9\u3002\u6162\u901f MA \u548c\u5feb\u901f MA \u7684\u4ea4\u53c9\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">double ExampleMA=iMA(Symbol(),0,20,0,MODE_SMA,PRICE_CLOSE,shift); \/\/ MA Call Example\ndouble ExampleMA2=iMA(Symbol(),0,50,0,MODE_SMA,PRICE_CLOSE,shift); \/\/ MA Call Example\ndouble ExampleMA23=iMA(Symbol(),0,20,0,MODE_SMA,PRICE_CLOSE,shift+1); \/\/ MA Call Example\ndouble ExampleMA22=iMA(Symbol(),0,50,0,MODE_SMA,PRICE_CLOSE,shift+1); \/\/ MA Call Example\n\nif(ExampleMA23&lt;ExampleMA22 &amp;&amp; ExampleMA&gt;ExampleMA2) Sig=1;\nif(ExampleMA23&gt;ExampleMA22 &amp;&amp; ExampleMA&lt;ExampleMA2) Sig=2;<\/pre>\n\n\n\n<p class=\"\">&nbsp; &nbsp; &nbsp; <\/p>\n\n\n\n<p class=\"\"><strong>Shift = 0 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 0)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img decoding=\"async\" width=\"640\" height=\"249\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/744257801.jpg\" alt=\"\u6307\u6807\u4ea4\u53c9 - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u67f1\u6570\u91cf\uff1a\u7528\u4e8e\u4fe1\u53f7\u7684\u67f1 Shift?\" class=\"wp-image-55183\" style=\"width:846px;height:auto\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/744257801.jpg 640w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/744257801-500x195.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/744257801-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/744257801-150x58.jpg 150w\" sizes=\"(max-width:767px) 640px, 640px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = 1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 1)<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2017\/08\/233003161-1200x466.jpg\" alt=\"\u79fb\u52a8\u5e73\u5747\u6307\u6807 2 - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u67f1\u6570\u91cf\uff1a\u7528\u4e8e\u4fe1\u53f7\u7684\u67f1 Shift?\" class=\"wp-image-27852\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/233003161.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u4e0d<strong>\u7ed8\u5236 (draw)<\/strong>\uff0c\u5141\u8bb8\u4e0e\u4efb\u4f55<strong>shift \u53c2\u6570 (shift)<\/strong>\u4e00\u8d77\u4f7f\u7528\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-15 video-thumbnail\" onclick=\"loadVideo('video-container-15', 'E3EPbBWn8ik', 288)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - \u79fb\u52a8\u5e73\u5747\u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-2-\u6307\u6807\u4ea4\u53c9-indicator-cross\">2. <strong>\u6307\u6807\u4ea4\u53c9 (Indicator Cross)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u57fa\u4e8e MA \u4ea4\u53c9\u7b56\u7565\u7684\u81ea\u5b9a\u4e49<strong>\u6307\u6807 (indicator)<\/strong>\uff0c\u5177\u6709\u9644\u52a0\u529f\u80fd\u3002\u5b83\u4ee5\u9ad8\u7cbe\u5ea6\u663e\u8457\u7ed8\u5236\u3002\u57281\u6839<strong>\u67f1 (Bar)<\/strong>\u4e0a\u4ea4\u53c9\u65f6\uff0c\u5728\u7b2c0\u6839<strong>\u67f1 (Bar)<\/strong>\u4e0a\u7ed8\u5236\u7bad\u5934\u5e76\u6301\u7eed\u91cd\u7ed8\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u7bad\u5934\u4ea4\u6613 (Arrow Trading)<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int Sig=0;\nif(shift!=-1)\n{\n  double UP=iCustom(Symbol(),0,\"cross\",0,shift);\n  double DN=iCustom(Symbol(),0,\"cross\",1,shift);\n}\nif(shift==-1)\n  for(int i=1;i&lt;=100;i++)\n  {\n    UP=iCustom(Symbol(),0,\"cross\",0,i);\n    DN=iCustom(Symbol(),0,\"cross\",1,i);\n    if(UP!=EMPTY_VALUE || DN!=EMPTY_VALUE) break;\n  }\n\nif(UP!=EMPTY_VALUE){Sig=1;}\nif(DN!=EMPTY_VALUE){Sig=2;}\n<\/pre>\n\n\n\n<p class=\"\"><strong>Shift = 0 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 0)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/412383051-1200x466.jpg\" alt=\"\u79fb\u52a8\u5e73\u5747\u6307\u6807 - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u67f1\u6570\u91cf\uff1a\u7528\u4e8e\u4fe1\u53f7\u7684\u67f1 Shift?\" class=\"wp-image-55207\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/412383051.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = 1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 1)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/585618821-1200x466.jpg\" alt=\"\u6307\u6807\u4ea4\u53c9 1 - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u67f1\u6570\u91cf\uff1a\u7528\u4e8e\u4fe1\u53f7\u7684\u67f1 Shift?\" class=\"wp-image-55221\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/585618821.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = -1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = -1)<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2017\/08\/773337551-1200x466.jpg\" alt=\"CurrencyPowerMeter \u6307\u6807 - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u67f1\u6570\u91cf\uff1a\u7528\u4e8e\u4fe1\u53f7\u7684\u67f1 Shift?\" class=\"wp-image-27849\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/773337551.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u663e\u8457\u7ed8\u5236\uff0c\u5f00\u53d1\u8005\u6545\u610f\u91cd\u7ed8\u4fe1\u53f7\u3002\u56e0\u6b64\uff0c\u4f7f\u7528\u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u4f5c\u4e3a\u4fe1\u53f7<strong>\u6307\u6807 (indicator)<\/strong>\u662f\u6709\u98ce\u9669\u7684\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-16 video-thumbnail\" onclick=\"loadVideo('video-container-16', 'E3EPbBWn8ik', 464)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - CurrencyPowerMeter \u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-3-currencypowermeter-\u6307\u6807-currencypowermeter-indicator\">3. <strong>CurrencyPowerMeter \u6307\u6807 (CurrencyPowerMeter Indicator)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u4e00\u4e2a\u81ea\u5b9a\u4e49<strong>\u6307\u6807 (indicator)<\/strong>\uff0c\u7528\u4e8e\u8861\u91cf\u8d27\u5e01\u7684\u5f3a\u5ea6\u3002\u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u4f7f\u7528\u5bf9\u8c61\u64cd\u4f5c\uff0c\u56e0\u6b64<strong>shift \u53c2\u6570 (shift)<\/strong>\u65e0\u5173\u7d27\u8981\u3002\u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u7684<strong>\u4ea4\u6613\u7b56\u7565 (trading strategy)<\/strong>\u57fa\u4e8e\u4ece\u56fe\u8868\u4e0a\u7684\u5bf9\u8c61\u6307\u793a\u800c\u4e0d\u662f\u4ece<strong>\u6307\u6807\u7f13\u51b2\u533a (indicator buffer)<\/strong>\u63d0\u53d6\u503c\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u4ea4\u6613\u8d27\u5e01\u5f3a\u5ea6\u5dee\u5f02<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">double EUR_HOUR[1];\ndouble GBP_HOUR[1];\ndouble AUD_HOUR[1];\ndouble NZD_HOUR[1];\ndouble USD_HOUR[1];\ndouble CAD_HOUR[1];\ndouble CHF_HOUR[1];\ndouble JPY_HOUR[1];\n\ndouble PervayaValuta;\ndouble VtorayaValuta;\nstring note=\" Authentication SETTINGS ==\";\nstring username = \"\";\nstring password = \"\";\ndouble trend;\nstring DATATRend;\n\ntrend=iCustom(Symbol(),0,\"CurrencyPowerMeter\",0,0);\n\nEUR_HOUR[0]=StringToDouble(ObjectDescription(\"CPMEUR_Str_h\"));\nGBP_HOUR[0]=StringToDouble(ObjectDescription(\"CPMGBP_Str_h\"));\nAUD_HOUR[0]=StringToDouble(ObjectDescription(\"CPMAUD_Str_h\"));\nNZD_HOUR[0]=StringToDouble(ObjectDescription(\"CPMNZD_Str_h\"));\nUSD_HOUR[0]=StringToDouble(ObjectDescription(\"CPMUSD_Str_h\"));\nCAD_HOUR[0]=StringToDouble(ObjectDescription(\"CPMCAD_Str_h\"));\nCHF_HOUR[0]=StringToDouble(ObjectDescription(\"CPMCHF_Str_h\"));\nJPY_HOUR[0]=StringToDouble(ObjectDescription(\"CPMJPY_Str_h\"));\n\nif(StringSubstr(Symbol(),0,3)==\"USD\") PervayaValuta=USD_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"GBP\") PervayaValuta=GBP_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"EUR\") PervayaValuta=EUR_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"AUD\") PervayaValuta=AUD_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"NZD\") PervayaValuta=NZD_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"CAD\") PervayaValuta=CAD_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"CHF\") PervayaValuta=CHF_HOUR[0];\nif(StringSubstr(Symbol(),0,3)==\"JPY\") PervayaValuta=JPY_HOUR[0];\n\nif(StringSubstr(Symbol(),3,3)==\"USD\") VtorayaValuta=USD_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"GBP\") VtorayaValuta=GBP_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"EUR\") VtorayaValuta=EUR_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"AUD\") VtorayaValuta=AUD_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"NZD\") VtorayaValuta=NZD_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"CAD\") VtorayaValuta=CAD_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"CHF\") VtorayaValuta=CHF_HOUR[0];\nif(StringSubstr(Symbol(),3,3)==\"JPY\") VtorayaValuta=JPY_HOUR[0];\n\nif(PervayaValuta - VtorayaValuta &gt; 0) return(1);\nif(PervayaValuta - VtorayaValuta &lt; 0) return(2);\nreturn(0);\n<\/pre>\n\n\n\n<p class=\"\"><strong>\u5de5\u4f5c\u793a\u4f8b (Work Examples)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/635897331-1200x466.jpg\" alt=\"\" class=\"wp-image-55281\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/635897331.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = 0 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 0)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/228485601-1200x466.jpg\" alt=\"\" class=\"wp-image-55293\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/228485601.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u7ed8\u5236\uff0c\u56e0\u6b64\u6211\u4e0d\u5efa\u8bae\u4ece\u4e2d\u83b7\u53d6\u4fe1\u53f7\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-19 video-thumbnail\" onclick=\"loadVideo('video-container-19', 'E3EPbBWn8ik', 887)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - Fisher \u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-6-hma-\u989c\u8272\u6307\u6807-hma-color-indicator\">6. <strong>HMA \u989c\u8272\u6307\u6807 (HMA Color Indicator)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u4e00\u4e2a\u81ea\u5b9a\u4e49<strong>\u6307\u6807 (indicator)<\/strong>\uff0c\u57fa\u4e8e MA \u8fd0\u7b97\u5e76\u6839\u636e\u5176\u516c\u5f0f\u8ba1\u7b97\u4fe1\u53f7\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u989c\u8272\u53d8\u5316\u4ea4\u6613<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int Sig=0;\n\ndouble HMARED=iCustom(Symbol(),0,\"HMA Color\",3,shift);\ndouble HMAGREEN=iCustom(Symbol(),0,\"HMA Color\",1,shift);\n\ndouble HMARED2=iCustom(Symbol(),0,\"HMA Color\",3,shift+1);\ndouble HMAGREEN2=iCustom(Symbol(),0,\"HMA Color\",1,shift+1);\n\n\/\/ \u6307\u5b9a\u5f00\u4ed3\u4fe1\u53f7\uff1a\nif(HMAGREEN!=EMPTY_VALUE &amp;&amp; HMAGREEN2==EMPTY_VALUE) Sig=1;\nif(HMARED!=EMPTY_VALUE &amp;&amp; HMARED2==EMPTY_VALUE) Sig=2;\n<\/pre>\n\n\n\n<p class=\"\"><strong>\u5de5\u4f5c\u793a\u4f8b (Work Examples)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/715013981-1200x466.jpg\" alt=\"\" class=\"wp-image-55305\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/715013981.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = 1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 1)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/805616471-1200x466.jpg\" alt=\"\" class=\"wp-image-55317\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/805616471.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u4e0d<strong>\u7ed8\u5236 (draw)<\/strong>\u3002\u7136\u800c\uff0c\u5b83\u4f7f\u7528\u4e0a\u8ff0\u6280\u5de7\u653e\u7f6e\u4fe1\u53f7\u3002\u8fd9\u662f\u4e3a\u6570\u4e0d\u591a\u7684\u63d0\u4f9b\u76f8\u5f53\u826f\u597d\u4fe1\u53f7\u7684<strong>\u6307\u6807 (indicators)<\/strong>\u4e4b\u4e00\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-20 video-thumbnail\" onclick=\"loadVideo('video-container-20', 'E3EPbBWn8ik', 980)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - HMA \u989c\u8272\u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-7-macd-\u6307\u6807-macd-indicator\">7. <strong>MACD \u6307\u6807 (MACD Indicator)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u6807\u51c6 MT \u7ec8\u7aef<strong>\u6307\u6807 (indicator)<\/strong>\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u5728\u4fe1\u53f7\u7ebf\u548c\u76f4\u65b9\u56fe\u7684\u4ea4\u53c9\u5904\u8fdb\u884c\u4ea4\u6613<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int Sig=0;\n\ndouble MACD_SIGNAL1=iMACD(Symbol(),0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,shift); \/\/ MA Call Example\n\ndouble MACD_SIGNAL2=iMACD(Symbol(),0,12,26,9,PRICE_CLOSE,MODE_SIGNAL,shift+1); \/\/ MA Call Example\n\ndouble MACD_MAIN1=iMACD(Symbol(),0,12,26,9,PRICE_CLOSE,MODE_MAIN,shift); \/\/ MA Call Example\ndouble MACD_MAIN2=iMACD(Symbol(),0,12,26,9,PRICE_CLOSE,MODE_MAIN,shift+1); \/\/ MA Call Example\n\nif(MACD_SIGNAL2&lt;MACD_MAIN2 &amp;&amp; MACD_SIGNAL1&gt;MACD_MAIN1) Sig=1;\nif(MACD_SIGNAL2&gt;MACD_MAIN2 &amp;&amp; MACD_SIGNAL1&lt;MACD_MAIN1) Sig=2;\n<\/pre>\n\n\n\n<p class=\"\"><strong>\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 0)<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1500\" height=\"583\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2017\/08\/002116091.jpg\" alt=\"\" class=\"wp-image-27841\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091.jpg 1500w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/002116091-700x272.jpg 700w\" sizes=\"(max-width:767px) 700px, (max-width:1500px) 100vw, 1500px\" \/><\/figure>\n<\/div>\n\n\n<p class=\"\"><strong>Shift = 1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 1)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/440719101-1200x466.jpg\" alt=\"\" class=\"wp-image-55341\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/440719101.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u57281\u6839\u5df2\u5173\u95ed\u7684<strong>\u67f1 (Bar)<\/strong>\u4e0a\u4e0d<strong>\u91cd\u7ed8 (redraw)<\/strong>\uff0c\u56e0\u6b64\u60a8\u53ef\u4ee5\u81ea\u7531\u4f7f\u7528<strong>shift=1<\/strong>\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-115 video-thumbnail\" onclick=\"loadVideo('video-container-115', 'E3EPbBWn8ik', 1195)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - MACD \u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-8-zigzag-\u6307\u6807-zigzag-indicator\">8. <strong>ZIGZAG \u6307\u6807 (ZIGZAG Indicator)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u6807\u51c6 MT \u7ec8\u7aef<strong>\u6307\u6807 (indicator)<\/strong>\u3002\u57fa\u4e8e\u7279\u5b9a\u533a\u57df\u7684\u9ad8\u4f4e\u6784\u5efa\u9876\u90e8\u548c\u5e95\u90e8\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u4ea4\u6613\u9876\u90e8\u548c\u5e95\u90e8\u7684\u5f62\u6210\u3002\u4e0d\u5efa\u8bae\u5728\u5177\u6709\u4ed3\u4f4d\u7684<strong>\u6307\u6807 (indicator)<\/strong>\u4e0a\u8fdb\u884c\u4ea4\u6613\u3002\u8fd9\u662f\u4e00\u79cd\u826f\u597d\u7684\u9650\u5236\u7b56\u7565\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int Sig=0;\n\ndouble PriceZZ1=GetExtremumZZPrice(Symbol(),0,1);\ndouble PriceZZ2=GetExtremumZZPrice(Symbol(),0,2);\n\ndouble priceUP, priceDN;\n\nif(PriceZZ2&gt;PriceZZ1) { priceUP=PriceZZ2; priceDN=PriceZZ1; Sig=2; }\nif(PriceZZ2&lt;PriceZZ1) { priceUP=PriceZZ1; priceDN=PriceZZ2; Sig=1; }\n<\/pre>\n\n\n\n<p class=\"\"><strong>\u5de5\u4f5c\u793a\u4f8b (Examples of Work)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/329884391-1200x466.jpg\" alt=\"\" class=\"wp-image-55353\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/329884391.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u7ed8\u5236\u9876\u90e8\u548c\u5e95\u90e8\uff0c\u56e0\u6b64<strong>shift \u53c2\u6570 (shift)<\/strong>\u65e0\u5173\u7d27\u8981\u3002\u8be5<strong>\u7b56\u7565 (strategy)<\/strong>\u7684\u72ec\u7279\u6761\u4ef6\u5141\u8bb8\u5728\u8be5<strong>\u6307\u6807 (indicator)<\/strong>\u4e0a\u6210\u529f\u4ea4\u6613\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-125 video-thumbnail\" onclick=\"loadVideo('video-container-125', 'E3EPbBWn8ik', 1316)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - ZIGZAG \u6307\u6807\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-9-bars-\u6309\u8bf7\u6c42\u5de5\u4f5c-bars-work-on-request\">9. <strong>BARS \u6309\u8bf7\u6c42\u5de5\u4f5c (BARS Work on Request)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u5728\u6807\u51c6 MT \u7ec8\u7aef\u7684<strong>\u67f1 (Bars)<\/strong>\u4e0a\u64cd\u4f5c\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u4ea4\u6613\u7b56\u7565 (Trading Strategy):<\/strong> \u5982\u679c<strong>\u67f1 (Bar)<\/strong>\u770b\u6da8\uff0c\u5219\u5f00\u591a\uff1b\u5982\u679c<strong>\u67f1 (Bar)<\/strong>\u770b\u8dcc\uff0c\u5219\u5f00\u7a7a\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u7b56\u7565\u4ee3\u7801 (Strategy Code):<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">int Sig=0;\n\nif(Open[shift] &lt; Close[shift]) Sig=1;\nif(Open[shift] &gt; Close[shift]) Sig=2;\n<\/pre>\n\n\n\n<p class=\"\"><strong>\u5de5\u4f5c\u793a\u4f8b (Examples of Work)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/262471721-1200x466.jpg\" alt=\"\" class=\"wp-image-55365\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/262471721.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>Shift = 1 \u7684\u5de5\u4f5c\u793a\u4f8b (Examples of Work with Shift = 1)<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1200\" height=\"466\" src=\"https:\/\/expforex.com\/zh\/wp-content\/uploads\/2008\/08\/208008751-1200x466.jpg\" alt=\"\" class=\"wp-image-55377\" srcset=\"https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-1200x466.jpg 1200w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-500x194.jpg 500w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-300x117.jpg 300w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-768x298.jpg 768w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-150x58.jpg 150w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751-700x272.jpg 700w, https:\/\/expforex.com\/wp-content\/uploads\/2008\/08\/208008751.jpg 1500w\" sizes=\"(max-width:767px) 700px, (max-width:1200px) 100vw, 1200px\" \/><\/figure>\n\n\n\n<p class=\"\"><strong>\u89e3\u91ca (Explanation):<\/strong> \u8fd9\u662f<strong>shift \u53c2\u6570 (shift)<\/strong>\u5982\u4f55\u5de5\u4f5c\u7684\u5b8c\u7f8e\u793a\u4f8b\uff0c\u5c55\u793a\u4e86\u5982\u4f55\u57fa\u4e8e\u6b64\u53c2\u6570\u4ea4\u6613<strong>\u7b56\u7565 (strategies)<\/strong>\u3002<\/p>\n\n\n\n<p class=\"\"><strong>\u89c6\u9891\u793a\u4f8b (Video Example):<\/strong><\/p>\n\n\n\n<p align=\"center\">\n  <\/p><div class=\"video-container-135 video-thumbnail\" onclick=\"loadVideo('video-container-135', 'E3EPbBWn8ik', 1473)\">\n    <img decoding=\"async\" src=\"https:\/\/expforex.com\/wp-content\/uploads\/2024\/10\/hqdefault1-1.jpg\" alt=\"\u89c6\u9891\u7f29\u7565\u56fe - BARS \u6309\u8bf7\u6c42\u5de5\u4f5c\u793a\u4f8b\" class=\"video-image\">\n    <div class=\"play-button\"><\/div>\n  <\/div>\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u7ed3\u8bba-conclusions\"><strong>\u7ed3\u8bba (Conclusions)<\/strong><\/h3>\n\n\n\n<p class=\"\">\u8fd9\u7bc7\u4fe1\u606f\u4e30\u5bcc\u7684\u6587\u7ae0\u63d0\u4f9b\u4e86\u4f7f\u7528\u5404\u79cd<strong>\u6307\u6807 (indicators)<\/strong>\u4e0e\u4e0d\u540c<strong>shift \u53c2\u6570 (shift parameter)<\/strong>\u503c\u7684\u6709\u7528\u793a\u4f8b\u3002<\/p>\n\n\n\n<p class=\"\">\u6bcf\u4e2a<strong>\u6307\u6807 (indicator)<\/strong>\u90fd\u662f\u72ec\u4e00\u65e0\u4e8c\u7684\uff1b\u56e0\u6b64\uff0c\u5728\u521b\u5efa<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA)<\/strong>\u65f6\uff0c\u5fc5\u987b\u8003\u8651<strong>\u6307\u6807 (indicator)<\/strong>\u7684\u7c7b\u578b\u53ca\u5176\u4fe1\u53f7\u3002<\/p>\n\n\n\n<p class=\"\">\u5728\u8058\u8bf7\u7a0b\u5e8f\u5458\u521b\u5efa<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA)<\/strong>\u4e4b\u524d\uff0c\u9996\u5148\u6d4b\u8bd5\u60a8\u7684<strong>\u6307\u6807 (indicator)<\/strong>\u662f\u5426\u5b58\u5728\u4efb\u4f55<strong>\u91cd\u7ed8 (redrawing)<\/strong>\u95ee\u9898\u975e\u5e38\u91cd\u8981\u3002<\/p>\n\n\n\n<p class=\"\">\u8fd9\u662f\u81f3\u5173\u91cd\u8981\u7684\uff0c\u56e0\u4e3a\u60a8\u7684\u673a\u5668\u4eba\u4ea4\u6613\u7684\u53ef\u9760\u6027\u548c\u6709\u6548\u6027\u5c06\u53d6\u51b3\u4e8e\u60a8\u7684<strong>\u6307\u6807 (indicator)<\/strong>\u7684\u51c6\u786e\u6027\u3002<\/p>\n\n\n\n<p class=\"\">\u56e0\u6b64\uff0c\u5efa\u8bae\u60a8\u5728\u7ee7\u7eed\u521b\u5efa<strong>\u4e13\u5bb6\u987e\u95ee (Expert Advisor, EA)<\/strong>\u4e4b\u524d\uff0c\u5f7b\u5e95\u68c0\u67e5\u548c\u6d4b\u8bd5\u60a8\u7684<strong>\u6307\u6807 (indicator)<\/strong>\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-\u987e\u95ee-advisor\"><strong>\u987e\u95ee (Advisor)<\/strong><\/h3>\n\n\n\n<p class=\"\">\u8be5<strong>EA<\/strong>\u662f\u4f7f\u7528\u6211\u4eec\u7684 <strong><a href=\"https:\/\/expforex.com\/zh\/exp-templates-8-tester-light-template-for-expert-advisor\/\" target=\"_blank\" rel=\"noreferrer noopener\" data-language=\"zh\">EA \u7f16\u5199\u6a21\u677f (template for writing an EA)<\/a><\/strong>\u7f16\u5199\u7684\u3002<\/p>\n\n\n\n<p class=\"\">\u6240\u6709\u987e\u95ee\u529f\u80fd\u90fd\u5728\u6b64\u9875\u9762\u4e0a\u63cf\u8ff0\uff1a<a href=\"https:\/\/expforex.com\/zh\/functional-features-of-experts-from-www-expforex-com\/\" data-language=\"zh\"><strong>Forex \u987e\u95ee\u529f\u80fd (Forex Advisor Functions)<\/strong><\/a>\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-metatrader wp-block-embed-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"XVWHgIJn1g\"><a href=\"https:\/\/expforex.com\/zh\/xcustomea\/\" data-language=\"zh\">EA The xCustomEA: Universal Trading Advisor for iCustom Indicators. Custom Strategy Builder<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;EA The xCustomEA: Universal Trading Advisor for iCustom Indicators. Custom Strategy Builder&#8221; &#8212; MetaTrader \u7684\u6700\u4f73\u521b\u610f\" src=\"https:\/\/expforex.com\/zh\/xcustomea\/embed\/#?secret=jDgAPJ6nf5#?secret=XVWHgIJn1g\" data-secret=\"XVWHgIJn1g\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"\">\u5982\u679c\u60a8\u60f3\u4e3a\u60a8\u7684<strong>\u6307\u6807 (indicator)<\/strong>\u521b\u5efa\u8b66\u62a5\uff0c\u8bf7\u9605\u8bfb\u6211\u4eec\u7684\u6587\u7ae0\uff1a<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-metatrader wp-block-embed-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"hF4x2cEXC5\"><a href=\"https:\/\/expforex.com\/zh\/alert-in-indicator-how-to-insert-alert-and-arrow-into-an-indicator\/\" data-language=\"zh\">\u6307\u6807\u4e2d\u7684\u8b66\u62a5\u3002\u5982\u4f55\u5728\u6307\u6807\u4e2d\u63d2\u5165 \u201c\u8b66\u62a5 \u201d\u548c \u201c\u7bad\u5934\u201d\uff1f<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u6307\u6807\u4e2d\u7684\u8b66\u62a5\u3002\u5982\u4f55\u5728\u6307\u6807\u4e2d\u63d2\u5165 \u201c\u8b66\u62a5 \u201d\u548c \u201c\u7bad\u5934\u201d\uff1f&#8221; &#8212; MetaTrader \u7684\u6700\u4f73\u521b\u610f\" src=\"https:\/\/expforex.com\/zh\/alert-in-indicator-how-to-insert-alert-and-arrow-into-an-indicator\/embed\/#?secret=UjCvcRZkH1#?secret=hF4x2cEXC5\" data-secret=\"hF4x2cEXC5\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-metatrader wp-block-embed-metatrader\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"UTSl6MmxEw\"><a href=\"https:\/\/expforex.com\/zh\/ind-crossobjectalert-alert-indicator-when-crossing-with-objects-for-mt4-and-mt5-terminals\/\" data-language=\"zh\">CrossObjectALert Alert indicator when crossing with objects for mt4 and mt5 terminals<\/a><\/blockquote><iframe class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;CrossObjectALert Alert indicator when crossing with objects for mt4 and mt5 terminals&#8221; &#8212; MetaTrader \u7684\u6700\u4f73\u521b\u610f\" src=\"https:\/\/expforex.com\/zh\/ind-crossobjectalert-alert-indicator-when-crossing-with-objects-for-mt4-and-mt5-terminals\/embed\/#?secret=sTgj3tSIYo#?secret=UTSl6MmxEw\" data-secret=\"UTSl6MmxEw\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-\u6709\u95ee\u9898\u5417-questions\"><strong>\u6709\u95ee\u9898\u5417\uff1f (Questions?)<\/strong><\/h2>\n\n\n\n<p class=\"\">\u5982\u679c\u60a8\u6709\u4efb\u4f55\u95ee\u9898\uff0c\u8bf7\u968f\u65f6\u63d0\u95ee\u3002\u6211\u4eec\u4e0d\u5356\u201c\u6346\u7ed1\u9500\u552e\u201d\u7684\u4ea7\u54c1\u3002<\/p>\n\n\n\n<p class=\"\">\u6211\u4eec\u7684\u6bcf\u4e2a\u4ea7\u54c1\u5728\u8d2d\u4e70\u524d\u90fd\u53ef\u4ee5\u8fdb\u884c\u6d4b\u8bd5\u3002<\/p>\n\n\n\n<p class=\"\">\u6211\u4eec\u611f\u8c22\u60a8\u5bf9\u6211\u4eec\u4ea7\u54c1\u7684\u53cd\u9988\u548c\u671f\u671b\uff0c\u5e76\u52aa\u529b\u4fdd\u6301\u9ad8\u8d28\u91cf\u6807\u51c6\u3002<\/p>\n\n\n\n<p class=\"\">\u611f\u8c22\u60a8\u4e0e\u6211\u4eec\u540c\u884c\uff01<\/p>\n\n\n\n<div class=\"wp-block-columns has-electric-grass-gradient-background has-background has-medium-font-size is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:50%\">\n<p align=\"center\"><strong>\u60a8\u6709\u95ee\u9898\u5417\uff1f (Do you have a question?)<\/strong><\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:1%\"><\/div>\n\n\n\n<div class=\"wp-block-column is-vertically-aligned-center has-large-font-size is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:49%\">\n<div class=\"wp-block-essential-blocks-icon  root-eb-icon-ih3ws\"><div class=\"eb-parent-wrapper eb-parent-eb-icon-ih3ws \"><div class=\"eb-icon-wrapper eb-icon-ih3ws eb-icon-view-default\" data-id=\"eb-icon-ih3ws\"><div class=\"eb-icon-container\"><i icon=\"fas fa-comment\" class=\"fas fa-comment \"><\/i><\/div><\/div><\/div><\/div>\n<\/div>\n<\/div>\n\n\n\n<p class=\"\"><\/p>\n\n\n\n<div class=\"wp-block-comments has-white-background-color has-background\">\t<div id=\"respond\" class=\"comment-respond wp-block-post-comments-form\">\n\t\t<h3 id=\"reply-title\" class=\"comment-reply-title\">Leave a Reply <small><a rel=\"nofollow\" id=\"cancel-comment-reply-link\" href=\"\/zh\/wp-json\/wp\/v2\/posts\/63364#respond\" style=\"display:none;\" data-language=\"zh\">Cancel reply<\/a><\/small><\/h3><form action=\"https:\/\/expforex.com\/wp-comments-post.php\" method=\"post\" id=\"commentform\" class=\"comment-form\"><p class=\"comment-notes\"><span id=\"email-notes\">Your email address will not be published.<\/span> <span class=\"required-field-message\">Required fields are marked <span class=\"required\">*<\/span><\/span><\/p><p class=\"comment-form-comment\"><label for=\"comment\">Comment <span class=\"required\">*<\/span><\/label> <textarea id=\"comment\" name=\"comment\" cols=\"45\" rows=\"8\" maxlength=\"65525\" required=\"required\"><\/textarea><\/p><input name=\"wpml_language_code\" type=\"hidden\" value=\"zh\" \/><p class=\"comment-form-author\"><label for=\"author\">Name <span class=\"required\">*<\/span><\/label> <input id=\"author\" name=\"author\" type=\"text\" value=\"\" size=\"30\" maxlength=\"245\" autocomplete=\"name\" required=\"required\" \/><\/p>\n<p class=\"comment-form-email\"><label for=\"email\">Email <span class=\"required\">*<\/span><\/label> <input id=\"email\" name=\"email\" type=\"text\" value=\"\" size=\"30\" maxlength=\"100\" aria-describedby=\"email-notes\" autocomplete=\"email\" required=\"required\" \/><\/p>\n<p class=\"comment-form-url\"><label for=\"url\">Website<\/label> <input id=\"url\" name=\"url\" type=\"text\" value=\"\" size=\"30\" maxlength=\"200\" autocomplete=\"url\" \/><\/p>\n<p class=\"comment-form-cookies-consent\"><input id=\"wp-comment-cookies-consent\" name=\"wp-comment-cookies-consent\" type=\"checkbox\" value=\"yes\" \/> <label for=\"wp-comment-cookies-consent\">Save my name, email, and website in this browser for the next time I comment.<\/label><\/p>\n\t<script>document.addEventListener(\"DOMContentLoaded\", function() { setTimeout(function(){ var e=document.getElementById(\"cf-turnstile-c-1398648509\"); if(e&&!e.innerHTML.trim()){turnstile.render(e, {sitekey:\"0x4AAAAAABufDnsNvmIbBbxd\"});} }, 200); });<\/script>\r\n\t<p class=\"form-submit\"><span id=\"cf-turnstile-c-1398648509\" class=\"cf-turnstile cf-turnstile-comments\" data-action=\"wordpress-comment\" data-callback=\"\" data-sitekey=\"0x4AAAAAABufDnsNvmIbBbxd\" data-theme=\"light\" data-language=\"auto\" data-appearance=\"always\" data-size=\"normal\" data-retry=\"auto\" data-retry-interval=\"1000\"><\/span><br class=\"cf-turnstile-br cf-turnstile-br-comments\"><input name=\"submit\" type=\"submit\" id=\"submit\" class=\"submit\" value=\"Post Comment\" \/><script type=\"text\/javascript\">document.addEventListener(\"DOMContentLoaded\", function() { document.body.addEventListener(\"click\", function(event) { if (event.target.matches(\".comment-reply-link, #cancel-comment-reply-link\")) { turnstile.reset(\".comment-form .cf-turnstile\"); } }); });<\/script> <input type='hidden' name='comment_post_ID' value='63364' id='comment_post_ID' \/>\n<input type='hidden' name='comment_parent' id='comment_parent' value='0' \/>\n<\/p><\/form>\t<\/div><!-- #respond -->\n\t\n\n\n\n\n\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u63cf\u8ff0 \u8ba9\u6211\u4eec\u7814\u7a76\u4e00\u4e0b\u6307\u6807 (indicators)\u7684\u884c\u4e3a\uff0c\u91cd\u70b9\u5173\u6ce8\u90a3\u4e9b\u7ed8\u5236 (draw)\u548c\u4e0d\u7ed8\u5236\u7684\u6307\u6807\u3002\u4f8b\u5982\uff0c\u8003\u8651\u4e00\u4e0b\u67f1 (Candle) \u6307\u6807\u4e0e\u5176\u4ed6\u6307\u6807\u53ef\u80fd\u5b58\u5728\u7684\u4e0d\u540c\u529f\u80fd\u3002 \u7f16\u7a0b\u4e2d\u7684\u4fe1\u53f7\u5dee\u5f02\u3002\u4f7f\u7528shift \u53c2\u6570 (shift parameter) \u4e3a\u4e86\u66f4\u597d\u5730\u7406\u89e3\u6307\u6807 (indicators)\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u63a2\u7d22\u7ed8\u5236\u6307\u6807 (drawing indicators)\u548c\u975e\u7ed8\u5236\u6307\u6807 (non-drawing indicators)\u7684\u793a\u4f8b\u4f1a\u5f88\u6709\u5e2e\u52a9\u3002 \u7ed8\u5236\u6307\u6807 (Drawing indicators) (\u91cd\u7ed8 (Repaint)) \u662f\u90a3\u4e9b\u76f4\u63a5\u5728\u4ef7\u683c\u56fe\u8868 (price chart)\u4e0a\u7ed8\u5236\u7684\u6307\u6807\uff0c\u800c\u975e\u7ed8\u5236\u6307\u6807 (non-drawing indicators)\u5219\u5728\u5355\u72ec\u7684\u7a97\u53e3\u4e2d\u663e\u793a\u5176\u8f93\u51fa\u3002?????? \u5426 \u7ed8\u5236 (Drawing) \u6216 \u91cd\u7ed8\u6307\u6807 (Redrawing Indicators) \u662f\u5728\u4ea4\u6613\u4e2d\u4f7f\u7528\u7684\u6280\u672f\u5de5\u5177\uff0c\u5b83\u4eec\u4f1a\u4fee\u6539\u5176\u4fe1\u53f7 (signals)\uff08\u4f8b\u5982\u7bad\u5934\uff09\u6216\u6539\u53d8\u4fe1\u53f7\u65b9\u5411 (signal direction)\uff0c\u4ee5\u5728\u5f53\u524d\u6216\u4e4b\u524d\u7684\u67f1 (Candle)\u4e0a\u63d0\u4f9b\u66f4\u51c6\u786e\u7684\u6307\u793a\u3002 \u8fd9\u4e9b\u6307\u6807 (indicators)\u5177\u6709\u91cd\u7ed8\u5176\u4fe1\u53f7<span class=\"excerpt-hellip\"> [\u2026]<\/span><\/p>\n","protected":false},"author":2,"featured_media":63366,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_eb_attr":"","_eb_data_table":"","footnotes":""},"categories":[516],"tags":[4834,4399,4829,4830,4833,4832,4831],"class_list":["post-63364","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-metatrader-faq-zh","tag--zh","tag-4399","tag-4829","tag--ea","tag-4833","tag-4832","tag-4831"],"acf":{"metatrader4":"MT4","metatrader5":"MT5","type":"","typebrief":"","mt4buy":"https:\/\/www.mql5.com\/en\/users\/vladon\/seller#products","mt5buy":"https:\/\/www.mql5.com\/en\/users\/vladon\/seller#products","typefreedemo":"FREE","downloadfreedemo":"","DirectDownloadLink":"","versions":"23.999","version_date":"2023 12 12","postanotherid":"0","direct5":"","direct4":"","testimonials_list":"","schema_name":"","schema_description":"","schema_type":"Utilities","schema_ratingValue":"5","schema_ratingCount":"50","schema_highPrice_MT4":"50.00","schema_rentprice_MT4":"0.00","schema_highPrice_MT5":"50.00","schema_rentprice_MT5":"0.00"},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f<\/title>\n<meta name=\"description\" content=\"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\" \/>\n<meta property=\"og:description\" content=\"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\" \/>\n<meta property=\"og:url\" content=\"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/\" \/>\n<meta property=\"og:site_name\" content=\"MetaTrader \u7684\u6700\u4f73\u521b\u610f\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ExpForex\/\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/ExpForex\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-01-21T06:58:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-04-06T06:29:51+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Expforex Vladislav\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Expforex Vladislav\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/\"},\"author\":{\"name\":\"Expforex Vladislav\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"headline\":\"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\",\"datePublished\":\"2025-01-21T06:58:00+00:00\",\"dateModified\":\"2025-04-06T06:29:51+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/\"},\"wordCount\":386,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"image\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Signal-Bar-1.png\",\"keywords\":[\"\u4fe1\u53f7\",\"\u6307\u793a\u5668\u4e2d\u7684\u7bad\u5934\",\"\u81ea\u5b9a\u4e49\u6307\u6807\",\"\u81ea\u5b9a\u4e49\u6307\u6807 EA\",\"\u8f6e\u73ed\",\"\u9152\u5427\",\"\u975e\u91cd\u7ed8\u6307\u6807\"],\"articleSection\":[\"MetaTrader \u5e38\u89c1\u95ee\u9898\u89e3\u7b54\"],\"inLanguage\":\"zh\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/\",\"url\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/\",\"name\":\"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Signal-Bar-1.png\",\"datePublished\":\"2025-01-21T06:58:00+00:00\",\"dateModified\":\"2025-04-06T06:29:51+00:00\",\"description\":\"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#breadcrumb\"},\"inLanguage\":\"zh\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#primaryimage\",\"url\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Signal-Bar-1.png\",\"contentUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2017\\\/08\\\/Signal-Bar-1.png\",\"width\":200,\"height\":200},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\\\/\\\/expforex.com\\\/zh\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MetaTrader \u5e38\u89c1\u95ee\u9898\u89e3\u7b54\",\"item\":\"https:\\\/\\\/expforex.com\\\/zh\\\/cat\\\/metatrader-faq-zh\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#website\",\"url\":\"https:\\\/\\\/expforex.com\\\/zh\\\/\",\"name\":\"MetaTrader \u7684\u6700\u4f73\u521b\u610f\",\"description\":\"\u5728\u4e3a MetaTrader\u3001MQL\u3001\u5916\u6c47\u3001\u4e13\u5bb6\u987e\u95ee\u3001\u6307\u6807\u3001\u811a\u672c\u3001EA\u3001\u5b9e\u7528\u7a0b\u5e8f\u3001VirtualTradePad\u3001Copylot\u3001Ticksniper\u3001Averager\u3001xCustomEA\u3001X\u3001Duplicator\u3001TesterPad\u3001ExtraReportPad\u3001\u52a9\u624b\u3001\u4ea4\u6613\u3001\u4ea4\u6613\u5458\u3001\u5265\u5934\u76ae\u7b49\u65b9\u9762\u7f16\u5199\u7f16\u7a0b\u52a9\u624b\u65b9\u9762\u62e5\u6709\u4e30\u5bcc\u7684\u7ecf\u9a8c\u3002\\n\",\"publisher\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\"},\"alternateName\":\"Forex EA\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/expforex.com\\\/zh\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/expforex.com\\\/zh\\\/#\\\/schema\\\/person\\\/0f3104735dd8fd99d5b5ee2e3634b1d5\",\"name\":\"Expforex Vladislav\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh\",\"@id\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"url\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"contentUrl\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\",\"width\":200,\"height\":200,\"caption\":\"Expforex Vladislav\"},\"logo\":{\"@id\":\"https:\\\/\\\/expforex.com\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/LOGONEW-2024-2.png\"},\"sameAs\":[\"https:\\\/\\\/www.expforex.com\",\"https:\\\/\\\/www.facebook.com\\\/ExpForex\\\/\",\"https:\\\/\\\/www.youtube.com\\\/Expforex\"],\"publishingPrinciples\":\"https:\\\/\\\/expforex.com\\\/privacy-policy\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","description":"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","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:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/","og_locale":"zh_CN","og_type":"article","og_title":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","og_description":"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","og_url":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/","og_site_name":"MetaTrader \u7684\u6700\u4f73\u521b\u610f","article_publisher":"https:\/\/www.facebook.com\/ExpForex\/","article_author":"https:\/\/www.facebook.com\/ExpForex\/","article_published_time":"2025-01-21T06:58:00+00:00","article_modified_time":"2025-04-06T06:29:51+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png","type":"image\/png"}],"author":"Expforex Vladislav","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Expforex Vladislav","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#article","isPartOf":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/"},"author":{"name":"Expforex Vladislav","@id":"https:\/\/expforex.com\/zh\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"headline":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","datePublished":"2025-01-21T06:58:00+00:00","dateModified":"2025-04-06T06:29:51+00:00","mainEntityOfPage":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/"},"wordCount":386,"commentCount":0,"publisher":{"@id":"https:\/\/expforex.com\/zh\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"image":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#primaryimage"},"thumbnailUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png","keywords":["\u4fe1\u53f7","\u6307\u793a\u5668\u4e2d\u7684\u7bad\u5934","\u81ea\u5b9a\u4e49\u6307\u6807","\u81ea\u5b9a\u4e49\u6307\u6807 EA","\u8f6e\u73ed","\u9152\u5427","\u975e\u91cd\u7ed8\u6307\u6807"],"articleSection":["MetaTrader \u5e38\u89c1\u95ee\u9898\u89e3\u7b54"],"inLanguage":"zh","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/","url":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/","name":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","isPartOf":{"@id":"https:\/\/expforex.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#primaryimage"},"image":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#primaryimage"},"thumbnailUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png","datePublished":"2025-01-21T06:58:00+00:00","dateModified":"2025-04-06T06:29:51+00:00","description":"\u4f7f\u7528\u4fe1\u53f7\u680f\u4e3a\u667a\u80fd\u4ea4\u6613\u7cfb\u7edf\u7f16\u7a0b\uff1a \u4e86\u89e3\u79fb\u52a8\u53c2\u6570\u5bf9\u4fe1\u53f7\u51c6\u786e\u6027\u7684\u5f71\u54cd\u3002\u4e86\u89e3\u6709\u6548\u4f7f\u7528\u91cd\u7ed8\u6307\u6807\u7684\u57fa\u672c\u6280\u5de7\u548c\u6280\u672f\u3002- MetaTrader \u7684\u6700\u4f73\u521b\u610f - \u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f","breadcrumb":{"@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#breadcrumb"},"inLanguage":"zh","potentialAction":[{"@type":"ReadAction","target":["https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/"]}]},{"@type":"ImageObject","inLanguage":"zh","@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#primaryimage","url":"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png","contentUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2017\/08\/Signal-Bar-1.png","width":200,"height":200},{"@type":"BreadcrumbList","@id":"https:\/\/expforex.com\/zh\/signal-bar-shift-drawing-indicators-with-what-they-eat-a-closed-bar-and-the-current-one\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/expforex.com\/zh\/"},{"@type":"ListItem","position":2,"name":"MetaTrader \u5e38\u89c1\u95ee\u9898\u89e3\u7b54","item":"https:\/\/expforex.com\/zh\/cat\/metatrader-faq-zh\/"},{"@type":"ListItem","position":3,"name":"\u91cd\u7ed8\u6307\u6807\u7684\u4fe1\u53f7\u6761\u6570\uff1a \u4fe1\u53f7\u4f7f\u7528\u7684\u67f1\u72b6\u79fb\u4f4d\uff1f"}]},{"@type":"WebSite","@id":"https:\/\/expforex.com\/zh\/#website","url":"https:\/\/expforex.com\/zh\/","name":"MetaTrader \u7684\u6700\u4f73\u521b\u610f","description":"\u5728\u4e3a MetaTrader\u3001MQL\u3001\u5916\u6c47\u3001\u4e13\u5bb6\u987e\u95ee\u3001\u6307\u6807\u3001\u811a\u672c\u3001EA\u3001\u5b9e\u7528\u7a0b\u5e8f\u3001VirtualTradePad\u3001Copylot\u3001Ticksniper\u3001Averager\u3001xCustomEA\u3001X\u3001Duplicator\u3001TesterPad\u3001ExtraReportPad\u3001\u52a9\u624b\u3001\u4ea4\u6613\u3001\u4ea4\u6613\u5458\u3001\u5265\u5934\u76ae\u7b49\u65b9\u9762\u7f16\u5199\u7f16\u7a0b\u52a9\u624b\u65b9\u9762\u62e5\u6709\u4e30\u5bcc\u7684\u7ecf\u9a8c\u3002\n","publisher":{"@id":"https:\/\/expforex.com\/zh\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5"},"alternateName":"Forex EA","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/expforex.com\/zh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh"},{"@type":["Person","Organization"],"@id":"https:\/\/expforex.com\/zh\/#\/schema\/person\/0f3104735dd8fd99d5b5ee2e3634b1d5","name":"Expforex Vladislav","image":{"@type":"ImageObject","inLanguage":"zh","@id":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","url":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","contentUrl":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png","width":200,"height":200,"caption":"Expforex Vladislav"},"logo":{"@id":"https:\/\/expforex.com\/wp-content\/uploads\/2023\/12\/LOGONEW-2024-2.png"},"sameAs":["https:\/\/www.expforex.com","https:\/\/www.facebook.com\/ExpForex\/","https:\/\/www.youtube.com\/Expforex"],"publishingPrinciples":"https:\/\/expforex.com\/privacy-policy\/"}]}},"_links":{"self":[{"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/posts\/63364","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/comments?post=63364"}],"version-history":[{"count":0,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/posts\/63364\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/media\/63366"}],"wp:attachment":[{"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/media?parent=63364"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/categories?post=63364"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/expforex.com\/zh\/wp-json\/wp\/v2\/tags?post=63364"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}