{"id":83922,"date":"2020-01-26T18:37:56","date_gmt":"2020-01-26T10:37:56","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/83922.html"},"modified":"2020-01-26T18:37:56","modified_gmt":"2020-01-26T10:37:56","slug":"macd%e7%bb%bf%e6%9f%b1%e8%bd%ac%e7%ba%a2%e6%9f%b1%e6%97%b6%e7%9a%84%e9%80%89%e8%82%a1%e5%85%ac%e5%bc%8f_ace%e7%ad%96%e7%95%a5","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=83922","title":{"rendered":"MACD\u7eff\u67f1\u8f6c\u7ea2\u67f1\u65f6\u7684\u9009\u80a1\u516c\u5f0f_ace\u7b56\u7565"},"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;\">\u628a\u5f53\u5929\u51fa\u73b0\u94b1\u888b\u5b50\u7684 -\u505a\u51fa\u9884\u8b66<\/p>\n<p>\u628a\u5f53\u5929\u51fa\u73b0\u94b1\u888b\u5b50\u7684 -\u505a\u51fa\u9884\u8b66<\/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\u5927\u667a\u6167\u4e13\u4e1a\u7248\u7834\u89e3\u7248,\u5927\u667a\u6167\u673a\u6784\u7834\u89e3\u7248,\u5927\u667a\u6167ACE\u7834\u89e3\u7248,ACE\u7b56\u7565,AI\u6d3b\u8dc3\u5ea6\u3002<\/p>\n<\/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>\u8bf7\u8001\u5e08\u5e2e\u52a9\u7f16\u5199\u4e00\u4e2a\u5728\u51fa\u73b0\u9ec4\u8272\u4e09\u89d2\u5f62\u548c\u7eff\u67f1\u8f6c\u4e3a\u7b2c\u4e00\u6839\u7ea2\u67f1\u65f6\u7684\u9009\u80a1\u516c\u5f0f(\u4e8c\u4e2a\u6761\u4ef6\u8981\u540c\u65f6\u5177\u5907)\uff0c\u8c22\u8c22! \u9644\uff1a\u516c\u5f0f\u539f\u7801\u548c\u56fe\u5f62\u8bf4\u660e\u3002 DIFF:EMA(CLOSE,7) - EMA(CLOSE,19); DEA:EMA(DIFF,9); MACD:2*(DIFF-DEA),COLORSTICK; 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.1,0,2,0),COLORRED; STICKLINE(B2&gt;0,-0.1,0,2,0),COLORFF00FF; STICKLINE(B3&gt;0,-0.1,0,2,0),COLORYELLOW; STICKLINE(D1&gt;0,0.1,0,2,0),COLOR00FF00; STICKLINE(D2&gt;0,0.1,0,2,0),COLORFFCC66; STICKLINE(D3&gt;0,0.1,0,2,0),COLORWHITE; STICKLINE(MACD&gt;REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORRED; STICKLINE(MACD&lt;=REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORYELLOW; STICKLINE(MACD<br \/>\n     <ref(macd,1) and macd<0,0,macd,0,0),colorcyan; stickline(macd><br \/>\n      =REF(MACD,1) AND MACD&lt;0,0,MACD,0,0),COLORMAGENTA; STICKLINE(C&gt;0,0,0,30,1),COLORBLUE; DIFF,COLORGREEN; DEA,COLORYELLOW; \u5f3a:IF(DIFF&gt;MA(DIFF,2),DIFF,DRAWNULL),COLORRED; \u5f31:IF(DEA&gt;MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA; \u5fc5\u4e70: IF(TROUGHBARS(1,10,1)=0 AND HIGH&gt;LOW+0.01,0.4,-0),COLORYELLOW ,LINETHICK1; \u5fc5\u5356: IF(PEAKBARS(3,10,1)=1,0.4,-0),COLORGREEN ,LINETHICK2;<br \/>\n     <\/ref(macd,1)><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;DIFF:=EMA(CLOSE,7) - EMA(CLOSE,19);<br \/> DEA:=EMA(DIFF,9);<br \/> MACD:=2*(DIFF-DEA);<br \/> A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));<br \/> B1:=REF(C,A1+1)&gt;C AND REF(DIFF,A1+1)&lt;DIFF AND CROSS(DIFF,DEA);<br \/> A2:=BARSLAST(REF(CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3)),1));<br \/> 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));<br \/> A3:=BARSLAST(REF(CROSS(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1));<br \/> 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));<br \/> C1:=BARSLAST(REF(CROSS(DEA,DIFF),1));<br \/> D1:=REF(C,C1+1)&lt;C AND REF(DIFF,C1+1)&gt;DIFF AND CROSS(DEA,DIFF);<br \/> C2:=BARSLAST(REF(CROSS(\"KDJ.D\"(9,3,3),\"KDJ.K\"(9,3,3)),1));<br \/> 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));<br \/> C3:=BARSLAST(REF(CROSS(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24)),1));<br \/> 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));<br \/> \u5fc5\u4e70:TROUGHBARS(1,10,1)=0 AND HIGH&gt;LOW+0.01 AND MACD&gt;REF(MACD,1) AND REF(MACD,1)&lt;REF(MACD,2);<\/p>\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\u7092\u80a1\u6559\u7a0b\u3001\u9ed1\u9a6c\u80a1\u7968\u3001\u80a1\u7968\u8d44\u8baf\u3001\u671f\u8d27\u5916\u6c47\uff0c\u5927\u667a\u6167\u6caa\u6df110\u6863\u7834\u89e3,\u9ad8\u6210\u529f\u7387\u80a1\u7968\u6307\u6807,\u7b56\u7565\u6295\u8d44\u7834\u89e3,\u8d22\u7ecf\u80a1\u7968\u8bba\u575b,\u4e1c\u65b9\u8d22\u5bcc\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u4e13\u4e1a\u7834\u89e3\u7248\u3002<\/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;\">\u5c06<\u4e3b\u529b><\u5747\u7ebf><\u5148\u77e5><\u5341\u7ebf>\u5408\u4e3a\u4e00\u4e2a\u9009\u80a1<\/p>\n<p>\u5c06<\u4e3b\u529b><\u5747\u7ebf><\u5148\u77e5><\u5341\u7ebf>\u5408\u4e3a\u4e00\u4e2a\u9009\u80a1<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>MACD\u7eff\u67f1\u8f6c\u7ea2\u67f1\u65f6\u7684\u9009\u80a1\u516c\u5f0f<\/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-83922","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\/83922","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=83922"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/83922\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83922"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83922"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}