{"id":83880,"date":"2019-06-12T13:49:25","date_gmt":"2019-06-12T05:49:25","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/83880.html"},"modified":"2019-06-12T13:49:25","modified_gmt":"2019-06-12T05:49:25","slug":"%e6%9c%80%e8%bf%913%e5%a4%a9%e5%86%85macd%e9%87%91%e5%8f%89%ef%bc%8c%e5%b9%b6%e4%b8%94%e5%87%ba%e7%8e%b0%e4%b9%b0%e7%9a%84%e9%80%89%e4%b8%aa%e5%85%ac%e5%bc%8f_%e4%b8%9c%e6%96%b9","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=83880","title":{"rendered":"\u6700\u8fd13\u5929\u5185MACD\u91d1\u53c9\uff0c\u5e76\u4e14\u51fa\u73b0\u201c\u4e70\u201d\u7684\u9009\u4e2a\u516c\u5f0f_\u4e1c\u65b9\u8d22\u5bcc\u6295\u8d44\u5927\u5e08\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\u516c\u5f0f\u4e2d\u5148\u77e5\u6216DK1\u8bbe\u4e3a\u9009\u80a1\u516c\u5f0f<\/p>\n<p>\u5c06\u516c\u5f0f\u4e2d\u5148\u77e5\u6216DK1\u8bbe\u4e3a\u9009\u80a1\u516c\u5f0f<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u5927\u5168<\/a><\/p>\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\u6539\u4e2a\u9009\u80a1\u516c\u5f0f\uff1a\u6700\u8fd13\u5929\u5185MACD\u91d1\u53c9\uff0c\u5e76\u4e14\u51fa\u73b0\u201c\u4e70\u201d\uff08\u91d1\u53c9\u548c\u4e70\u53ef\u4ee5\u662f\u540c\u4e00\u5929\u51fa\u73b0\u6216\u76f8\u7ee7\u51fa\u73b0\uff09\uff0c\u8c22\u8c22\uff01 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)); M\u5e95\u80cc:IF(B1&gt;0,-0.1,0),COLORRED,POINTDOT; K\u5e95\u80cc:IF(B2&gt;0,-0.1,0),COLORFF00FF,POINTDOT; R\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,50,1),COLORBLUE; \u5f3a:IF(DIFF&gt;MA(DIFF,2),DIFF,DRAWNULL),COLORRED,LINETHICK2; \u5f31:IF(DEA&gt;MA(DEA,2),DEA,DRAWNULL),COLORMAGENTA,LINETHICK2; DRAWICON(CROSS(DIFF,DEA),DEA,26); DRAWICON(CROSS(DEA,DIFF),DEA,27); A:=REF(DIFF,1)<br \/>\n      <ref(diff,2) and ref(diff,2)<ref(diff,3) diff><br \/>\n       REF(DIFF,1); B:=REF(DIFF,1)&gt;REF(DIFF,2) AND REF(DIFF,2)&gt;REF(DIFF,3) AND DIFF<br \/>\n       <ref(diff,1); drawicon(a,diff,1); drawicon(b,diff,2); aa:=\"CLOSE-REF(MA(CLOSE,20),10);\" m3:ema(aa,3),linethick1,colormagenta; stickline(m3><br \/>\n        =REF(M3,1),M3,REF(M3,1),3,1),COLORYELLOW; STICKLINE(M3<br \/>\n        <ref(m3,1),m3,ref(m3,1),3,1),colorff9900; \u4e70:ema(aa,10),colorblue; drawtext(cross(m3,\u4e70),ref(m3,1),'\u4e70'),colorred; stickline(cross(m3,\u4e70),m3,ref(m3,1),3,0),colorred; drawtext(cross(\u4e70,m3),ref(m3,1)*1.2,'\u5356'),colorgreen; stickline(cross(\u4e70,m3),m3,ref(m3,1),3,0),colorgreen; < p><br \/>\n        <\/ref(m3,1),m3,ref(m3,1),3,1),colorff9900;><br \/>\n       <\/ref(diff,1);><br \/>\n      <\/ref(diff,2)><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);<\/p>\n<div>\n DEA:=EMA(DIFF,9);\n<\/div>\n<div>\n AA:=CLOSE-REF(MA(CLOSE,20),10);\n<\/div>\n<div>\n M3:=EMA(AA,3);\n<\/div>\n<div>\n \u4e70:=EMA(AA,10);\n<\/div>\n<div>\n XG:COUNT(CROSS(DIFF,DEA),3)=1 AND COUNT(CROSS(M3,\u4e70),3)=1;\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\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;\">\u6307\u6807\u6c42\u52a9\uff0c\u6539\u4e3a\u6761\u4ef6\u9884\u8b66\u516c\u5f0f<\/p>\n<p>\u6307\u6807\u6c42\u52a9\uff0c\u6539\u4e3a\u6761\u4ef6\u9884\u8b66\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u6700\u8fd13\u5929\u5185MACD\u91d1\u53c9\uff0c\u5e76\u4e14\u51fa\u73b0\u201c\u4e70\u201d\u7684\u9009\u4e2a\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-83880","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\/83880","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=83880"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/83880\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}