{"id":44593,"date":"2019-07-19T11:05:32","date_gmt":"2019-07-19T03:05:32","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/44593.html"},"modified":"2019-07-19T11:05:32","modified_gmt":"2019-07-19T03:05:32","slug":"%e5%90%8c%e8%8a%b1%e9%a1%bamacd%e7%bc%a0%e8%ae%ba%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f_%e8%82%a1%e7%a5%a8%e5%85%ac%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=44593","title":{"rendered":"\u540c\u82b1\u987aMACD\u7f20\u8bba\u6307\u6807\u516c\u5f0f_\u80a1\u7968\u516c\u5f0f"},"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\u6316\u5751\u6284\u5e95\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u6316\u5751\u6284\u5e95\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>SHORT:=12;<br \/> LONG:=26;<br \/> M:=9;<br \/> DIFF:=(EMA(CLOSE,SHORT) - EMA(CLOSE,LONG));<br \/> DEA:=EMA(DIFF,M);<br \/> MACD2:=(2 * (DIFF - DEA));<br \/> DU0:=CROSS(DIFF,0);<br \/> UD0:=CROSS(0,DIFF);<br \/> TDU0:=BARSLAST(DU0);<br \/> TUD0:=BARSLAST(UD0);<br \/> DU3:=REF(DU0,1);<br \/> UD3:=REF(UD0,1);<br \/> TDU3:=BARSLAST(DU3);<br \/> TUD3:=BARSLAST(UD3);<br \/> UDGLINE:=IF((TDU3 &lt; TUD3),REF(HHV(HIGH,2),TDU3),REF(LLV(LOW,2),TUD3));<br \/> JDU0:=(((REF(CLOSE,1) &lt;= REF(UDGLINE,1)) AND (CLOSE &gt; UDGLINE)) AND (TDU0 &lt; TUD0));<br \/> JUD0:=(((REF(CLOSE,1) &gt;= REF(UDGLINE,1)) AND (CLOSE &lt; UDGLINE)) AND (TUD0 &lt; TDU0));<br \/> JDU1:=(JDU0 AND (COUNT(JDU0,TDU0) = 1));<br \/> JUD1:=(JUD0 AND (COUNT(JUD0,TUD0) = 1));<br \/> JDU2:=(JDU1 AND (REF(BARSLAST(JUD1),1) &lt; REF(BARSLAST(JDU1),1)));<br \/> JUD2:=(JUD1 AND (REF(BARSLAST(JUD1),1) &gt; REF(BARSLAST(JDU1),1)));<br \/> JDU3:=(JDU1 AND (REF(BARSLAST(JUD1),1) &gt; REF(BARSLAST(JDU1),1)));<br \/> JUD3:=(JUD1 AND (REF(BARSLAST(JUD1),1) &lt; REF(BARSLAST(JDU1),1)));<br \/> BSLINE:=IF((BARSLAST(JDU2) &lt; BARSLAST(JUD2)),IF(REF(CROSS(0,MACD2),1),LLV(LOW,2),REF(LLV(LOW,2),BARSLAST(REF(CROSS(0,MACD2),1)))),IF(REF(CROSS(MACD2,0),1),HHV(HIGH,2),REF(HHV(HIGH,2),BARSLAST(REF(CROSS(MACD2,0),1)))));<br \/> DRAWLINE((JDU1 OR (BARSLAST(JDU1) &gt; BARSLAST(JUD1))),MAX(HHV(DIFF,0),HHV(MACD2,0)),(JUD1 OR (BARSLAST(JDU1) &lt; BARSLAST(JUD1))),MAX(HHV(DIFF,0),HHV(MACD2,0)),0),CIRCLEDOT,colorred;<br \/> DRAWLINE((JUD1 OR (BARSLAST(JDU1) &lt; BARSLAST(JUD1))),MIN(LLV(DIFF,0),LLV(MACD2,0)),(JDU1 OR (BARSLAST(JDU1) &gt; BARSLAST(JUD1))),MIN(LLV(DIFF,0),LLV(MACD2,0)),0),CIRCLEDOT,colorgreen;<br \/> STICKLINE((MACD2 &gt;= 0),0,MACD2,1,1),colorred;<br \/> STICKLINE(((MACD2 &gt;= 0) AND (MACD2 &lt; REF(MACD2,1))),0,MACD2,1,0),colorred;<br \/> STICKLINE((MACD2 &lt; 0),0,MACD2,1,0),COLORFFFF00;<br \/> STICKLINE(((MACD2 &lt; 0) AND (MACD2 &gt; REF(MACD2,1))),0,MACD2,1,1),COLORFFFF00;<br \/> DIF:DIFF,colorwhite;<br \/> MACD:DEA,coloryellow;<br \/> DEF:MACD2,LINETHICK0,COLORFFFF00;<br \/> STICKLINE((CLOSE &gt; 0),0,0,10,0),COLOR808080;<br \/> DEFUT:=BARSLAST(CROSS(MACD2,0));<br \/> DEFDT:=BARSLAST(CROSS(0,MACD2));<br \/> DEFUL:=IF((MACD2 &gt;= 0),HHV(MACD2,(DEFUT + 1)),REF(HHV(MACD2,(DEFUT + 1)),(DEFDT + 1)));<br \/> DEFDL:=IF((MACD2 &lt; 0),LLV(MACD2,(DEFDT + 1)),REF(LLV(MACD2,(DEFDT + 1)),(DEFUT + 1)));<br \/> DEFU2L:=REF(DEFUL,(DEFUT + 1));<br \/> DEFD2L:=REF(DEFDL,(DEFDT + 1));<br \/> DRAWICON(((((LLV(MACD2,4) &gt; 0) AND (MACD2 &lt; REF(MACD2,1))) AND (REF(MACD2,1) &gt; REF(MACD2,2))) AND (REF(MACD2,2) &gt; REF(MACD2,3))),MACD2,2);<br \/> DRAWICON(((((HHV(MACD2,4) &lt; 0) AND (MACD2 &gt; REF(MACD2,1))) AND (REF(MACD2,1) &lt; REF(MACD2,2))) AND (REF(MACD2,2) &lt; REF(MACD2,3))),MACD2,1);<br \/> IF(((((JUD1 OR (BARSLAST(JDU1) &gt; BARSLAST(JUD1))) AND (MACD2 &gt;= 0)) AND (REF(MACD2,1) &lt; REF(DEFU2L,1))) AND (MACD2 &gt; DEFU2L)),MACD2,DRAWNULL),CIRCLEDOT,coloryellow;<br \/> IF(((((JDU1 OR (BARSLAST(JDU1) &lt; BARSLAST(JUD1))) AND (MACD2 &lt; 0)) AND (REF(MACD2,1) &gt; REF(DEFD2L,1))) AND (MACD2 &lt; DEFD2L)),MACD2,DRAWNULL),CIRCLEDOT,coloryellow;<br \/> \u4f4e\u4f4d\u91d1\u53c9:CROSS(DIFF,DEA) AND DIFF&lt;-0.1;<br \/> STICKLINE(\u4f4e\u4f4d\u91d1\u53c9,0,0.02,6,0),coloryellow;<br \/> DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9,0.025,'A1'),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,0,0.03,6,0),COLORFF00FF;<br \/> DRAWICON(\u4e8c\u6b21\u91d1\u53c9,DEA*0.9,1) ;<br \/> DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,0.035,'2'),coloryellow;<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,0,0.01,6,0),COLOR00FF00;<br \/> \u5e95\u80cc:DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),colorred,LINETHICK2;<br \/> DRAWTEXT(\u5e95\u80cc\u79bb,0.015,'A'),COLORFF00FF;<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 \/> \u9876\u80cc:DRAWLINE(A2=0,DEA,\u9876\u80cc\u79bb,DEA,0),colorgreen,LINETHICK2;<br \/> DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9 AND \u4e8c\u6b21\u91d1\u53c9 AND \u5e95\u80cc\u79bb,0.05,'\u5168'),COLOR0000FF,LINETHICK2;<br \/> R1:=EMA(HHV(HIGH,500),21);<br \/> R2:=EMA(HHV(HIGH,250),21);<br \/> R3:=EMA(HHV(HIGH,90),21);<br \/> R4:=EMA(LLV(LOW,500),21);<br \/> R5:=EMA(LLV(LOW,250),21);<br \/> R6:=EMA(LLV(LOW,90),21);<\/p>\n<p><img decoding=\"async\" width=\"599\" height=\"475\" border=\"0\" onclick=\"window.open('\/uploads\/allimg\/160523\/1_160523212457_1.jpg')\" style=\"cursor:pointer\" alt=\"\u540c\u82b1\u987aMACD\u7f20\u8bba\u6307\u6807\u516c\u5f0f\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/ne6fyi.jpg\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/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\u63a7\u76d8\u751f\u547d\u7ebf\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u63a7\u76d8\u751f\u547d\u7ebf\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u82b1\u987aMACD\u7f20\u8bba\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":44595,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[130],"class_list":["post-44593","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\/44593","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=44593"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/44593\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/44595"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=44593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=44593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=44593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}