{"id":81446,"date":"2018-11-19T14:14:08","date_gmt":"2018-11-19T06:14:08","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/81446.html"},"modified":"2018-11-19T14:14:08","modified_gmt":"2018-11-19T06:14:08","slug":"%e6%8a%8a%e8%bf%99macd%e6%94%b9%e6%88%90%e9%a3%9e%e7%8b%90%e7%94%a8%e7%9a%84_%e4%b8%9c%e6%96%b9%e8%b4%a2%e5%af%8c%e4%b8%93%e4%b8%9a%e7%a0%b4%e8%a7%a3%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=81446","title":{"rendered":"\u628a\u8fd9MACD\u6539\u6210\u98de\u72d0\u7528\u7684_\u4e1c\u65b9\u8d22\u5bcc\u4e13\u4e1a\u7834\u89e3\u7248"},"content":{"rendered":"<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u5c06\u5e02\u573a\u5fc3\u7406\u548c\u7269\u6781\u5fc5\u53cd\u4e24\u4e2a\u526f\u56fe\u4e2d\u51fa\u73b0\u7684\u7ea2\u8272\u533a\u57df\u5206\u522b\u505a\u4e2a\u9009\u80a1<\/p>\n<p>\u5c06\u5e02\u573a\u5fc3\u7406\u548c\u7269\u6781\u5fc5\u53cd\u4e24\u4e2a\u526f\u56fe\u4e2d\u51fa\u73b0\u7684\u7ea2\u8272\u533a\u57df\u5206\u522b\u505a\u4e2a\u9009\u80a1<\/p>\n<\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u901a\u8fbe\u4fe1,\u5927\u667a\u6167,\u540c\u82b1\u987a,\u98de\u72d0,\u80a1\u7968\u6307\u6807\u516c\u5f0f,\u80a1\u7968\u516c\u5f0f\u5927\u5168,\u9053\u8fea\u62d3\u91d1,K\u7ebf\u56fe,k\u7ebf\u56fe\u7ecf\u5178\u56fe\u89e3,k\u7ebf\u56fe\u600e\u4e48\u770b,k\u7ebf\u56fe\u5206\u6790,\u80a1\u7968k\u7ebf\u56fe,\u5927\u667a\u6167\u7b56\u7565\u7834\u89e3\u7248\u3002\/p><\/p><\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p style=\"color:red\">\u7f16\u5199\u6761\u4ef6\uff1a<\/p>\n<p>\u8f9b\u82e6\u8001\u5e08\u628a\u8fd9\u4e2a\u6307\u6807\u6539\u6210\u98de\u72d0\u7528\u8c22\u8c22\u5566 DIFF1:EMA(CLOSE,12) - EMA(CLOSE,26); DEA1 :EMA(DIFF1,9); MACD :2*(DIFF1-DEA1),COLORSTICK; {\u4e3b\u5347 :DIFF1&gt;0 AND DIFF1&gt;DEA1,COLOR0000FF,POINTDOT,LINETHICK0;} DRAWBAND(DEA1,DRAWNULL,DIFF1,RGB(250,0,0)); DIFF:DIFF1,COLORWHITE; DEA:DEA1,COLORYELLOW; A1:=BARSLAST(REF(CROSS(DIFF,DEA),1)); B1:=REF(C,A1+1)&gt;C AND REF(DIFF,A1+1)<br \/>\n <diff and cross(diff,dea); a2:=\"BARSLAST(REF(CROSS(&quot;KDJ.K&quot;(9,3,3),&quot;KDJ.D&quot;(9,3,3)),1));\" b2:=\"REF(C,A2+1)\"><br \/>\n  C AND REF(\"KDJ.K\"(9,3,3),A2+1)&lt;\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3)); A3:=BARSLAST(REF(CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1)); B3:=REF(C,A3+1)&gt;C AND REF(\"RSI.RSI1\"(6,12,24),A3+1)&lt;\"RSI.RSI1\"(6,12,24) AND CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)); C1:=BARSLAST(REF(CROSS(DEA,DIFF),1)); D1:=REF(C,C1+1)<br \/>\n  <c and ref(diff,c1+1)><br \/>\n   DIFF AND CROSS(DEA,DIFF); C2:=BARSLAST(REF(CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)),1)); D2:=REF(C,C2+1)<br \/>\n   <c and ref(\"kdj.k\"(9,3,3),c2+1)><br \/>\n    \"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)); C3:=BARSLAST(REF(CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24)),1)); D3:=REF(C,C3+1)<br \/>\n    <c and ref(\"rsi.rsi1\"(6,12,24),c3+1)><br \/>\n     \"RSI.RSI1\"(6,12,24) AND CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24)); MACD\u5e95\u80cc:IF(B1&gt;0,-0.1,0),COLORRED,POINTDOT; KDJ\u5e95\u80cc:IF(B2&gt;0,-0.1,0),COLORFF00FF,POINTDOT; RSI\u5e95\u80cc:IF(B3&gt;0,-0.1,0),COLORYELLOW,POINTDOT; MACD\u9876\u80cc:IF(D1&gt;0,0.1,0),COLOR00FF00,POINTDOT; KDJ\u9876\u80cc:IF(D2&gt;0,0.1,0),COLORFFCC66,POINTDOT; RSI\u9876\u80cc:IF(D3&gt;0,0.1,0),COLORWHITE,POINTDOT; STICKLINE(B1&gt;0,-0.04,0,3,0),COLORRED,LINETHICK3; STICKLINE(B2&gt;0,-0.04,0,3,0),COLORFF00FF,LINETHICK5; STICKLINE(B3&gt;0,-0.04,0,3,0),COLORYELLOW,LINETHICK5; STICKLINE(D1&gt;0,0.04,0,3,0),COLOR00FF00,LINETHICK5; STICKLINE(D2&gt;0,0.04,0,3,0),COLORFFCC66,LINETHICK5; STICKLINE(D3&gt;0,0.04,0,3,0),COLORWHITE,LINETHICK5;<br \/>\n    <\/c><br \/>\n   <\/c><br \/>\n  <\/c><br \/>\n <\/diff><\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p>&nbsp;DIFF1:EMA(CLOSE,12) - EMA(CLOSE,26);<\/p>\n<div>\n DEA1 &nbsp;:EMA(DIFF1,9);\n<\/div>\n<div>\n MACD :2*(DIFF1-DEA1),COLORSTICK;\n<\/div>\n<div>\n {\u4e3b\u5347 :DIFF1&gt;0 AND DIFF1&gt;DEA1,COLOR0000FF,POINTDOT,LINETHICK0;}\n<\/div>\n<div>\n {DRAWBAND(DEA1,DRAWNULL,DIFF1,RGB(250,0,0));}\n<\/div>\n<div>\n FILLRGN(DEA1&gt;DIFF1,DEA1,DIFF1),COLOR0000FF;\n<\/div>\n<div>\n DIFF:DIFF1,COLORWHITE;\n<\/div>\n<div>\n DEA:DEA1,COLORYELLOW;\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<div>\n A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));\n<\/div>\n<div>\n B1:=REF(C,A1+1)&gt;C AND REF(DIFF,A1+1)&lt;DIFF AND CROSS(DIFF,DEA);\n<\/div>\n<div>\n A2:=BARSLAST(REF(CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3)),1));\n<\/div>\n<div>\n B2:=REF(C,A2+1)&gt;C AND REF(\"KDJ.K\"(9,3,3),A2+1)&lt;\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3));\n<\/div>\n<div>\n A3:=BARSLAST(REF(CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1));\n<\/div>\n<div>\n B3:=REF(C,A3+1)&gt;C AND REF(\"RSI.RSI1\"(6,12,24),A3+1)&lt;\"RSI.RSI1\"(6,12,24) AND CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24));\n<\/div>\n<div>\n C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));\n<\/div>\n<div>\n D1:=REF(C,C1+1)&lt;C AND REF(DIFF,C1+1)&gt;DIFF AND CROSS(DEA,DIFF);\n<\/div>\n<div>\n C2:=BARSLAST(REF(CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)),1));\n<\/div>\n<div>\n D2:=REF(C,C2+1)&lt;C AND REF(\"KDJ.K\"(9,3,3),C2+1)&gt;\"KDJ.K\"(9,3,3) AND CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3));\n<\/div>\n<div>\n C3:=BARSLAST(REF(CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24)),1));\n<\/div>\n<div>\n D3:=REF(C,C3+1)&lt;C AND REF(\"RSI.RSI1\"(6,12,24),C3+1)&gt;\"RSI.RSI1\"(6,12,24) AND CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24));\n<\/div>\n<div>\n MACD\u5e95\u80cc:IF(B1&gt;0,-0.1,0),COLORRED,POINTDOT;\n<\/div>\n<div>\n KDJ\u5e95\u80cc:IF(B2&gt;0,-0.1,0),COLORFF00FF,POINTDOT;\n<\/div>\n<div>\n RSI\u5e95\u80cc:IF(B3&gt;0,-0.1,0),COLORYELLOW,POINTDOT;\n<\/div>\n<div>\n MACD\u9876\u80cc:IF(D1&gt;0,0.1,0),COLOR00FF00,POINTDOT;\n<\/div>\n<div>\n KDJ\u9876\u80cc:IF(D2&gt;0,0.1,0),COLORFFCC66,POINTDOT;\n<\/div>\n<div>\n RSI\u9876\u80cc:IF(D3&gt;0,0.1,0),COLORWHITE,POINTDOT;\n<\/div>\n<div>\n STICKLINE(B1&gt;0,-0.04,0,3,0),COLORRED,LINETHICK3;\n<\/div>\n<div>\n STICKLINE(B2&gt;0,-0.04,0,3,0),COLORFF00FF,LINETHICK5;\n<\/div>\n<div>\n STICKLINE(B3&gt;0,-0.04,0,3,0),COLORYELLOW,LINETHICK5;\n<\/div>\n<div>\n STICKLINE(D1&gt;0,0.04,0,3,0),COLOR00FF00,LINETHICK5;\n<\/div>\n<div>\n STICKLINE(D2&gt;0,0.04,0,3,0),COLORFFCC66,LINETHICK5;\n<\/div>\n<div>\n STICKLINE(D3&gt;0,0.04,0,3,0),COLORWHITE,LINETHICK5;\n<\/div>\n<p>{\u80a1\u7968\u8d44\u6e90\u9986:www.lixiangluntan.com\u4e13\u4e1a\u548c\u8c10\u9ad8\u7aef\u7092\u80a1\u8f6f\u4ef6--\u516c\u5f0f\u7f16\u5199\u4ea4\u6d41--\u52a0QQ751161480--}<\/p>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u901a\u8fbe\u4fe1,\u5927\u667a\u6167,\u540c\u82b1\u987a,\u98de\u72d0,\u80a1\u7968\u6307\u6807\u516c\u5f0f,\u80a1\u7968\u516c\u5f0f\u5927\u5168,\u9053\u8fea\u62d3\u91d1,K\u7ebf\u56fe,k\u7ebf\u56fe\u7ecf\u5178\u56fe\u89e3,k\u7ebf\u56fe\u600e\u4e48\u770b,k\u7ebf\u56fe\u5206\u6790,\u80a1\u7968k\u7ebf\u56fe,\u5927\u667a\u6167\u7b56\u7565\u7834\u89e3\u7248\u3002\/p><\/p><\/blockquote>\n<blockquote style=\"font-size:15px;background-color: #F5F5F5;border:none;padding: 5px;margin:15px;line-height: 1.6;text-indent: 2em;\">\n<p style=\"margin-bottom:5px;\">\u9996\u6b21\u8dcc\u523010\u65e5\u5747\u7ebf<\/p>\n<p>\u9996\u6b21\u8dcc\u523010\u65e5\u5747\u7ebf<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u628a\u8fd9MACD\u6539\u6210\u98de\u72d0\u7528\u7684<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[180],"class_list":["post-81446","post","type-post","status-publish","format-standard","hentry","category-gsbxdy","tag-180"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/81446","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=81446"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/81446\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=81446"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=81446"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=81446"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}