{"id":103944,"date":"2019-04-22T13:13:55","date_gmt":"2019-04-22T05:13:55","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/103944.html"},"modified":"2019-04-22T13:13:55","modified_gmt":"2019-04-22T05:13:55","slug":"%e9%80%9a%e8%be%be%e4%bf%a1macd%e6%b3%a2%e6%ae%b5%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f_%e5%a4%a7%e6%99%ba%e6%85%a7gde%e7%a0%b4%e8%a7%a3%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=103944","title":{"rendered":"\u901a\u8fbe\u4fe1MACD\u6ce2\u6bb5\u6307\u6807\u516c\u5f0f_\u5927\u667a\u6167gde\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;\">\u901a\u8fbe\u4fe1\u56db\u8272\u8c31\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u901a\u8fbe\u4fe1\u56db\u8272\u8c31\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u7092\u80a1\u8f6f\u4ef6<\/a>{\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<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p class=\"description\">\n<div class=\"gsdxg\">\n<\/div>\n<p>DIFF:EMA(CLOSE,7) - EMA(CLOSE,19);<br \/> DEA:EMA(DIFF,9);<br \/> MACD:2*(DIFF-DEA),COLORSTICK;<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 \/> M\u5e95\u80cc:IF(B1&gt;0,-0.1,0),COLORRED,POINTDOT;<br \/> K\u5e95\u80cc:IF(B2&gt;0,-0.1,0),COLORFF00FF,POINTDOT;<br \/> R\u5e95\u80cc:IF(B3&gt;0,-0.1,0),COLORYELLOW,POINTDOT;<br \/> MACD\u9876\u80cc:=IF(D1&gt;0,0.1,0),COLOR00FF00,POINTDOT;<br \/> KDJ\u9876\u80cc:=IF(D2&gt;0,0.1,0),COLORFFCC66,POINTDOT;<br \/> RSI\u9876\u80cc:=IF(D3&gt;0,0.1,0),COLORWHITE,POINTDOT;<br \/> STICKLINE(B1&gt;0,-0.1,0,2,0),COLORRED;<br \/> STICKLINE(B2&gt;0,-0.1,0,2,0),COLORFF00FF;<br \/> STICKLINE(B3&gt;0,-0.1,0,2,0),COLORYELLOW;<br \/> STICKLINE(D1&gt;0,0.1,0,2,0),COLOR00FF00;<br \/> STICKLINE(D2&gt;0,0.1,0,2,0),COLORFFCC66;<br \/> STICKLINE(D3&gt;0,0.1,0,2,0),COLORWHITE;<br \/> STICKLINE(MACD&gt;REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORRED;<br \/> STICKLINE(MACD&lt;=REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORYELLOW;<br \/> STICKLINE(MACD&lt;REF(MACD,1) AND MACD&lt;0,0,MACD,0,0),COLORCYAN;<br \/> STICKLINE(MACD&gt;=REF(MACD,1) AND MACD&lt;0,0,MACD,0,0),COLORMAGENTA;<br \/> STICKLINE(C&gt;0,0,0,50,1),COLORBLUE;<br \/> \u5f3a:IF(DIFF&gt;MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK2;<br \/> \u5f31:IF(DEA&gt;MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2;<br \/> DRAWICON(CROSS(DIFF,DEA),DEA,26);<br \/> DRAWICON(CROSS(DEA,DIFF),DEA,27);<br \/> {www.lixiangluntan.com \u80a1\u7968\u8d44\u6e90\u9986_\u901a\u8fbe\u4fe1\u80a1\u7968\u6307\u6807\u516c\u5f0f}<br \/> A:=REF(DIFF,1)&lt;REF(DIFF,2) AND REF(DIFF,2)&lt;REF(DIFF,3) AND DIFF&gt;REF(DIFF,1);<br \/> B:=REF(DIFF,1)&gt;REF(DIFF,2) AND REF(DIFF,2)&gt;REF(DIFF,3) AND DIFF&lt;REF(DIFF,1);<br \/> DRAWICON(A,DIFF,1);<br \/> DRAWICON(B,DIFF,2);<br \/> {\u4e09\u89d2\u5c71\u4eba\u6ce2\u6bb5}<br \/> AA:=CLOSE-REF(MA(CLOSE,20),10);<br \/> M3:EMA(AA,3),LINETHICK1,COLORMAGENTA;<br \/> STICKLINE(M3&gt;=REF(M3,1),M3,REF(M3,1),3,1),COLORYELLOW;<br \/> STICKLINE(M3&lt;REF(M3,1),M3,REF(M3,1),3,1),COLORFF9900;<br \/> \u4e70:EMA(AA,10),COLORBLUE;<br \/> DRAWTEXT(CROSS(M3,\u4e70),REF(M3,1),'\u4e70'),COLORRED;<br \/> STICKLINE(CROSS(M3,\u4e70),M3,REF(M3,1),3,0),COLORRED;<br \/> DRAWTEXT(CROSS(\u4e70,M3),REF(M3,1)*1.2,'\u5356'),COLORGREEN;<br \/> STICKLINE(CROSS(\u4e70,M3),M3,REF(M3,1),3,0),COLORGREEN;<\/p>\n<p><img decoding=\"async\" width=\"500\" border=\"0\" height=\"390\" onclick=\"window.open('\/uploads\/allimg\/120425\/1_120425192941_1.jpg')\" style=\"cursor:pointer\" alt=\"\u901a\u8fbe\u4fe1MACD\u6ce2\u6bb5\u6307\u6807\u516c\u5f0f\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/9\/En2Yja.jpg\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<div class=\"yuansheng1\">\n<div class=\"_1a77a5b7w7ei\"><\/div>\n<p> <script type=\"text\/javascript\">\n    (window.slotbydup = window.slotbydup || []).push({\n        id: \"u6133514\",\n        container: \"_1a77a5b7w7ei\",\n        async: true\n    });\n<\/script>\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\u4e1c\u65b9\u8d22\u5bccL2\u51b3\u7b56\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u7f51,\u4e1c\u65b9\u8d22\u5bcc\u6295\u8d44\u5927\u5e08\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u5148\u950b\u7248\u7834\u89e3,\u4e1c\u65b9\u8d22\u5bcc\u9886\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8fdc\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u5148\u950b\u7834\u89e3,\u540c\u82b1\u987aL2\u7834\u89e3\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;\">\u901a\u8fbe\u4fe1\u8d85\u7ea7\u725b\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u901a\u8fbe\u4fe1\u8d85\u7ea7\u725b\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fbe\u4fe1MACD\u6ce2\u6bb5\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":103945,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[139],"tags":[140],"class_list":["post-103944","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tdxgs","tag-140"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/103944","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=103944"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/103944\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/103945"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=103944"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=103944"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=103944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}