{"id":88405,"date":"2019-09-04T04:51:21","date_gmt":"2019-09-03T20:51:21","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/88405.html"},"modified":"2019-09-04T04:51:21","modified_gmt":"2019-09-03T20:51:21","slug":"%e5%b0%86%e9%a3%9e%e7%8b%90macd%e6%94%b9%e6%88%90%e9%80%9a%e8%be%be%e4%bf%a1_%e5%a4%a7%e6%99%ba%e6%85%a7%e7%ad%96%e7%95%a5%e6%8a%95%e8%b5%84%e7%bb%88%e7%ab%af%e7%a0%b4%e8%a7%a3%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=88405","title":{"rendered":"\u5c06\u98de\u72d0MACD\u6539\u6210\u901a\u8fbe\u4fe1_\u5927\u667a\u6167\u7b56\u7565\u6295\u8d44\u7ec8\u7aef\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;\">\u5728\u4e3b\u56fe\u4e2d20\u5929\u524d\u7684K\u7ebf\u4e0b\u505a\u6807\u8bb0\u7684\u516c\u5f0f<\/p>\n<p>\u5728\u4e3b\u56fe\u4e2d20\u5929\u524d\u7684K\u7ebf\u4e0b\u505a\u6807\u8bb0\u7684\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\u8ba9\u6570\u636e\u89e6\u624b\u53ef\u5f97\uff01\u4e13\u4e1a\u548c\u8c10\u7834\u89e3\u9ad8\u7aef\u7092\u80a1\u8f6f\u4ef6\uff01<\/p>\n<p>\u662f\u56fd\u5185\u6700\u597d\u7684\u80a1\u7968\u8f6f\u4ef6\u3001\u80a1\u7968\u516c\u5f0f\u6307\u6807\u3001\u80a1\u7968\u4e66\u7c4d\u4e0b\u8f7d\u7f51\u7ad9\uff1b\u63d0\u4f9b\u6700\u5168\u9762\u7684\u80a1\u7968\u77e5\u8bc6\u3001\u7092\u80a1\u6559\u7a0b\u3001\u9ed1\u9a6c\u80a1\u7968\u3001\u80a1\u7968\u8d44\u8baf\u3001\u671f\u8d27\u5916\u6c47\u7b49\u7ed9\u5927\u5bb6\u5728\u7ebf\u53c2\u8003\u5b66\u4e60\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>\u98de\u72d0\u6e90\u7801\uff0c\u5728\u901a\u8fbe\u4fe1\u4e0a\u663e\u793a\u4e0d\u6e05\u695a\uff0c\u8bf7\u8001\u5e08\u5c06\u98de\u72d0MACD\u6539\u6210\u901a\u8fbe\u4fe1\uff0c\u8c22\u8c22\uff01 MACD\u516c\u5f0f\u6e90\u7801\uff1a DIFF1:=(EMA(CLOSE,S) - EMA(CLOSE,P)){\/EMA(CLOSE,S)*100}; DEA1:=EMA(DIFF1,M); MACD:2*(DIFF1-DEA1){,COLORSTICK},LINETHICK0; MACDHS:=IF(MACD&gt;0 AND MACD&gt;=REF(MACD,1),MACD,0); MACDHX:=IF(MACD&gt;0 AND MACD&lt;=REF(MACD,1),MACD,0); MACDLX:=IF(MACD&lt;0 AND MACD<br \/>\n <ref(macd,1),macd,0); macdls:=\"IF(MACD<0\" and macd><br \/>\n  REF(MACD,1),MACD,0); STICKLINE(MACDHS&gt;0,0,MACD,9,0),COLOR0000BB; STICKLINE(MACDHS&gt;0,0,MACD,8,0),COLOR0000CC; STICKLINE(MACDHS&gt;0,0,MACD,7,0),COLOR0011CC; STICKLINE(MACDHS&gt;0,0,MACD,6,0),COLOR1122DD; STICKLINE(MACDHS&gt;0,0,MACD,5,0),COLOR2233DD; STICKLINE(MACDHS&gt;0,0,MACD,4,0),COLOR3344EE; STICKLINE(MACDHS&gt;0,0,MACD,3,0),COLOR4455EE; STICKLINE(MACDHS&gt;0,0,MACD,2,0),COLOR5566FF; STICKLINE(MACDHS&gt;0,0,MACD,1,0),COLOR6677FF; STICKLINE(MACDHX&gt;0,0,MACD,9,0),COLOR0077BB; STICKLINE(MACDHX&gt;0,0,MACD,8,0),COLOR0088CC; STICKLINE(MACDHX&gt;0,0,MACD,7,0),COLOR0099CC; STICKLINE(MACDHX&gt;0,0,MACD,6,0),COLOR00AADD; STICKLINE(MACDHX&gt;0,0,MACD,5,0),COLOR00BBDD; STICKLINE(MACDHX&gt;0,0,MACD,4,0),COLOR00CCEE; STICKLINE(MACDHX&gt;0,0,MACD,3,0),COLOR00DDEE; STICKLINE(MACDHX&gt;0,0,MACD,2,0),COLOR00EEFF; STICKLINE(MACDHX&gt;0,0,MACD,1,0),COLOR00FFFF; STICKLINE(MACDLX&lt;0,MACD,0,9,0),COLOR770000; STICKLINE(MACDLX&lt;0,MACD,0,8,0),COLOR881100; STICKLINE(MACDLX&lt;0,MACD,0,7,0),COLOR992200; STICKLINE(MACDLX&lt;0,MACD,0,6,0),COLORAA3300; STICKLINE(MACDLX&lt;0,MACD,0,5,0),COLORBB4400; STICKLINE(MACDLX&lt;0,MACD,0,4,0),COLORCC5500; STICKLINE(MACDLX&lt;0,MACD,0,3,0),COLORDD6600; STICKLINE(MACDLX&lt;0,MACD,0,2,0),COLOREE7700; STICKLINE(MACDLX&lt;0,MACD,0,1,0),COLORFF8800; STICKLINE(MACDLS&lt;0,MACD,0,9,0),COLOR005500; STICKLINE(MACDLS&lt;0,MACD,0,8,0),COLOR007700; STICKLINE(MACDLS&lt;0,MACD,0,7,0),COLOR009900; STICKLINE(MACDLS&lt;0,MACD,0,6,0),COLOR00AA00; STICKLINE(MACDLS&lt;0,MACD,0,5,0),COLOR00BB00; STICKLINE(MACDLS&lt;0,MACD,0,4,0),COLOR00CC00; STICKLINE(MACDLS&lt;0,MACD,0,3,0),COLOR00DD00; STICKLINE(MACDLS&lt;0,MACD,0,2,0),COLOR00EE00; STICKLINE(MACDLS&lt;0,MACD,0,1,0),COLOR00FF00; DIFF:DIFF1,COLOR0000FF; DEA:DEA1,COLORFF0000;<br \/>\n <\/ref(macd,1),macd,0);><\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p>&nbsp;S:=12;P:=26;M:=9;<\/p>\n<div>\n DIFF1:=(EMA(CLOSE,S) - EMA(CLOSE,P));\n<\/div>\n<div>\n DEA1:=EMA(DIFF1,M);\n<\/div>\n<div>\n MACD:2*(DIFF1-DEA1),NODRAW;\n<\/div>\n<div>\n MACDHS:=IF(MACD&gt;0 AND MACD&gt;=REF(MACD,1),MACD,0);\n<\/div>\n<div>\n MACDHX:=IF(MACD&gt;0 AND MACD&lt;=REF(MACD,1),MACD,0);\n<\/div>\n<div>\n MACDLX:=IF(MACD&lt;0 AND MACD&lt;REF(MACD,1),MACD,0);\n<\/div>\n<div>\n MACDLS:=IF(MACD&lt;0 AND MACD&gt;REF(MACD,1),MACD,0);\n<\/div>\n<div>\n STICKLINE(MACDHS&gt;0,0,MACD,2,0),COLOR4455EE;\n<\/div>\n<div>\n STICKLINE(MACDHS&gt;0,0,MACD,1,0),COLOR5566FF;\n<\/div>\n<div>\n STICKLINE(MACDHS&gt;0,0,MACD,0,0),COLOR6677FF;\n<\/div>\n<div>\n STICKLINE(MACDHX&gt;0,0,MACD,2,0),COLOR00DDEE;\n<\/div>\n<div>\n STICKLINE(MACDHX&gt;0,0,MACD,1,0),COLOR00EEFF;\n<\/div>\n<div>\n STICKLINE(MACDHX&gt;0,0,MACD,0,0),COLOR00FFFF;\n<\/div>\n<div>\n STICKLINE(MACDLX&lt;0,MACD,0,2,0),COLORDD6600;\n<\/div>\n<div>\n STICKLINE(MACDLX&lt;0,MACD,0,1,0),COLOREE7700;\n<\/div>\n<div>\n STICKLINE(MACDLX&lt;0,MACD,0,0,0),COLORFF8800;\n<\/div>\n<div>\n STICKLINE(MACDLS&lt;0,MACD,0,2,0),COLOR00DD00;\n<\/div>\n<div>\n STICKLINE(MACDLS&lt;0,MACD,0,1,0),COLOR00EE00;\n<\/div>\n<div>\n STICKLINE(MACDLS&lt;0,MACD,0,0,0),COLOR00FF00;\n<\/div>\n<div>\n DIFF:DIFF1,COLOR0000FF,LINETHICK2;\n<\/div>\n<div>\n DEA:DEA1,COLORFFFF00,LINETHICK2;\n<\/div>\n<div>\n &nbsp;\n<\/div>\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\">\u9ed1\u9a6c\u80a1\u7968<\/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;\">\u5c06(\u51ef\u6069\u65af\u53cc\u7ebf\u6307\u6807)\u6539\u6210(\u9634\u7ebf\u4e70)\u9009\u80a1\u9884\u8b66\u516c\u5f0f<\/p>\n<p>\u5c06(\u51ef\u6069\u65af\u53cc\u7ebf\u6307\u6807)\u6539\u6210(\u9634\u7ebf\u4e70)\u9009\u80a1\u9884\u8b66\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06\u98de\u72d0MACD\u6539\u6210\u901a\u8fbe\u4fe1<\/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-88405","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\/88405","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=88405"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/88405\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=88405"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=88405"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=88405"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}