{"id":2196,"date":"2026-05-10T23:01:50","date_gmt":"2026-05-10T15:01:50","guid":{"rendered":"https:\/\/zhuxinyong.com\/?p=2196"},"modified":"2026-05-10T23:35:23","modified_gmt":"2026-05-10T15:35:23","slug":"shuang-jun-xian-jiao-yi-xi-tong","status":"publish","type":"post","link":"https:\/\/zhuxinyong.com\/?p=2196","title":{"rendered":"\u53cc\u5747\u7ebf\u4ea4\u6613\u7cfb\u7edf"},"content":{"rendered":"<p><img decoding=\"async\" src=\"https:\/\/zhuxinyong.com\/wp-content\/uploads\/2026\/05\/Gemini_Generated_Image_3j04mr3j04mr3j04.png\" alt=\"Gemini_Generated_Image_3j04mr3j04mr3j04\" \/><\/p>\n<p>\u5bf9\u4e8e\u6b63\u5728\u201c\u7b49\u5f85\u65f6\u673a\u201d\u7684\u6295\u8d44\u8005\u6765\u8bf4\uff0c<strong>\u53cc\u5747\u7ebf\u7cfb\u7edf\uff08Dual Moving Average Crossover\uff09<\/strong> \u5c31\u50cf\u662f\u4e3a\u4f60\u4ea4\u6613\u51b3\u7b56\u7f16\u5199\u7684\u4e00\u4e2a\u201c\u903b\u8f91\u5224\u65ad\u811a\u672c\u201d\u3002\u5b83\u662f\u8d8b\u52bf\u8ddf\u8e2a\u7b56\u7565\u4e2d\u6700\u7ecf\u5178\u3001\u6700\u7eaf\u7cb9\u7684\u4e00\u79cd\u3002<\/p>\n<p>\u4f5c\u4e3a\u4e00\u540d\u5f00\u53d1\u8005\uff0c\u4f60\u53ef\u4ee5\u628a\u5b83\u7406\u89e3\u4e3a\u4e00\u4e2a\u7b80\u5355\u7684 <code>if-else<\/code> \u4fe1\u53f7\u76d1\u542c\u5668\u3002<\/p>\n<hr \/>\n<h3><a id=\"1%E6%A0%B8%E5%BF%83%E9%80%BB%E8%BE%91%EF%BC%9A%E4%B8%A4%E6%9D%A1%E7%BA%BF%E7%9A%84%E2%80%9C%E5%AF%B9%E8%AF%9D%E2%80%9D%F0%9F%93%8A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>1. \u6838\u5fc3\u903b\u8f91\uff1a\u4e24\u6761\u7ebf\u7684\u201c\u5bf9\u8bdd\u201d \ud83d\udcca<\/h3>\n<p>\u53cc\u5747\u7ebf\u7cfb\u7edf\u7531\u4e24\u6761\u4e0d\u540c\u5468\u671f\u7684\u79fb\u52a8\u5e73\u5747\u7ebf\u7ec4\u6210\uff1a<\/p>\n<ul>\n<li><strong>\u5feb\u7ebf\uff08Fast Line\uff09\uff1a<\/strong> \u77ed\u5468\u671f\u5747\u7ebf\uff08\u5982 5 \u65e5\u300110 \u65e5\u300120 \u65e5\uff09\u3002\u5b83\u53cd\u5e94\u7075\u654f\uff0c\u50cf\u4fa6\u5bdf\u5175\uff0c\u80fd\u8fc5\u901f\u6355\u6349\u4ef7\u683c\u8df3\u52a8\u3002<\/li>\n<li><strong>\u6162\u7ebf\uff08Slow Line\uff09\uff1a<\/strong> \u957f\u5468\u671f\u5747\u7ebf\uff08\u5982 60 \u65e5\u3001120 \u65e5\u3001250 \u65e5\uff09\u3002\u5b83\u53cd\u5e94\u8fdf\u949d\uff0c\u50cf\u5927\u90e8\u961f\uff0c\u4ee3\u8868\u4e86\u5e02\u573a\u7684\u5e73\u5747\u6210\u672c\u548c\u957f\u671f\u8d8b\u52bf\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><a id=\"2%E4%BF%A1%E5%8F%B7%E7%AE%97%E6%B3%95%EF%BC%9A%E9%87%91%E5%8F%89%E4%B8%8E%E6%AD%BB%E5%8F%89%F0%9F%8F%B9\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>2. \u4fe1\u53f7\u7b97\u6cd5\uff1a\u91d1\u53c9\u4e0e\u6b7b\u53c9 \ud83c\udff9<\/h3>\n<p>\u8fd9\u662f\u7cfb\u7edf\u6700\u6838\u5fc3\u7684\u89e6\u53d1\u903b\u8f91\uff1a<\/p>\n<table>\n<thead>\n<tr>\n<th>\u4fe1\u53f7\u540d\u79f0<\/th>\n<th>\u52a8\u4f5c<\/th>\n<th>\u903b\u8f91\u63cf\u8ff0<\/th>\n<th>\u5e02\u573a\u542b\u4e49<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>\u91d1\u53c9 (Golden Cross)<\/strong><\/td>\n<td><strong>\u4e70\u5165 (Buy)<\/strong><\/td>\n<td>\u5feb\u7ebf <strong>\u4ece\u4e0b\u5f80\u4e0a<\/strong> \u7a7f\u8fc7\u6162\u7ebf<\/td>\n<td>\u77ed\u671f\u6210\u672c\u8d85\u8fc7\u957f\u671f\u6210\u672c\uff0c\u4e0a\u6da8\u52a8\u80fd\u5f00\u542f\u3002<\/td>\n<\/tr>\n<tr>\n<td><strong>\u6b7b\u53c9 (Death Cross)<\/strong><\/td>\n<td><strong>\u5356\u51fa (Sell)<\/strong><\/td>\n<td>\u5feb\u7ebf <strong>\u4ece\u4e0a\u5f80\u4e0b<\/strong> \u7a7f\u8fc7\u6162\u7ebf<\/td>\n<td>\u77ed\u671f\u6301\u7b79\u8005\u5f00\u59cb\u4e8f\u635f\uff0c\u7a7a\u5934\u529b\u91cf\u5360\u636e\u4e3b\u5bfc\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<hr \/>\n<h3><a id=\"3%E5%B8%B8%E7%94%A8%E5%8F%82%E6%95%B0%E9%85%8D%E7%BD%AE%EF%BC%88%E9%92%88%E5%AF%B9%E4%BD%A0%E7%9A%84%E6%A0%87%E7%9A%84%EF%BC%89%F0%9F%9B%A0%EF%B8%8F\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>3. \u5e38\u7528\u53c2\u6570\u914d\u7f6e\uff08\u9488\u5bf9\u4f60\u7684\u6807\u7684\uff09\ud83d\udee0\ufe0f<\/h3>\n<p>\u9488\u5bf9\u4f60\u5173\u6ce8\u7684 <strong>562500\uff08\u673a\u5668\u4eba ETF\uff09<\/strong> \u6216 <strong>159509\uff08\u7eb3\u6307\u79d1\u6280\uff09<\/strong>\uff0c\u4e0d\u540c\u7684\u53c2\u6570\u4ee3\u8868\u4e86\u4e0d\u540c\u7684\u4ea4\u6613\u98ce\u683c\uff1a<\/p>\n<ul>\n<li>\n<p><strong>\u6fc0\u8fdb\u578b (\u77ed\u7ebf)\uff1a(5, 20)<\/strong><\/p>\n<\/li>\n<li>\n<p><em>\u7528\u6cd5\uff1a<\/em> \u9002\u5408\u6355\u6349\u6ce2\u6bb5\u3002<\/p>\n<\/li>\n<li>\n<p><em>\u7f3a\u70b9\uff1a<\/em> \u4fe1\u53f7\u8fc7\u4e8e\u9891\u7e41\uff0c\u5bb9\u6613\u88ab\u201c\u6742\u6ce2\u201d\u9a97\u8fdb\u53bb\uff08\u5047\u7a81\u7834\uff09\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u5e73\u8861\u578b (\u4e2d\u7ebf)\uff1a(20, 60) \u2014\u2014 \ud83d\udca1 \u63a8\u8350<\/strong><\/p>\n<\/li>\n<li>\n<p><em>\u7528\u6cd5\uff1a<\/em> 20 \u65e5\u7ebf\u4ee3\u8868\u6708\u6210\u672c\uff0c60 \u65e5\u7ebf\u4ee3\u8868\u5b63\u6210\u672c\u3002<\/p>\n<\/li>\n<li>\n<p><em>\u5efa\u8bae\uff1a<\/em> \u9002\u5408\u4f60\u8fd9\u79cd\u6709\u672c\u804c\u5de5\u4f5c\u3001\u4e0d\u80fd\u65f6\u523b\u76ef\u76d8\u7684\u6295\u8d44\u8005\u3002\u80fd\u8fc7\u6ee4\u6389\u5927\u90e8\u5206\u566a\u97f3\uff0c\u6293\u4f4f\u4e00\u6ce2\u4e3b\u5347\u6d6a\u3002<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u5b88\u578b (\u957f\u7ebf)\uff1a(50, 250)<\/strong><\/p>\n<\/li>\n<li>\n<p><em>\u7528\u6cd5\uff1a<\/em> \u53ea\u6709\u5728\u725b\u718a\u8f6c\u6362\u65f6\u624d\u4f1a\u89e6\u53d1\u3002<\/p>\n<\/li>\n<li>\n<p><em>\u903b\u8f91\uff1a<\/em> \u9002\u5408\u4f60\u7684 5 \u5e74\u4ee5\u4e0a\u517b\u8001\/\u6559\u80b2\u91d1\u8ba1\u5212\u3002\u53ea\u8981 250 \u65e5\u7ebf\uff08\u5e74\u7ebf\uff09\u5411\u4e0a\u4e14\u6ca1\u6709\u6b7b\u53c9\uff0c\u5c31\u4e00\u76f4\u6301\u6709\u3002<\/p>\n<\/li>\n<\/ul>\n<hr \/>\n<h3><a id=\"4%E7%A8%8B%E5%BA%8F%E5%91%98%E8%A7%86%E8%A7%92%E7%9A%84%E2%80%9C%E4%BC%98%E7%BC%BA%E7%82%B9-debug%E2%80%9D%F0%9F%94%8D\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>4. \u7a0b\u5e8f\u5458\u89c6\u89d2\u7684\u201c\u4f18\u7f3a\u70b9 Debug\u201d \ud83d\udd0d<\/h3>\n<h4><a id=\"%E2%9C%85%E4%BC%98%E7%82%B9%EF%BC%9A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u2705 \u4f18\u70b9\uff1a<\/h4>\n<ul>\n<li><strong>\u5b8c\u5168\u53bb\u60c5\u7eea\u5316\uff1a<\/strong> \u53ea\u8981\u7a0b\u5e8f\uff08\u5747\u7ebf\uff09\u6ca1\u4ea4\u53c9\uff0c\u4f60\u5c31\u4e0d\u52a8\u3002\u5f7b\u5e95\u89e3\u51b3\u201c\u62ff\u4e0d\u4f4f\u201d\u6216\u201c\u4e0d\u6562\u4e70\u201d\u7684\u95ee\u9898\u3002<\/li>\n<li><strong>\u987a\u52bf\u800c\u4e3a\uff1a<\/strong> \u5b83\u4fdd\u8bc1\u4f60\u6c38\u8fdc\u4e0d\u4f1a\u9519\u8fc7\u5927\u725b\u5e02\uff0c\u56e0\u4e3a\u5927\u725b\u5e02\u5fc5\u7136\u4f1a\u51fa\u73b0\u91d1\u53c9\u5e76\u957f\u671f\u7ef4\u6301\u3002<\/li>\n<\/ul>\n<h4><a id=\"%E2%9D%8C%E7%BC%BA%E7%82%B9%EF%BC%88bug%EF%BC%89%EF%BC%9A\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\u274c \u7f3a\u70b9\uff08Bug\uff09\uff1a<\/h4>\n<ul>\n<li><strong>\u9707\u8361\u5e02\u201c\u5de6\u53f3\u6328\u8033\u5149\u201d\uff1a<\/strong> \u5f53\u5e02\u573a\u6ca1\u6709\u660e\u663e\u8d8b\u52bf\uff08\u6a2a\u76d8\uff09\u65f6\uff0c\u5feb\u7ebf\u4f1a\u53cd\u590d\u7a7f\u68ad\u6162\u7ebf\u3002\u4f60\u4f1a\u53d1\u73b0\u81ea\u5df1\u9891\u7e41\u4e70\u5165\u5356\u51fa\uff0c\u6700\u540e\u94b1\u5168\u4e8f\u7ed9\u4e86\u624b\u7eed\u8d39\u3002<\/li>\n<li><strong>\u6ede\u540e\u6027\uff1a<\/strong> \u5747\u7ebf\u662f\u57fa\u4e8e\u8fc7\u53bb\u7684\u4ef7\u683c\u8ba1\u7b97\u7684\u3002\u5f53\u4fe1\u53f7\u51fa\u73b0\u65f6\uff0c\u884c\u60c5\u53ef\u80fd\u5df2\u7ecf\u8d70\u4e86\u4e00\u5c0f\u6bb5\u4e86\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><a id=\"%F0%9F%9B%A0%EF%B8%8F%E7%BB%93%E5%90%88%E4%BD%A0%E2%80%9C%E7%AD%89%E5%BE%85%E6%97%B6%E6%9C%BA%E2%80%9D%E7%9A%84%E5%AE%9E%E6%88%98%E5%BB%BA%E8%AE%AE\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\ud83d\udee0\ufe0f \u7ed3\u5408\u4f60\u201c\u7b49\u5f85\u65f6\u673a\u201d\u7684\u5b9e\u6218\u5efa\u8bae<\/h3>\n<p>\u65e2\u7136\u4f60\u73b0\u5728\u5728\u7b49\u5f85 <strong>562500\uff08\u673a\u5668\u4eba ETF\uff09<\/strong> \u7684\u673a\u4f1a\uff0c\u4f60\u53ef\u4ee5\u5c1d\u8bd5\u4ee5\u4e0b\u201c\u7ec4\u5408\u8fc7\u6ee4\u5668\u201d\uff1a<\/p>\n<ol>\n<li><strong>\u89c2\u5bdf 20\/60 \u65e5\u7ebf\uff1a<\/strong> \u4e0d\u8981\u56e0\u4e3a\u4e00\u4e24\u5929\u7684\u66b4\u6da8\u5c31\u51b2\u8fdb\u53bb\u3002\u7b49\u5f85 20 \u65e5\u7ebf\u5411\u4e0a\u52fe\u5934\u5e76\u7a7f\u8fc7 60 \u65e5\u7ebf\u3002<\/li>\n<li><strong>\u914d\u5408 BTD (\u9022\u4f4e\u4e70\u5165)\uff1a<\/strong><\/li>\n<\/ol>\n<ul>\n<li>\u5982\u679c\u76ee\u524d\u662f<strong>\u91d1\u53c9\u72b6\u6001<\/strong>\uff0820 \u5728 60 \u4e4b\u4e0a\uff09\uff0c\u4ef7\u683c\u56de\u8e29 20 \u65e5\u7ebf\u5c31\u662f\u4f60\u52a0\u4ed3\u7684\u201c\u65f6\u673a\u201d\u3002<\/li>\n<li>\u5982\u679c\u76ee\u524d\u662f<strong>\u6b7b\u53c9\u72b6\u6001<\/strong>\uff0c\u54ea\u6015\u65b0\u95fb\u5439\u5f97\u518d\u54cd\uff0c\u4e5f\u7ee7\u7eed\u624b\u63e1\u73b0\u91d1\uff0c\u76f4\u5230\u5feb\u7ebf\u6536\u590d\u5931\u5730\u3002<\/li>\n<\/ul>\n<hr \/>\n<h3><a id=\"%F0%9F%92%A1%E6%80%9D%E8%80%83%E9%A2%98\" class=\"anchor\" aria-hidden=\"true\"><span class=\"octicon octicon-link\"><\/span><\/a>\ud83d\udca1 \u601d\u8003\u9898<\/h3>\n<p>\u53cc\u5747\u7ebf\u7cfb\u7edf\u6700\u6015\u7684\u662f\u201c\u6a2a\u76d8\u201d\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\uff0c\u5f88\u591a\u5f00\u53d1\u8005\u4f1a\u52a0\u5165\u7b2c\u4e09\u4e2a\u53d8\u91cf\uff1a<strong>\u6210\u4ea4\u91cf\uff08Volume\uff09<\/strong>\u3002<\/p>\n<p><strong>\u5f53\u91d1\u53c9\u53d1\u751f\uff0c\u4e14\u6210\u4ea4\u91cf\u660e\u663e\u653e\u5927\u65f6\uff0c\u4fe1\u53f7\u7684\u201c\u7f6e\u4fe1\u5ea6\u201d\u4f1a\u66f4\u9ad8\u3002<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5bf9\u4e8e\u6b63\u5728\u201c\u7b49\u5f85\u65f6\u673a\u201d\u7684\u6295\u8d44\u8005\u6765\u8bf4\uff0c\u53cc\u5747\u7ebf\u7cfb\u7edf\uff08Dual Moving Average Crossov&#46;&#46;&#46;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[263],"tags":[264],"class_list":["post-2196","post","type-post","status-publish","format-standard","hentry","category-263","tag-264"],"_links":{"self":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/2196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2196"}],"version-history":[{"count":1,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/2196\/revisions"}],"predecessor-version":[{"id":2197,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=\/wp\/v2\/posts\/2196\/revisions\/2197"}],"wp:attachment":[{"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zhuxinyong.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}