{"id":108073,"date":"2020-08-30T00:09:08","date_gmt":"2020-08-29T16:09:08","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/108073.html"},"modified":"2020-08-30T00:09:08","modified_gmt":"2020-08-29T16:09:08","slug":"%e5%b0%86%e4%b8%8b%e9%9d%a2macd%e6%8c%87%e6%a0%87%e6%94%b9%e6%88%90%e5%a4%a7%e6%99%ba%e6%85%a7%e6%96%b0%e4%b8%80%e4%bb%a3%e7%9a%84%e5%85%ac%e5%bc%8f_%e5%90%8c%e8%8a%b1%e9%a1%ba%e8%b4%a2%e5%af%8c","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=108073","title":{"rendered":"\u5c06\u4e0b\u9762MACD\u6307\u6807\u6539\u6210\u5927\u667a\u6167\u65b0\u4e00\u4ee3\u7684\u516c\u5f0f_\u540c\u82b1\u987a\u8d22\u5bcc\u4e3b\u529b\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;\">10\u65e5\u5747\u7ebf\u6709\u652f\u6491\u7684\u9009\u80a1\u516c\u5f0f<\/p>\n<p>10\u65e5\u5747\u7ebf\u6709\u652f\u6491\u7684\u9009\u80a1\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\u4e1c\u65b9\u8d22\u5bccL2\u51b3\u7b56\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u7f51,\u4e1c\u65b9\u8d22\u5bcc\u6295\u8d44\u5927\u5e08\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u5148\u950b\u7248\u7834\u89e3,\u4e1c\u65b9\u8d22\u5bcc\u9886\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8fdc\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u5148\u950b\u7834\u89e3,\u540c\u82b1\u987aL2\u7834\u89e3\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>&nbsp;\u7f51\u53cb\u6c42\u52a9\uff1a<\/p>\n<div>\n DIFF:EMA(CLOSE,SHORT)-EMA(CLOSE,LONG);<br \/>\n <br \/> DEA:EMA(DIFF,MID);<br \/>\n <br \/> MACD:(DIFF-DEA)*2,COLORSTICK; <\/p>\n<p>STICKLINE((MACD &gt; 0),0,MACD,2,0),COLOR0000CC;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.9,2,0),COLOR0000EE;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.8,2,0),COLOR0011FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.7,2,0),COLOR0033FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.6,2,0),COLOR0055FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.5,2,0),COLOR0077FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.4,2,0),COLOR0099FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.3,2,0),COLOR00BBFF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.2,2,0),COLOR00DDFF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.1,2,0),COLOR00FFFF;<br \/> STICKLINE((MACD &lt; 0),0,MACD,2,0),COLORCC0033;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.9,2,0),COLOREE0033;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.8,2,0),COLORFF1133;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.7,2,0),COLORFF3333;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.6,2,0),COLORFF5533;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.5,2,0),COLORFF7733;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.4,2,0),COLORFF9933;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.3,2,0),COLORFFBB33;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.2,2,0),COLORFFDD33;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.1,2,0),COLORFFFF33;<\/p>\n<p>\u5f3a\u5ea6:IF(DIFF&gt;=DEA,DIFF,DRAWNULL),COLORRED;<br \/> \u4f4e\u4f4d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DIFF&lt;-0.1;<br \/> DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9,-0.1,' \u4f4e\u4f4d\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 \/> DRAWICON(\u4e8c\u6b21\u91d1\u53c9,DEA*1.04,13) ;<br \/> DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,-0.1,' \u4e8c\u6b21\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 \/> \u5e95\u80cc:DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),COLORRED,POINTDOT;<br \/> DRAWTEXT(\u5e95\u80cc\u79bb,0.1,'\u5e95\u80cc\u79bb'),COLORMAGENTA;<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,POINTDOT;<br \/> DRAWTEXT(\u9876\u80cc\u79bb,DIFF,'\u9876\u80cc\u79bb'),COLORGREEN; <br \/> \u53c2\u6570SHORT:2,200,13 LONG:2,200,28 MID:2,200,8<br \/> &nbsp;<\/p>\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,13)-EMA(CLOSE,28);<br \/>\n <br \/> DEA:EMA(DIFF,8);<br \/>\n <br \/> MACD:(DIFF-DEA)*2,COLORSTICK; <\/p>\n<p>STICKLINE((MACD &gt; 0),0,MACD,2,0),COLOR0000CC;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.9,2,0),COLOR0000EE;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.8,2,0),COLOR0011FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.7,2,0),COLOR0033FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.6,2,0),COLOR0055FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.5,2,0),COLOR0077FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.4,2,0),COLOR0099FF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.3,2,0),COLOR00BBFF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.2,2,0),COLOR00DDFF;<br \/> STICKLINE((MACD &gt; 0),0,MACD*0.1,2,0),COLOR00FFFF;<br \/> STICKLINE((MACD &lt; 0),0,MACD,2,0),COLORCC0033;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.9,2,0),COLOREE0033;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.8,2,0),COLORFF1133;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.7,2,0),COLORFF3333;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.6,2,0),COLORFF5533;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.5,2,0),COLORFF7733;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.4,2,0),COLORFF9933;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.3,2,0),COLORFFBB33;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.2,2,0),COLORFFDD33;<br \/> STICKLINE((MACD &lt; 0),0,MACD*0.1,2,0),COLORFFFF33;<\/p>\n<p> PARTLINE(DIFF,DIFF&gt;=DEA,RGB(250,0,0));<br \/> \u4f4e\u4f4d\u91d1\u53c9:=CROSS(DIFF,DEA) AND DIFF&lt;-0.1;<br \/> DRAWTEXT(\u4f4e\u4f4d\u91d1\u53c9,-0.1,' \u4f4e\u4f4d\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 \/> DRAWICON(\u4e8c\u6b21\u91d1\u53c9,DEA*1.04,13) ;<br \/> DRAWTEXT(\u4e8c\u6b21\u91d1\u53c9,-0.1,' \u4e8c\u6b21\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 \/> \u5e95\u80cc:DRAWLINE(A1=0,DEA,\u5e95\u80cc\u79bb,DEA,0),COLORRED,POINTDOT;<br \/> DRAWTEXT(\u5e95\u80cc\u79bb,0.1,'\u5e95\u80cc\u79bb'),COLORMAGENTA;<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,POINTDOT;<br \/> DRAWTEXT(\u9876\u80cc\u79bb,DIFF,'\u9876\u80cc\u79bb'),COLORGREEN;<\/p>\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--}<\/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\u901a\u8fbe\u4fe1,\u5927\u667a\u6167,\u540c\u82b1\u987a,\u98de\u72d0,\u80a1\u7968\u6307\u6807\u516c\u5f0f,\u80a1\u7968\u516c\u5f0f\u5927\u5168,\u9053\u8fea\u62d3\u91d1,K\u7ebf\u56fe,k\u7ebf\u56fe\u7ecf\u5178\u56fe\u89e3,k\u7ebf\u56fe\u600e\u4e48\u770b,k\u7ebf\u56fe\u5206\u6790,\u80a1\u7968k\u7ebf\u56fe,\u5927\u667a\u6167\u7b56\u7565\u7834\u89e3\u7248\u3002\/p><\/p><\/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;\">\u628a\u51fd\u6570drawnull\u6539\u4e3a\u5927\u667a\u6167\u80fd\u7528<\/p>\n<p>\u628a\u51fd\u6570drawnull\u6539\u4e3a\u5927\u667a\u6167\u80fd\u7528<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06\u4e0b\u9762MACD\u6307\u6807\u6539\u6210\u5927\u667a\u6167\u65b0\u4e00\u4ee3\u7684\u516c\u5f0f<\/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-108073","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\/108073","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=108073"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/108073\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=108073"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=108073"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=108073"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}