{"id":43545,"date":"2020-03-04T23:43:06","date_gmt":"2020-03-04T15:43:06","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/43545.html"},"modified":"2020-03-04T23:43:06","modified_gmt":"2020-03-04T15:43:06","slug":"%e5%90%8c%e8%8a%b1%e9%a1%bamacd%e8%83%8c%e7%a6%bb%e9%87%8f%e6%9f%b1%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f_%e9%a3%9e%e7%8b%90","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=43545","title":{"rendered":"\u540c\u82b1\u987aMACD\u80cc\u79bb\u91cf\u67f1\u6307\u6807\u516c\u5f0f_\u98de\u72d0"},"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;\">\u540c\u82b1\u987a\u592a\u6781MACD\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u592a\u6781MACD\u6307\u6807\u516c\u5f0f<\/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\u6167365\u7834\u89e3\u7248\uff0c\u80a1\u7968,\u80a1\u7968\u8d44\u6e90\u9986,\u80a1\u7968\u7f51,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u4e66\u7c4d,\u7092\u80a1\u8f6f\u4ef6,\u80a1\u7968\u77e5\u8bc6,\u80a1\u7968\u5165\u95e8,\u7092\u80a1\u6559\u7a0b,\u80a1\u7968\u516c\u5f0f\u6307\u6807\u3001\u80a1\u7968\u4e66\u7c4d\u4e0b\u8f7d\u7f51\u7ad9\u3002<\/p>\n<\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p class=\"description\">\n<p>DIFF:EMA(CLOSE,9)-EMA(CLOSE,17);<br \/> DEA:EMA(DIFF,8),COLOrffaa00;<br \/> MACD:=2*(DIFF-DEA);<br \/> STICKLINE(MACD&gt;=0,MACD,0,4,1),COLORF00FF0;<br \/> STICKLINE(MACD&lt;0,MACD,0,4,1),colorwhite;<br \/> STICKLINE(MACD&lt;REF(MACD,1)AND MACD&gt;0,0,MACD,4,0 ),COLOR00aaff;<br \/> X1:IF(diff&lt;0,diff,0),COLOR0000FF,LINETHICK2;<br \/> X2:IF(diff&lt;0,0,diff),colormagenta,LINETHICK1;<br \/> X3:IF(diff&lt;dea,diff,dea),COLOR00ff00,linethick1;<br \/> X4:IF(diff&gt;dea,dea,dea),linethick1,COLORffbb11;<br \/> \u4f4e\u4f4d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DIFF&lt;-0.1;<br \/> STICKLINE(\u4f4e\u4f4d\u91d1\u53c9,DEA*0.86,DEA*0.66,6,0),coloryellow;<br \/> DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9,dea*0.86,' \u91d1\u53c9'),coloryellow;<br \/> JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA&gt;=0));<br \/> \u4e8c\u6b21\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=2,21)=1;<br \/> STICKLINE(\u4e8c\u6b21\u91d1\u53c9,DEA*0.96,DEA*0.76,6,0),ColorFF00FF;<br \/> DRAWICON(\u4e8c\u6b21\u91d1\u53c9,dea*1.1,'BUY') ;<br \/> DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,DEA*0.96,' \u91d1\u53c9'),ColorFF00FF;<br \/> A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));<br \/> \u5e95\u80cc\u79bb:=REF(CLOSE,A1+1)&gt;CLOSE AND DIFF&gt;REF(DIFF,A1+1) AND CROSS(DIFF,DEA);<br \/> STICKLINE(\u5e95\u80cc\u79bb,DEA*1.09,DEA*0.86,6,0),Color00FF00;<br \/> DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),colorred,linethick1;<br \/> DRAWTEXT(\u5e95\u80cc\u79bb,DEA*1.09,' \u5e95\u80cc'),Color6600FF;<br \/> A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));<br \/> \u9876\u80cc\u79bb:=REF(CLOSE,A2+1)&lt;CLOSE AND REF(DIFF,A2+1)&gt;DIFF AND CROSS(DEA,DIFF);<br \/> DRAWLINE(A2=0,DEA,\u9876\u80cc\u79bb,DEA,0),colorgreen,linethick1;<br \/> DRAWTEXT(\u9876\u80cc\u79bb,DEA*1.2,' \u9876\u80cc'),Color00FF00;<br \/> STICKLINE(MACD&gt;0 AND MACD&gt;=REF(MACD,1),0,MACD,10,0),color0000ff;<br \/> STICKLINE(MACD&gt;0 AND MACD&lt;REF(MACD,1),0,MACD,10,0),colorffff00;<br \/> STICKLINE(MACD&lt;0 AND MACD&gt;=REF(MACD,1),0,MACD,10,0),colorff00ff;<br \/> STICKLINE(MACD&lt;0 AND MACD&lt;REF(MACD,1),0,MACD,10,0),color00ff00;<br \/> Zero : 0;<br \/> VAR1=HHV(VAR1,20);<br \/> \u591a\u8f6c\u7a7a:=((((LLV(MACD,4)&gt;0) AND (MACD&lt;REF(MACD,1))) AND (REF(MACD,1)&gt;REF(MACD,2))) AND (REF(MACD,2)&gt;REF(MACD,3)));<br \/> \u7a7a\u8f6c\u591a:=((((HHV(MACD,4)&lt;0) AND (MACD&gt;REF(MACD,1))) AND (REF(MACD,1)&lt;REF(MACD,2))) AND (REF(MACD,2)&lt;REF(MACD,3)));<br \/> DRAWICON(\u591a\u8f6c\u7a7a,MACD,2);<br \/> DRAWICON(\u7a7a\u8f6c\u591a,MACD,1);<\/p>\n<p><img decoding=\"async\" width=\"560\" height=\"446\" border=\"0\" onclick=\"window.open('\/uploads\/allimg\/170912\/1_170912192034_1.jpg')\" style=\"cursor:pointer\" alt=\"\u540c\u82b1\u987aMACD\u80cc\u79bb\u91cf\u67f1\u6307\u6807\u516c\u5f0f\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/fQzYBn.jpg\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/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\u5927\u667a\u6167365\u7834\u89e3\u7248\uff0c\u80a1\u7968,\u80a1\u7968\u8d44\u6e90\u9986,\u80a1\u7968\u7f51,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u4e66\u7c4d,\u7092\u80a1\u8f6f\u4ef6,\u80a1\u7968\u77e5\u8bc6,\u80a1\u7968\u5165\u95e8,\u7092\u80a1\u6559\u7a0b,\u80a1\u7968\u516c\u5f0f\u6307\u6807\u3001\u80a1\u7968\u4e66\u7c4d\u4e0b\u8f7d\u7f51\u7ad9\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;\">\u540c\u82b1\u987a\u4e8c\u9636\u5bfc\u6570\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u4e8c\u9636\u5bfc\u6570\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u82b1\u987aMACD\u80cc\u79bb\u91cf\u67f1\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":43547,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[130],"class_list":["post-43545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thsgs","tag-130"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/43545","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=43545"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/43545\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/43547"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}