{"id":78445,"date":"2019-12-09T10:48:48","date_gmt":"2019-12-09T02:48:48","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/78445.html"},"modified":"2019-12-09T10:48:48","modified_gmt":"2019-12-09T02:48:48","slug":"%e6%8a%8amacd%e7%a5%9e%e9%a9%ac%e7%89%88%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f%e6%94%b9%e6%88%90%e5%a4%a7%e6%99%ba%e6%85%a7%e7%9a%84_%e7%ad%96%e7%95%a5%e6%8a%95%e8%b5%84%e7%a0%b4%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=78445","title":{"rendered":"\u628aMACD\u795e\u9a6c\u7248\u6307\u6807\u516c\u5f0f\u6539\u6210\u5927\u667a\u6167\u7684_\u7b56\u7565\u6295\u8d44\u7834\u89e3"},"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;\">\u6307\u6807\u51fa\u4fe1\u53f7<\/p>\n<p>\u6307\u6807\u51fa\u4fe1\u53f7<\/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\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<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>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p><span style=\"color: rgb(255, 0, 0); \">&nbsp;\u7f51\u53cb\u6c42\u52a9\uff1a<\/span><\/p>\n<div>\n \u8bf7\u8001\u5e08\u5e2e\u628aMACD\u795e\u9a6c\u7248\u6307\u6807\u516c\u5f0f\u6539\u6210\u5927\u667a\u6167\u7684\uff0c\u8c22\u8c22\uff01<br \/>\n <br \/> DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);<br \/>\n <br \/> DEA:EMA(DIFF,9);<br \/>\n <br \/> MACD:2*(DIFF-DEA),COLORSTICK;<br \/>\n <br \/> STICKLINE(MACD&lt;REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORGREEN;<br \/>\n <br \/> STICKLINE(MACD&gt;REF(MACD,1) AND MACD&lt;0,0,MACD,0,0),COLORMAGENTA;<br \/>\n <br \/> JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA&gt;=0));<br \/>\n <br \/> \u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=1,21)=1;<br \/>\n <br \/> STICKLINE(\u91d1\u53c9,0,0.1,5,0),COLOR0000FF;<br \/>\n <br \/> DRAWTEXT(\u91d1\u53c9,-0.095,'\u91d1\u53c9'),COLOR0000FF;<br \/>\n <br \/> \u4e8c\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=2,21)=1;<br \/>\n <br \/> STICKLINE(\u4e8c\u91d1\u53c9,0,0.15,5,0),COLORLIRED;<br \/>\n <br \/> DRAWTEXT(\u4e8c\u91d1\u53c9,0.23,'\u4e8c\u6b21\u91d1\u53c9'),COLORLIRED;<br \/>\n <br \/> \u4e09\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=3,28)=1;<br \/>\n <br \/> STICKLINE(\u4e09\u91d1\u53c9,0,0.2,5,0),COLORLIGREEN;<br \/>\n <br \/> DRAWTEXT(\u4e09\u91d1\u53c9,0.28,'\u4e09\u6b21\u91d1\u53c9'),COLORLIGREEN;<br \/>\n <br \/> \u56db\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=4,28)=1;<br \/>\n <br \/> STICKLINE(\u56db\u91d1\u53c9,0,0.25,5,0),COLORCYAN;<br \/>\n <br \/> DRAWTEXT(\u56db\u91d1\u53c9,0.33,'\u56db\u6b21\u91d1\u53c9'),COLORCYAN;<br \/>\n <br \/> \u4e94\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=5,33)=1;<br \/>\n <br \/> STICKLINE(\u4e94\u91d1\u53c9,0,0.3,5,0),COLORBLUE;<br \/>\n <br \/> DRAWTEXT(\u4e94\u91d1\u53c9,0.37,'\u4e94\u6b21\u91d1\u53c9'),COLORBLUE;<br \/>\n <br \/> \u516d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=6,33)=1;<br \/>\n <br \/> STICKLINE(\u516d\u91d1\u53c9,0,0.35,5,0),COLORYELLOW;<br \/>\n <br \/> DRAWTEXT(\u516d\u91d1\u53c9,0.0.7,'\u9ec4\u91d1\u5e95'),COLORYELLOW;<br \/>\n <br \/> DRAWTEXT(\u516d\u91d1\u53c9,0.42,'\u516d\u6b21\u91d1\u53c9'),COLORYELLOW;<br \/>\n <br \/> \u4e03\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=7,33)=1;<br \/>\n <br \/> STICKLINE(\u4e03\u91d1\u53c9,0,0.4,5,0),COLORWHITE;<br \/>\n <br \/> DRAWTEXT(\u4e03\u91d1\u53c9,0.0.88,'\u767d\u91d1\u5e95'),COLORWHITE;<br \/>\n <br \/> DRAWTEXT(\u4e03\u91d1\u53c9,0.47,'\u4e03\u6b21\u91d1\u53c9'),COLORWHITE;<br \/>\n <br \/> \u516b\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=8,33)=1;<br \/>\n <br \/> STICKLINE(\u516b\u91d1\u53c9,0,0.5,5,0),COLORMAGENTA;<br \/>\n <br \/> DRAWTEXT(\u516b\u91d1\u53c9,0.0.8,'\u94bb\u77f3\u5e95'),COLORMAGENTA;<br \/>\n <br \/> DRAWTEXT(\u516b\u91d1\u53c9,0.57,'\u516b\u6b21\u91d1\u53c9'),COLORMAGENTA;<br \/>\n <br \/> \u4e5d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=9,33)=1;<br \/>\n <br \/> STICKLINE(\u4e5d\u91d1\u53c9,0,0.55,5,0),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u4e5d\u91d1\u53c9,0.0.8,'\u91d1\u94bb\u5e95'),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u4e5d\u91d1\u53c9,0.6,'\u4e5d\u6b21\u91d1\u53c9'),COLORRED;<br \/>\n <br \/> A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));<br \/>\n <br \/> \u5e95\u80cc\u79bb:=(REF(L,A1+1)&gt;L OR REF(C,A1+1)&gt;C) AND (L,DIFF)&gt;REF((L,DIFF),A1+1) AND CROSS(DIFF,DEA);<br \/>\n <br \/> STICKLINE(\u5e95\u80cc\u79bb,0,-0.1,5,0),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u5e95\u80cc\u79bb,DEA,'\u5e95\u80cc\u79bb')COLORRED;<br \/>\n <br \/> DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),COLOR0000FF,LINETHICK3;<br \/>\n <br \/> A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));<br \/>\n <br \/> \u9876\u80cc\u79bb:=(REF(C,A2+1)&lt;C OR REF(H,A2+1)&lt;H) AND REF((H,DIFF),A2+1)&gt;(H,DIFF) AND CROSS(DEA,DIFF);<br \/>\n <br \/> DRAWLINE(A2=0,DEA,\u9876\u80cc\u79bb,DEA,0),COLORGREEN,LINETHICK3;<br \/>\n <br \/> STICKLINE(\u9876\u80cc\u79bb,0,0.1,5,0),COLORGREEN;<br \/>\n <br \/> DRAWTEXT(\u9876\u80cc\u79bb,DEA,'\u9876\u80cc\u79bb')COLORGREEN;<br \/>\n <br \/> DRAWTEXT(CROSS(DIFF,DEA) AND \u4e8c\u91d1\u53c9 AND \u5e95\u80cc\u79bb,0.3,'\u4e09\u5168\u5e95'),COLOR0000FF;<br \/>\n <br \/> IF(DIFF&gt;DEA,DIFF,DRAWNULL),COLORWHITE,LINETHICK2;<br \/>\n <br \/> IF(DEA&gt;REF(DEA,1) AND DIFF&gt;DEA,DEA,DRAWNULL),COLORYELLOW,LINETHICK2;\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<div>\n <span style=\"color: rgb(255, 0, 0); \">\u89e3\u7b54\u5982\u4e0b\uff1a<\/span>\n<\/div>\n<div>\n DIFF:EMA(CLOSE,12)-EMA(CLOSE,26);<br \/>\n <br \/> DEA:EMA(DIFF,9);<br \/>\n <br \/> MACD:2*(DIFF-DEA),COLORSTICK;<br \/>\n <br \/> STICKLINE(MACD&lt;REF(MACD,1) AND MACD&gt;0,0,MACD,0,0),COLORGREEN;<br \/>\n <br \/> STICKLINE(MACD&gt;REF(MACD,1) AND MACD&lt;0,0,MACD,0,0),COLORMAGENTA;<br \/>\n <br \/> JCCOUNT:=COUNT(CROSS(DIFF,DEA),BARSLAST(DEA&gt;=0));<br \/>\n <br \/> \u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=1,21)=1;<br \/>\n <br \/> STICKLINE(\u91d1\u53c9,0,0.1,5,0),COLOR0000FF;<br \/>\n <br \/> DRAWTEXT(\u91d1\u53c9,-0.095,'\u91d1\u53c9'),COLOR0000FF;<br \/>\n <br \/> \u4e8c\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=2,21)=1;<br \/>\n <br \/> STICKLINE(\u4e8c\u91d1\u53c9,0,0.15,5,0),COLOR8977FF;<br \/>\n <br \/> DRAWTEXT(\u4e8c\u91d1\u53c9,0.23,'\u4e8c\u6b21\u91d1\u53c9'),COLOR8977FF;<br \/>\n <br \/> \u4e09\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=3,28)=1;<br \/>\n <br \/> STICKLINE(\u4e09\u91d1\u53c9,0,0.2,5,0),COLORGREEN;<br \/>\n <br \/> DRAWTEXT(\u4e09\u91d1\u53c9,0.28,'\u4e09\u6b21\u91d1\u53c9'),COLORGREEN;<br \/>\n <br \/> \u56db\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=4,28)=1;<br \/>\n <br \/> STICKLINE(\u56db\u91d1\u53c9,0,0.25,5,0),COLORCYAN;<br \/>\n <br \/> DRAWTEXT(\u56db\u91d1\u53c9,0.33,'\u56db\u6b21\u91d1\u53c9'),COLORCYAN;<br \/>\n <br \/> \u4e94\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=5,33)=1;<br \/>\n <br \/> STICKLINE(\u4e94\u91d1\u53c9,0,0.3,5,0),COLORBLUE;<br \/>\n <br \/> DRAWTEXT(\u4e94\u91d1\u53c9,0.37,'\u4e94\u6b21\u91d1\u53c9'),COLORBLUE;<br \/>\n <br \/> \u516d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=6,33)=1;<br \/>\n <br \/> STICKLINE(\u516d\u91d1\u53c9,0,0.35,5,0),COLORYELLOW;<br \/>\n <br \/> DRAWTEXT(\u516d\u91d1\u53c9,0.7,'\u9ec4\u91d1\u5e95'),COLORYELLOW;<br \/>\n <br \/> DRAWTEXT(\u516d\u91d1\u53c9,0.42,'\u516d\u6b21\u91d1\u53c9'),COLORYELLOW;<br \/>\n <br \/> \u4e03\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=7,33)=1;<br \/>\n <br \/> STICKLINE(\u4e03\u91d1\u53c9,0,0.4,5,0),COLORWHITE;<br \/>\n <br \/> DRAWTEXT(\u4e03\u91d1\u53c9,0.88,'\u767d\u91d1\u5e95'),COLORWHITE;<br \/>\n <br \/> DRAWTEXT(\u4e03\u91d1\u53c9,0.47,'\u4e03\u6b21\u91d1\u53c9'),COLORWHITE;<br \/>\n <br \/> \u516b\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=8,33)=1;<br \/>\n <br \/> STICKLINE(\u516b\u91d1\u53c9,0,0.5,5,0),COLORMAGENTA;<br \/>\n <br \/> DRAWTEXT(\u516b\u91d1\u53c9,0.8,'\u94bb\u77f3\u5e95'),COLORMAGENTA;<br \/>\n <br \/> DRAWTEXT(\u516b\u91d1\u53c9,0.57,'\u516b\u6b21\u91d1\u53c9'),COLORMAGENTA;<br \/>\n <br \/> \u4e5d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DEA&lt;0 AND COUNT(JCCOUNT=9,33)=1;<br \/>\n <br \/> STICKLINE(\u4e5d\u91d1\u53c9,0,0.55,5,0),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u4e5d\u91d1\u53c9,0.8,'\u91d1\u94bb\u5e95'),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u4e5d\u91d1\u53c9,0.6,'\u4e5d\u6b21\u91d1\u53c9'),COLORRED;<br \/>\n <br \/> A1:=BARSLAST(REF(CROSS(DIFF,DEA),1));<br \/>\n <br \/> \u5e95\u80cc\u79bb:(REF(L,A1+1)&gt;L OR REF(C,A1+1)&gt;C) AND CROSS(DIFF,DEA);<br \/>\n <br \/> STICKLINE(\u5e95\u80cc\u79bb,0,-0.1,5,0),COLORRED;<br \/>\n <br \/> DRAWTEXT(\u5e95\u80cc\u79bb,DEA,'\u5e95\u80cc\u79bb'),COLORRED;<br \/>\n <br \/> DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),COLOR0000FF,LINETHICK3;<br \/>\n <br \/> A2:=BARSLAST(REF(CROSS(DEA,DIFF),1));<br \/>\n <br \/> \u9876\u80cc\u79bb:=(REF(C,A2+1)&lt;C OR REF(H,A2+1)&lt;H) AND CROSS(DEA,DIFF);<br \/>\n <br \/> DRAWLINE(A2=0,DEA,\u9876\u80cc\u79bb,DEA,0),COLORGREEN,LINETHICK3;<br \/>\n <br \/> STICKLINE(\u9876\u80cc\u79bb,0,0.1,5,0),COLORGREEN;<br \/>\n <br \/> DRAWTEXT(\u9876\u80cc\u79bb,DEA,'\u9876\u80cc\u79bb'),COLORGREEN;<br \/>\n <br \/> DRAWTEXT(CROSS(DIFF,DEA) AND \u4e8c\u91d1\u53c9 AND \u5e95\u80cc\u79bb,0.3,'\u4e09\u5168\u5e95'),COLOR0000FF;<br \/>\n <br \/> PARTLINE(DIFF,DIFF&gt;DEA,RGB(230,230,230)),LINETHICK2;<br \/>\n <br \/> PARTLINE(DEA,DEA&gt;REF(DEA,1) AND DIFF&gt;DEA,RGB(235,250,0)),LINETHICK2;<br \/>\n <br \/> &nbsp;\n<\/div>\n<p>&nbsp;<\/p>\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--}<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u5927\u5168<\/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;\">\u5c06DTX\u957f\u7ebf\u8d8b\u6539\u6210\u5927\u667a\u6167\u7684\u9009\u80a1\u516c\u5f0f<\/p>\n<p>\u5c06DTX\u957f\u7ebf\u8d8b\u6539\u6210\u5927\u667a\u6167\u7684\u9009\u80a1\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u628aMACD\u795e\u9a6c\u7248\u6307\u6807\u516c\u5f0f\u6539\u6210\u5927\u667a\u6167\u7684<\/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-78445","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\/78445","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=78445"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/78445\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}