{"id":43498,"date":"2019-04-12T11:28:04","date_gmt":"2019-04-12T03:28:04","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/43498.html"},"modified":"2019-04-12T11:28:04","modified_gmt":"2019-04-12T03:28:04","slug":"%e5%90%8c%e8%8a%b1%e9%a1%bamacd%e9%87%8f%e6%9f%b1%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f_%e4%b8%9c%e6%96%b9%e8%b4%a2%e5%af%8c%e7%a0%b4%e8%a7%a3%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=43498","title":{"rendered":"\u540c\u82b1\u987aMACD\u91cf\u67f1\u6307\u6807\u516c\u5f0f_\u4e1c\u65b9\u8d22\u5bcc\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;\">\u540c\u82b1\u987a\u53d1\u73b0\u5927\u8d44\u91d1\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u53d1\u73b0\u5927\u8d44\u91d1\u6307\u6807\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 class=\"description\">\n<p>DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);<br \/> DEA:EMA(DIFF,9),COLORFFFF00;<br \/> MACD:(DIFF-DEA)*2;<br \/> STICKLINE(MACD&gt;0 AND MACD&gt;=REF(MACD,1),0,MACD,5,0),color0000ff;<br \/> STICKLINE(MACD&gt;0 AND MACD&lt;REF(MACD,1),0,MACD,5,0),colorffff00;<br \/> STICKLINE(MACD&lt;0 AND MACD&gt;=REF(MACD,1),0,MACD,5,0),colorff00ff;<br \/> STICKLINE(MACD&lt;0 AND MACD&lt;REF(MACD,1),0,MACD,5,0),color00ff00;<br \/> DRAWICON(CROSS(DIFF,DEA),DEA,1);<br \/> DRAWICON(CROSS(DEA,DIFF),DEA,2);<br \/> gj:=MAX(C,O);<br \/> L4:=LLV(gj,4);<br \/> jl:=(HHV(diff,55)-LLV(diff,55))\/5;<br \/> gt:=dea&gt;REF(dea,1) AND REF(dea,1)&lt;REF(dea,2);<br \/> A1:=BARSLAST(REF(gt,1));<br \/> \u5e95\u80cc\u79bb:=REF(L4,A1+1)&gt;CLOSE AND diff&gt;REF(diff,A1+1) AND gt;<br \/> DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,REF(DEA,A1),0),colorred,LINETHICK2;<br \/> DRAWLINE(\u5e95\u80cc\u79bb,DEA,\u5e95\u80cc\u79bb,REF(DEA,A1),0),colorred,LINETHICK2;<br \/> DRAWTEXT(\u5e95\u80cc\u79bb,REF(DEA,A1)*1.18,' \u5e95\u80cc'),COLORFF00FF;<br \/> H4:=HHV(gj,4);<br \/> gt2:=dea&lt;REF(dea,1) AND REF(dea,1)&gt;REF(dea,2);<br \/> A2:=BARSLAST(REF(gt2,1));<br \/> \u9876\u80cc\u79bb:= REF(H4,A2+1)&lt;H4 AND diff&lt;REF(diff,A2+1) AND gt2;<br \/> DRAWLINE(A2=0 ,DEA,\u9876\u80cc\u79bb,REF(DEA,A2),0),colorgreen,LINETHICK2;<br \/> DRAWLINE(\u9876\u80cc\u79bb,DEA,\u9876\u80cc\u79bb,REF(DEA,A2),0),colorgreen,LINETHICK2;<br \/> DRAWTEXT(\u9876\u80cc\u79bb,REF(DEA,A2)*1.18,' \u9876\u80cc'),colorgreen;<br \/> A0:=DIFF&lt;0 AND DEA&lt;0;<br \/> A11:=A0&gt;REF(A0,1);<br \/> A3:=BARSLAST(A11);<br \/> A4:=COUNT(DEA&gt;0 AND DIFF &gt;0,A3)=0;<br \/> A5:=CROSS(DIFF ,DEA);<br \/> A6:=BARSLAST(A5);<br \/> A7:=REF(A6,A6+1)+A6;<br \/> A8:=(DIFF+DEA)\/2;<br \/> A9:=(HIGH+LOW)\/2;<br \/> A10:=A5 AND A7&lt;A3 AND A4 AND A8&gt;REF(A8,A7) AND A9&lt;REF(A9,A7) AND MACD&gt;0;<br \/> DRAWTEXT(A10,DIFF*0.95,'\u91d1\u53c9'),coloryellow;<br \/> VAR1:=SMA(AMOUNT\/10,10,1)\/10000;<br \/> VAR2:=REF(VAR1,1);<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=\"561\" height=\"441\" border=\"0\" onclick=\"window.open('\/uploads\/allimg\/170921\/1_170921195440_1.jpg')\" style=\"cursor:pointer\" alt=\"\u540c\u82b1\u987aMACD\u91cf\u67f1\u6307\u6807\u516c\u5f0f\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/IfMzEz.jpg\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u7092\u80a1\u8f6f\u4ef6<\/a><\/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;\">\u540c\u82b1\u987a\u5168\u9762\u5206\u6790\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u5168\u9762\u5206\u6790\u4e3b\u56fe\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u82b1\u987aMACD\u91cf\u67f1\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":43500,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[130],"class_list":["post-43498","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\/43498","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=43498"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/43498\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/43500"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43498"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43498"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43498"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}