{"id":83547,"date":"2019-07-13T09:59:43","date_gmt":"2019-07-13T01:59:43","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/83547.html"},"modified":"2019-07-13T09:59:43","modified_gmt":"2019-07-13T01:59:43","slug":"macd%e7%ad%89%e5%ba%95%e8%83%8c%e5%85%ac%e5%bc%8f%e5%9c%a8%e5%88%86%e9%92%9f%e5%9b%be%e4%b8%ad%e5%8e%8b%e7%bc%a9%e5%8e%89%e5%ae%b3%e7%9a%84%e9%97%ae%e9%a2%98_%e5%9b%be%e7%89%87%e5%85%8d%e8%b4%b9","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=83547","title":{"rendered":"MACD\u7b49\u5e95\u80cc\u516c\u5f0f\u5728\u5206\u949f\u56fe\u4e2d\u538b\u7f29\u5389\u5bb3\u7684\u95ee\u9898_\u56fe\u7247\u514d\u8d39\u4e0b\u8f7d"},"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\u6d77\u5e95\u635e\u6708\u6307\u6807\u51fa\u4fe1\u767d\u8272\u4fe1\u53f7\u51fa\u505a\u4e2a\u9009\u80a1<\/p>\n<p>\u628a\u6d77\u5e95\u635e\u6708\u6307\u6807\u51fa\u4fe1\u767d\u8272\u4fe1\u53f7\u51fa\u505a\u4e2a\u9009\u80a1<\/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,12) - EMA(CLOSE,26); 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;<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,12) - EMA(CLOSE,26);<\/p>\n<div>\n DEA:EMA(DIFF,9);\n<\/div>\n<div>\n MACD:2*(DIFF-DEA),COLORSTICK;\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,NODRAW;\n<\/div>\n<div>\n KDJ\u5e95\u80cc:IF(B2&gt;0,-0.1,0),COLORFF00FF,NODRAW;\n<\/div>\n<div>\n RSI\u5e95\u80cc:IF(B3&gt;0,-0.1,0),coloryellow,NODRAW;\n<\/div>\n<div>\n MACD\u9876\u80cc:IF(D1&gt;0,0.1,0),COLOR00FF00,NODRAW;\n<\/div>\n<div>\n KDJ\u9876\u80cc:IF(D2&gt;0,0.1,0),COLORFFCC66,NODRAW;\n<\/div>\n<div>\n RSI\u9876\u80cc:IF(D3&gt;0,0.1,0),colorwhite,NODRAW;\n<\/div>\n<div>\n STICKLINE(B1&gt;0,-0.05,0,2,0),colorred;\n<\/div>\n<div>\n STICKLINE(B2&gt;0,-0.05,0,2,0),COLORFF00FF;\n<\/div>\n<div>\n STICKLINE(B3&gt;0,-0.05,0,2,0),coloryellow;\n<\/div>\n<div>\n STICKLINE(D1&gt;0,0.05,0,2,0),COLOR00FF00;\n<\/div>\n<div>\n STICKLINE(D2&gt;0,0.05,0,2,0),COLORFFCC66;\n<\/div>\n<div>\n STICKLINE(D3&gt;0,0.05,0,2,0),colorwhite;\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\u540c\u82b1\u987a\u5b9e\u65f6\u6e2f\u80a1\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u4e3b\u529b\u7834\u89e3,\u5927\u667a\u6167\u8d22\u5bcc\u7834\u89e3\u7248,\u901a\u8fbe\u4fe1\u8d22\u5bcc\u7834\u89e3\u7248,\u901a\u8fbe\u4fe1\u4e13\u4e1a\u7248\u7834\u89e3,\u901a\u8fbe\u4fe1\u7814\u7a76\u7248\u7834\u89e3,\u901a\u8fbe\u4fe1\u8d85\u8d62\u7248\u7834\u89e3,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u6307\u6807\u516c\u5f0f,\u80a1\u7968\u516c\u5f0f\u5927\u5168,\u6307\u5357\u9488\u8f6f\u4ef6\u7834\u89e3,\u7092\u80a1\u4e66\u7c4d,k\u7ebf\u56fe\u600e\u4e48\u770b,\u80a1\u7968k\u7ebf\u56fe,\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;\">\u5728(\u6563\u6237\u5e84\u5bb6)\u6307\u6807\u51fa\u73b0\uff08\u4f4e\u5438\uff09\u505a\u4e2a\u9009\u80a1\u6307\u6807<\/p>\n<p>\u5728(\u6563\u6237\u5e84\u5bb6)\u6307\u6807\u51fa\u73b0\uff08\u4f4e\u5438\uff09\u505a\u4e2a\u9009\u80a1\u6307\u6807<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>MACD\u7b49\u5e95\u80cc\u516c\u5f0f\u5728\u5206\u949f\u56fe\u4e2d\u538b\u7f29\u5389\u5bb3\u7684\u95ee\u9898<\/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-83547","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\/83547","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=83547"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/83547\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=83547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=83547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=83547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}