{"id":153185,"date":"2020-04-10T07:41:57","date_gmt":"2020-04-09T23:41:57","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/153185.html"},"modified":"2020-04-10T07:41:57","modified_gmt":"2020-04-09T23:41:57","slug":"macd%e6%96%b0%e8%b6%8b%e5%8a%bf%e4%b9%b0%e5%85%a5%e6%8f%90%e7%a4%ba_k%e7%ba%bf%e5%9b%be%e7%bb%8f%e5%85%b8%e5%9b%be%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=153185","title":{"rendered":"MACD\u65b0\u8d8b\u52bf\u4e70\u5165\u63d0\u793a_k\u7ebf\u56fe\u7ecf\u5178\u56fe\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;\">\u9003\u5708\u4e3b\u56fe<\/p>\n<p><strong>\u9003\u5708\u4e3b\u56fe <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u5e95\u90e8\u53cd\u5f39\u4e3b\u56fe\u3001\u5168\u7cfb\u9ed1\u9a6c\u4e3b\u56fe\u3001\u79c1\u85cf\u6295\u673a\u4e3b\u56fe\uff0c\u80a1\u5e02\u661f\u5149\u8292+\u8001\u9f20\u4ed3\u76d1\u63a7\u4e3b\u56fe\uff0c\u80a1\u6c11\u4e0a\u73ed\u4e3b\u56fe\uff1a\u9707\u64bc\u77ed\u7ebf\u6284\u5e95\u9003\u9876\u4fe1\u53f7\u5929\u6daf\u9501\u5589\u5251\u4e3b\u56fe\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;\">\u3010\u80a1\u7968\u8d44\u6e90\u9986\u3011\u80a1\u7968\u8f6f\u4ef6\u7834\u89e3,\u5927\u667a\u6167\u8f6f\u4ef6\u7834\u89e3,\u901a\u8fbe\u4fe1\u8f6f\u4ef6\u7834\u89e3,\u6307\u5357\u9488\u8f6f\u4ef6\u7834\u89e3,\u5927\u667a\u6167\u7b56\u7565\u6295\u8d44\u7ec8\u7aef\u7834\u89e3\u7248,\u5927\u667a\u6167\u6caa\u6df110\u6863L2\u6570\u636e,\u7406\u60f3\u8bba\u575b,\u516c\u5f0f\u6307\u6807\u7f16\u5199\u3002<\/p>\n<\/blockquote>\n<p><span class=\"toubu_gg\"><script type=\"text\/javascript\">go23_as(\"s808\");<\/script><\/span> <\/p>\n<p><strong>MACD\u65b0\u8d8b\u52bf\u4e70\u5165\u63d0\u793a <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u8d8b\u52bf\u8f6c\u6298\u3001\u7b80\u5355\u660e\u4e86\u7684MACD\u3001\u7cbe\u51c6\u6284\u5e95\u4e70\u5165\uff0c\u6781\u4f4e\u70b9\uff0c\u7edf\u8ba1\u6253\u5206\uff1a\u9006\u5411\u4e70\u5165\u9009\u80a1\u6539\u4e86\u4e00\u4e0bMACD\u3002<\/p>\n<\/p>\n<p><strong>\u901a\u8fbe\u4fe1MACD\u65b0\u8d8b\u52bf\u4e70\u5165\u63d0\u793a\u6307\u6807\u516c\u5f0f<\/strong><\/p>\n<p>VC:=(REF(C,2)*REF(V,2)+REF(C,1)*REF(V,1)+C*V)\/(V+REF(V,1)+REF(V,2));<br \/>SQX:=(VC-MA(VC,13))*100;<br \/>DIF:MA(SQX,5),COLORWHITE;<br \/>DEA:EMA(DIF,5),COLORYELLOW;<br \/>MACD:(DIF-DEA)*2,COLORSTICK;<br \/>JCCOUNT:=COUNT(CROSS(DIF,DEA),BARSLAST(DEA&gt;=0));<br \/>MACD1:=MACD;<br \/>MACD2:=REF(MACD,1);<br \/>MACD\u4e0b:IF(MACD1&lt;REF(MACD1,1),MACD1,DRAWNULL),<br \/>STICK,COLORFF9900,LINETHICK1;<br \/>\u8d8b\u52bf2:EMA(EMA(EMA(C,5)-REF(EMA(C,5),1),5),5);<br \/>\u8d8b\u52bf4:EMA(EMA(EMA(C,3)-REF(EMA(C,3),1),4),4);<br \/>DRAWICON(CROSS(\u8d8b\u52bf4,\u8d8b\u52bf2),\u8d8b\u52bf2,1);<br \/>DRAWICON(CROSS(\u8d8b\u52bf4,REF(\u8d8b\u52bf4,1))AND \u8d8b\u52bf4&lt;\u8d8b\u52bf2,\u8d8b\u52bf2,1);<br \/>{\u80a1\u7968\u516c\u5f0f\u7f51:www.lixiangluntan.com\u4e13\u4e1a\u7834\u89e3\u5b98\u65b9\u9ad8\u7aef\u80a1\u7968\u8f6f\u4ef6--\u516c\u5f0f\u7f16\u5199\u4ea4\u6d41--\u52a0QQ751161480--}<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,3.2,0),COLOR000055;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,2.7,0),COLOR000077;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,2.1,0),COLOR000099;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,1.5,0),COLOR0000BB;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,0.9,0),COLOR0000DD;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&gt;0,0,MACD1,0.3,0),COLOR0000FF;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,3.2,0),COLOR555555;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,2.7,0),COLOR777777;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,2.1,0),COLOR999999;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,1.5,0),COLORBBBBBB;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,0.9,0),COLORDDDDDD;<br \/>STICKLINE(MACD1&gt;MACD2 AND MACD1&lt;0,0,MACD1,0.3,0),COLORFFFFFF;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,3.2,0),COLORB20000;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,2.7,0),COLOREC0000;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,2.1,0),COLORFF4600;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,1.5,0),COLORFF6300;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,0.9,0),COLORFF8B00;<br \/>STICKLINE(MACD1&lt;MACD2,0,MACD1,0.3,0),COLORFFAB00;<br \/>STICKLINE(MACD1&gt;=0 OR MACD1&lt;=0,0,0,50,1),COLORWHITE;<\/p>\n<\/p>\n<p><strong>\u901a\u8fbe\u4fe1\u91d1\u9f99\u73e0\u5206\u65f6\u6307\u6807\u516c\u5f0f<\/strong><\/p>\n<p>HD:=HIGH-REF(HIGH,1);<br \/>LD:=REF(LOW,1)-LOW;<br \/>DMP:=EMA(IF(HD&gt;0 AND HD&gt;LD,HD,0),28);<br \/>DMM:=EMA(IF(LD&gt;0 AND LD&gt;HD,LD,0),28);<br \/>VZH:=EMA(DMP\/TR,28);<br \/>VZL:=EMA(DMM\/TR,28);<br \/>MA1:=EMA((CLOSE+HIGH+LOW)\/3,2);<br \/>VAR1:=MAX((DYNAINFO(3)),EMA(DYNAINFO(5),5));<br \/>VAR2:=MIN((DYNAINFO(3)),EMA(DYNAINFO(6),5));<br \/>HH:=(COST(95)+DYNAINFO(11))\/2;<br \/>LL:=(COST(5)+DYNAINFO(11))\/2;<br \/>VAR3:=CONST((VAR1+HH)\/2);<br \/>VAR4:=CONST((VAR2+LL)\/2);<br \/>VAR5:=(VAR3+VAR4)\/2;<br \/>VAR6:=(VAR4+VAR5)-VAR3;<br \/>VAR7:=(VAR4+VAR6)\/2;<br \/>VAR8:=(VAR6+VAR7)\/2;<br \/>DIF:=((EMA(CLOSE,24)-EMA(CLOSE,52))*4)+VAR5;<br \/>DEA:=EMA(DIF,18);<br \/>MCD:((DIF-DEA)*2)+VAR5,NODRAW,COLORYELLOW;<br \/>VAR10:=(3*SMA((C-LLV(L,54))\/(HHV(H,54)-LLV(L,54)),3,1)-2*SMA(SMA((C-LLV(L,54))\/(HHV(H,54)-LLV(L,54)),3,1),3,1));<br \/>VAR11:=MEMA(VAR10,10);<br \/>VAR12:=EMA(VAR11,10);<br \/>VAR13:=IF(EXIST(CROSS(VAR3,MA1),5) AND EXIST(C&gt;VAR3,10) AND VAR11&lt;HHV(VAR11,10) AND VAR12&lt;REF(VAR12,1),1,0);<br \/>VAR14:=IF(EXIST(CROSS(MA1,VAR4),5) AND EXIST(C&lt;VAR4,10) AND VAR11&gt;LLV(VAR11,10) AND VAR12&gt;REF(VAR12,1),1,0);<br \/>\u9876:VAR3,POINTDOT,COLORFF00FF;<br \/>\u5e95:VAR4,POINTDOT,COLORGREEN;<br \/>\u591a\u7a7a:=IF(VZH&gt;VZL,VAR7,VAR6);<br \/>DRAWBAND(MCD,RGB(150,30,30),VAR5,RGB(0,110,30));<br \/>DRAWBAND(\u591a\u7a7a,RGB(150,100,50),VAR8,RGB(10,100,100));<br \/>DRAWICON(VAR13=1 AND REF(VAR13,1)=0,VAR3,8);<br \/>DRAWTEXT(VAR14=1 AND REF(VAR14,1)=0,VAR4,'B'),COLORWHITE;<br \/>XC:MA1,COLORYELLOW;<\/p>\n<\/p>\n<\/p>\n<p>\u72ec\u5bb6\u7cbe\u51c6\u795e\u4e3b\u56fe\u5927\u673a\u4f1a\uff0c\u6b66\u6c49\u6293\u677f\u738b\u5f3a\u52bf\u7968\u56de\u8c03\u6d17\u76d8\u6284\u5e95\u4e70\u5165\u9009\u80a1\u3001\u5e84\u6ee1\u8f66\uff0c\u65e5K\u7ebf\u6ce2\u6bb5\u4e70\u5165\u4e3b\u56fe\u58f6\u5e95\u4e70\u5165\u9009\u80a1\uff0c\u72fc\u672c\u6027\u53ca\u9009\u80a1\u3002<\/p>\n<p><script type=\"text\/javascript\">go23_as(\"s809\");<\/script> <\/p>\n<div class=\"pages_content\" style=\"width:630px;*margin-top:10px;padding-right:0px\">\n<ul><\/ul>\n<\/div>\n<p>{\u80a1\u7968\u516c\u5f0f\u7f51:www.lixiangluntan.com\u4e13\u4e1a\u7834\u89e3\u5b98\u65b9\u9ad8\u7aef\u80a1\u7968\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\u5927\u667a\u6167\u4e13\u4e1a\u7248\u7834\u89e3\u7248,\u5927\u667a\u6167\u673a\u6784\u7834\u89e3\u7248,\u5927\u667a\u6167ACE\u7834\u89e3\u7248,ACE\u7b56\u7565,AI\u6d3b\u8dc3\u5ea6\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;\">\u4e3b\u529b\u63a7\u7b79<\/p>\n<p><strong>\u4e3b\u529b\u63a7\u7b79 <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u79c1\u52df\u4e3b\u529b\u8d44\u91d1\u4e3b\u56fe\u3001\u8ddf\u98ce\u7edf\u8ba1\u3001\u4e3b\u529b\u63a7\u76d8\u9009\u80a1\uff0c\u91d1\u9f99\u9001\u798f\uff0c\u738b\u724c\u4e3b\u529b\u9009\u80a1\uff1a\u8001\u55bb\u4e3b\u529b\u5f71\u5b50\u4e3b\u529b\u6d17\u76d8\u62a4\u76d8\u4e3b\u56fe\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p><strong>MACD\u65b0\u8d8b\u52bf\u4e70\u5165\u63d0\u793a <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u8d8b\u52bf\u8f6c\u6298\u3001\u7b80\u5355\u660e\u4e86\u7684MACD\u3001\u7cbe\u51c6\u6284\u5e95\u4e70\u5165\uff0c\u6781\u4f4e\u70b9\uff0c\u7edf\u8ba1\u6253\u5206\uff1a\u9006\u5411\u4e70\u5165\u9009\u80a1\u6539\u4e86\u4e00\u4e0bMACD\u3002<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[191],"tags":[192],"class_list":["post-153185","post","type-post","status-publish","format-standard","hentry","category-wflgsym","tag-192"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/153185","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=153185"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/153185\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153185"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153185"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153185"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}