{"id":82618,"date":"2020-08-29T02:23:18","date_gmt":"2020-08-28T18:23:18","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/82618.html"},"modified":"2020-08-29T02:23:18","modified_gmt":"2020-08-28T18:23:18","slug":"%e8%b6%85%e5%89%8dmacd%e5%89%af%e5%9b%be%e5%87%ba%e7%8e%b0%e7%ba%a2%e8%89%b2%e7%ae%ad%e5%a4%b4%e7%9a%84%e9%80%89%e8%82%a1%e5%85%ac%e5%bc%8f_%e8%b4%a2%e7%bb%8f%e8%82%a1%e7%a5%a8%e8%ae%ba%e5%9d%9b","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=82618","title":{"rendered":"\u8d85\u524dMACD\u526f\u56fe\u51fa\u73b0\u7ea2\u8272\u7bad\u5934\u7684\u9009\u80a1\u516c\u5f0f_\u8d22\u7ecf\u80a1\u7968\u8bba\u575b"},"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;\">\uff08\u6da8\u5e45\u3001\u5747\u7ebf\uff09\u6761\u4ef6\u9009\u80a1\u516c\u5f0f<\/p>\n<p>\uff08\u6da8\u5e45\u3001\u5747\u7ebf\uff09\u6761\u4ef6\u9009\u80a1\u516c\u5f0f<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/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>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,50,1),COLORBLUE; DIFF,COLORGREEN; DEA,COLORYELLOW; \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); < p><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 A:REF(DIFF,1)&lt;REF(DIFF,2) AND REF(DIFF,2)&lt;REF(DIFF,3) AND DIFF&gt;REF(DIFF,1);\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<p>{<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u8d44\u6e90\u9986<\/a>: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;\">\u767d\u5708\u7ea2\u5341\u5904\u52a0\u4e0a\u8df3\u7a7a\u9ad8\u5f00\u505a\u9884\u8b66<\/p>\n<p>\u767d\u5708\u7ea2\u5341\u5904\u52a0\u4e0a\u8df3\u7a7a\u9ad8\u5f00\u505a\u9884\u8b66<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u8d85\u524dMACD\u526f\u56fe\u51fa\u73b0\u7ea2\u8272\u7bad\u5934\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-82618","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\/82618","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=82618"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/82618\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=82618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=82618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=82618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}