{"id":151319,"date":"2019-01-15T20:52:45","date_gmt":"2019-01-15T12:52:45","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/151319.html"},"modified":"2019-01-15T20:52:45","modified_gmt":"2019-01-15T12:52:45","slug":"%e5%85%a8%e6%81%afmacd%e5%85%ac%e5%bc%8f-%e7%ae%80%e5%8d%95%e6%98%8e%e4%ba%86%e7%9a%84macd_%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=151319","title":{"rendered":"\u5168\u606fmacd\u516c\u5f0f \u7b80\u5355\u660e\u4e86\u7684MACD_\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;\">\u8d8b\u52bf\u89e3\u76d8\u516c\u5f0f \u91d1\u9f99\u73e0\u5206\u65f6<\/p>\n<p><strong>\u8d8b\u52bf\u89e3\u76d8\u516c\u5f0f \u91d1\u9f99\u73e0\u5206\u65f6<\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u8d8b\u52bf\u8f6c\u6298\u3001\u725b\u7ebf\u64cd\u76d8\u4e3b\u56fe\u3001\u72fc\u672c\u6027\u53ca\u9009\u80a1\uff0c\u80a1\u6df1\u4f3c\u6d77\u4e3b\u56fe\uff0c\u64cd\u76d8\u624b\u4e00\u7ea2\u4e3b\u56fe\uff1a\u753b\u86c7\u6dfb\u8db3\u4e3b\u56fe\u822a\u6bcd\u5bfc\u5f39\u51fa\u51fb\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;\">\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><span class=\"toubu_gg\"><script type=\"text\/javascript\">go23_as(\"s808\");<\/script><\/span> <\/p>\n<p><strong>\u5168\u606fmacd\u516c\u5f0f \u7b80\u5355\u660e\u4e86\u7684MACD<\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u80cc\u79bb\u7ebf\u3001MACD\u7eff\u67f1\u5e95\u80cc\u79bb\u9009\u80a1\u516c\u5f0f\u3001\u7cbe\u51c6\u80cc\u79bb\u5206\u65f6\uff0c\u4e09\u7ebf\u540c\u65f6\u91d1\u53c9\u9009\u80a1\uff0cCR\u80cc\u79bb\uff1a\u7ea2\u725bMACDMACD\u5bfc\u5411\u3002<\/p>\n<\/p>\n<p><strong>\u901a\u8fbe\u4fe1\u5168\u606fmacd\u516c\u5f0f<\/strong><\/p>\n<p>DIF1:=EMA(CLOSE,12) - EMA(CLOSE,27),LINETHICK2;<br \/>DEA1:=EMA(DIF1,9),LINETHICK2;<br \/>MACD1:=2*(DIF1-DEA1),STICK;<br \/>MACD2:=EMA(MACD1,3);<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,3.2,0),COLOR000055;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,2.7,0),COLOR000077;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,2.1,0),COLOR000099;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,1.5,0),COLOR0000BB;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,0.9,0),COLOR0000DD;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,0.3,0),COLOR0000FF;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,3.2,0),COLOR555555;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,2.7,0),COLOR777777;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,2.1,0),COLOR999999;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,1.5,0),COLORBBBBBB;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,0.9,0),COLORDDDDDD;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,0.3,0),COLORFFFFFF;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,3.2,0),COLORB20000;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,2.7,0),COLOREC0000;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,2.1,0),COLORFF4600;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,1.5,0),COLORFF6300;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,0.9,0),COLORFF8B00;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,0.3,0),COLORFFAB00;<br \/>STICKLINE(MACD1&gt;=0 OR MACD1&lt;=0,0,0,50,1),COLORWHITE;<br \/>DIF:DIF1,COLOR33FF33;<br \/>DEA:DEA1,COLORYELLOW;<br \/>MACD:MACD1,NODRAW,COLORMAGENTA;<br \/>\u4f4e\u4f4d\u91d1\u53c9:CROSS(DIF1,DEA1) AND DIF1&lt;-0.1;<br \/>JCCOUNT:=COUNT(CROSS(DIF1,DEA1),BARSLAST(DEA1&gt;=0));<br \/>\u4e8c\u6b21\u91d1\u53c9:=CROSS(DIF1,DEA1) AND DEA1&lt;0 AND COUNT(JCCOUNT=2,21)=1;<br \/>STICKLINE(\u4e8c\u6b21\u91d1\u53c9,0,0.06,6,0),COLORFF00FF;<br \/>DRAWICON(\u4e8c\u6b21\u91d1\u53c9,DEA1*0.9,1) ;<br \/>DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,0.4,' \u4e8c\u6b21\u91d1\u53c9'),COLORYELLOW;<br \/>\u5f3a\u5ea6:IF(DIF1&gt;=DEA1,DIF1,DRAWNULL),COLORRED,LINETHICK2;<br \/>A1:=BARSLAST(REF(CROSS(DIF1,DEA1),1));<br \/>\u5e95\u80cc\u79bb:=REF(CLOSE,A1+1)&gt;CLOSE AND DIF1&gt;REF(DIF1,A1+1) AND CROSS(DIF1,DEA1);<br \/>STICKLINE(\u5e95\u80cc\u79bb,0,0.03,6,0),COLOR00FF00;<br \/>\u5e95\u80cc:DRAWLINE(A1=0,DEA1,\u5e95\u80cc\u79bb,DEA1,0),COLORRED,LINETHICK4;<br \/>DRAWTEXT(\u5e95\u80cc\u79bb,0.1,' \u5e95\u80cc\u79bb'),COLORYELLOW;<br \/>A2:=BARSLAST(REF(CROSS(DEA1,DIF1),1));<br \/>\u9876\u80cc\u79bb:=REF(CLOSE,A2+1)&lt;CLOSE AND REF(DIF1,A2+1)&gt;DIF1 AND CROSS(DEA1,DIF1);<br \/>\u9876\u80cc:DRAWLINE(A2=0,DEA1,\u9876\u80cc\u79bb,DEA1,0),COLORGREEN,LINETHICK4;<br \/>DRAWTEXT(\u9876\u80cc\u79bb,0.1,'\u9876\u80cc\u79bb'),COLORGREEN;<br \/>{OBV\u5224\u52bf}<br \/>OBV:=DIF; <br \/>P:=5;<br \/>AA1:=REF(OBV,P)=HHV(OBV,2*P+1);<br \/>B1:=FILTER(AA1,P);<br \/>C1:=BACKSET(B1,P+1);<br \/>D1:=FILTER(C1,P);{\u9ad8\u70b9}<br \/>AA2:=REF(OBV,P)=LLV(OBV,2*P+1);<br \/>B2:=FILTER(AA2,P);<br \/>C2:=BACKSET(B2,P+1);<br \/>D2:=FILTER(C2,P);{\u4f4e\u70b9}<br \/>\u4e0a:REF(OBV,BARSLAST(D1)),COLORFF00FF,NODRAW;<br \/>\u4e0b:REF(OBV,BARSLAST(D2)),COLOR00FF00,NODRAW;<br \/>\u5411\u4e0a:CROSS(OBV,\u4e0a*1.01),NODRAW;<br \/>\u76f8\u5bf9\u80fd\u91cf:(OBV-\u4e0b)\/(\u4e0a-\u4e0b)*100,COLORYELLOW,NODRAW;<br \/>R11:=BACKSET(ISLASTBAR,BARSLAST(D1)+1);<br \/>S11:=R11&gt;REF(R11,1);<br \/>DRAWLINE(D1,OBV,S11,OBV,1),COLORYELLOW;<br \/>T11:=BACKSET(ISLASTBAR,BARSLAST(D2)+1);<br \/>U11:=T11&gt;REF(T11,1);<br \/>DRAWLINE(D2,OBV,U11,OBV,1),COLOR00FF00;<br \/>STICKLINE(C&gt;0,\u4e0b,\u4e0b,1,0),COLOR00FF00;<br \/>STICKLINE(C&gt;0,\u4e0a,\u4e0a,1,0),COLORFF00FF;<br \/>DRAWTEXT(CROSS(OBV,\u4e0a*1.01),\u4e0a,'\u4e0a'),COLORYELLOW;<br \/>DRAWTEXT(CROSS(\u4e0b*0.99,OBV),\u4e0b,'\u4e0b'),COLORYELLOW;<br \/>{\u80a1\u65c1\u7f51-\u4e13\u4e1a\u6307\u6807\u516c\u5f0f\u7f51\u7ad9 www.chnmony.coM}<br \/>{\u91d1\u53c9\u5171\u632f\u53ca\u4e09\u5168\u9879}<br \/>DRAWICON(D1,OBV,1);<br \/>DRAWICON(D2,OBV,2);<br \/>B4:CROSS(DIF,DEA) AND CROSS(\"KDJ.K\"(9,3,3),\"KDJ.D\"(9,3,3));<br \/>DRAWTEXT(B4,0.1,'\u91d1\u53c9\u5171\u632f'),COLORYELLOW;<br \/>DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9 AND \u4e8c\u6b21\u91d1\u53c9 AND \u5e95\u80cc\u79bb,0.25,'\u4e09\u5168\u9879'),COLORYELLOW,LINETHICK2;<br \/>{\u4e70\u5165\u4fe1\u53f7}<br \/>SHORT:=6;<br \/>LONG:=9;<br \/>MID:=3;<br \/>DIF11:=EMA(CLOSE,SHORT)-EMA(CLOSE,LONG),LINETHICK1,COLOR0000FF;<br \/>DEA11:=EMA(DIF11,MID);<br \/>\u5411\u4e0b:=IF(DIF11&lt;REF(DIF,1),DIF11,DRAWNULL),COLORGREEN,LINETHICK2;<br \/>\u5f3a\u52bf\u533a:=IF((EVERY(\u5411\u4e0b&gt;=REF(\u5411\u4e0b,1),1)),-0.2,0)COLOR0000FF,LINETHICK3;<br \/>\u4e70\u5165\u4fe1\u53f7:IF(((CROSS(-0.01,\u5f3a\u52bf\u533a))AND DIF&lt;0),0.3,0),STICK,COLORGREEN,LINETHICK3;<br \/>{\u6284\u5e95}<br \/>\u6284\u5e95:ABS((CROSS(\"MACD.DIF\",\"MACD.DEA\")<br \/>&amp;&amp;\"MACD.DEA\"&lt;=-0.07)*\"MACD.DIF\")*1.50,COLORLIMAGENTA;<\/p>\n<\/p>\n<p><b>\u7cbe\u5f69\u516c\u5f0f\u63a8\u8350\uff1a<\/b><\/p>\n<p><strong>\u901a\u8fbe\u4fe1\u7b80\u5355\u660e\u4e86\u7684MACD\u6307\u6807\u516c\u5f0f<\/strong><\/p>\n<p>DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100\/EMA(CLOSE,26);<br \/>DEA : EMA(DIFF,9);<br \/>MACD:2*(DIFF-DEA),COLORSTICK;<br \/>2.5;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&gt;0,0,MACD,1,0),COLORWHITE;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&lt;0,0,MACD,1,0)COLOR00FF00;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD,0,MACD,1,0),COLORBLUE;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD&gt;0,0,MACD,1,0),COLORRED;<\/p>\n<\/p>\n<\/p>\n<p>\u7edf\u8ba1\u6253\u5206\u4e07\u5c71\u7ea2\u904d\u4e3b\u56fe\uff0c\u6539\u4e86\u4e00\u4e0bMACD\u3001\u5996\u80a1\u521d\u73b0\u9009\u80a1\uff0cMACD\u753b\u6846\u4e3b\u56feMACDK\u7ebf\uff0c0\u8f74\u4e0a\u65b9\u4e8c\u6b21\u91d1\u53c9\u7684\u9009\u80a1\u3002<\/p>\n<p><script type=\"text\/javascript\">go23_as(\"s809\");<\/script> <\/p>\n<div class=\"pages_content\" style=\"width:630px;*margin-top:10px;padding-right:0px\">\n<ul><\/ul>\n<\/div>\n<p>{\u80a1\u7968\u516c\u5f0f\u7f51:www.lixiangluntan.com\u4e13\u4e1a\u7834\u89e3\u5b98\u65b9\u9ad8\u7aef\u80a1\u7968\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\u7b56\u7565\u6295\u8d44\u7834\u89e3,\u56fe\u7247\u514d\u8d39\u4e0b\u8f7d,\u7406\u60f3\u80a1\u7968\u6280\u672f\u8bba\u575b,\u8d22\u7ecf\u80a1\u7968\u8bba\u575b,\u7092\u80a1\u8bba\u575b\u793e\u533a,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u6e90\u7801\u4ea4\u6d41,\u6307\u6807\u516c\u5f0f,\u7092\u80a1\u4e66\u7c4d,\u5206\u6790\u5bb6\u516c\u5f0f\u7f51,\u80a1\u65c1\u7f51,\u80a1\u7968\u914d\u8d44\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;\">\u8d85\u7ea7\u7ec4\u5408\u9876\u5e95\u516c\u5f0f \u5206\u65f6\u526f\u56fe\u6dfb\u52a0\u5173\u6ce8\u4ee3\u7801<\/p>\n<p><strong>\u8d85\u7ea7\u7ec4\u5408\u9876\u5e95\u516c\u5f0f \u5206\u65f6\u526f\u56fe\u6dfb\u52a0\u5173\u6ce8\u4ee3\u7801<\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u72ec\u5bb6\u7cbe\u51c6\u795e\u4e3b\u56fe\u3001\u4e3a\u4e86\u6b63\u4e49\u4e3b\u56fe\u3001\u6293\u5e84\u4e3b\u56fe\uff0c\u91d1\u9f99\u51fa\u6d77\u98de\u5929\uff0c\u9006\u5411\u4e70\u5165\u9009\u80a1\uff1a\u65ad\u6865\u9ec4\u91d1\u7ebf\u4e3b\u56fe\u8c37\u5e95\u4e70\u5165\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p><strong>\u5168\u606fmacd\u516c\u5f0f \u7b80\u5355\u660e\u4e86\u7684MACD<\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u80cc\u79bb\u7ebf\u3001MACD\u7eff\u67f1\u5e95\u80cc\u79bb\u9009\u80a1\u516c\u5f0f\u3001\u7cbe\u51c6\u80cc\u79bb\u5206\u65f6\uff0c\u4e09\u7ebf\u540c\u65f6\u91d1\u53c9\u9009\u80a1\uff0cCR\u80cc\u79bb\uff1a\u7ea2\u725bMACDMACD\u5bfc\u5411\u3002<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[191],"tags":[192],"class_list":["post-151319","post","type-post","status-publish","format-standard","hentry","category-wflgsym","tag-192"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/151319","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=151319"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/151319\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=151319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=151319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=151319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}