{"id":77750,"date":"2020-07-30T07:29:29","date_gmt":"2020-07-29T23:29:29","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/77750.html"},"modified":"2020-07-30T07:29:29","modified_gmt":"2020-07-29T23:29:29","slug":"%e8%ae%a1%e7%ae%97macd%e9%9d%a2%e7%a7%af%e4%b8%8e%e8%82%a1%e4%bb%b7%e8%b5%b0%e5%8a%bf%e8%83%8c%e7%a6%bb%e7%9a%84%e5%85%ac%e5%bc%8f_%e8%82%a1%e6%97%81%e7%bd%91","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=77750","title":{"rendered":"\u8ba1\u7b97macd\u9762\u79ef\u4e0e\u80a1\u4ef7\u8d70\u52bf\u80cc\u79bb\u7684\u516c\u5f0f_\u80a1\u65c1\u7f51"},"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;\">\u4e3b\u91d1\u8fdb\u5165\u548c\u4e3b\u529b\u5165\u573a\u5404\u5199\u4e00\u9009\u80a1\u516c\u5f0f<\/p>\n<p>\u4e3b\u91d1\u8fdb\u5165\u548c\u4e3b\u529b\u5165\u573a\u5404\u5199\u4e00\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\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<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 \u6c42\u8ba1\u7b97macd\u9762\u79ef\u4e0e\u80a1\u4ef7\u8d70\u52bf\u80cc\u79bb\u7684\u516c\u5f0f\uff0c\u6bd4\u5982macd\u7eff\u8272\u9762\u79ef\u6bd4\u524d\u9762\u5c0f\u800c\u80a1\u4ef7\u5374\u521b\u524d\u9762\u65b0\u4f4e\u5f62\u6210\u80cc\u79bb\u3002\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,SHORT) - EMA(CLOSE,LONG);<br \/>\n <br \/> DEA : EMA(DIFF,M);<br \/>\n <br \/> MACD : 2*(DIFF-DEA), COLORSTICK;<br \/>\n <br \/> JC := DEA-DIFF;<br \/>\n <br \/> \u7eff\u67f1\u9762\u79ef:=IF(MACD&lt;0,SUM(MACD,BARSLAST(JC&lt;0)),0);<br \/>\n <br \/> \u7ea2\u67f1\u9762\u79ef:=IF(MACD&gt;0,SUM(MACD,BARSLAST(JC&gt;0)),0);<br \/>\n <br \/> \u672c\u6b21\u6700\u4f4e\u4ef7:=LLV(L,BARSLAST(JC&lt;0));<br \/>\n <br \/> \u672c\u6b21\u6700\u9ad8\u4ef7:=HHV(H,BARSLAST(JC&gt;0));<br \/>\n <br \/> X1:=IF (MACD&lt;0,BARSLAST(CROSS(DIFF,DEA)),0);<br \/>\n <br \/> \u524d\u6b21\u7eff\u67f1\u9762\u79ef:=REF(\u7eff\u67f1\u9762\u79ef,X1+1);<br \/>\n <br \/> \u524d\u6b21\u6700\u4f4e\u4ef7:=REF(\u672c\u6b21\u6700\u4f4e\u4ef7,X1+1);<br \/>\n <br \/> Y1:=IF((\u7eff\u67f1\u9762\u79ef&lt;0 AND ABS(\u7eff\u67f1\u9762\u79ef)&lt;ABS(\u524d\u6b21\u7eff\u67f1\u9762\u79ef)<br \/>\n <br \/> AND \u672c\u6b21\u6700\u4f4e\u4ef7&lt;\u524d\u6b21\u6700\u4f4e\u4ef7 ),1,0);<br \/>\n <br \/> RS1:= MACD&lt;0 AND REF(MACD,1)&lt;0 AND C&lt;\u524d\u6b21\u6700\u4f4e\u4ef7<br \/>\n <br \/> AND ABS(\u7eff\u67f1\u9762\u79ef)&lt;ABS(\u524d\u6b21\u7eff\u67f1\u9762\u79ef) AND ABS(MACD)&lt;ABS(REF(MACD,1));<br \/>\n <br \/> \u5e95\u80cc\u9a70:= IF (CROSS(DIFF,DEA),REF(Y1,1),0);<br \/>\n <br \/> DRAWTEXT(\u5e95\u80cc\u9a70,0.3,'\u79ef\u5e95\u80cc'),COLOR00FFFF;<br \/>\n <br \/> STICKLINE(\u5e95\u80cc\u9a70,0,0.3,4,0),COLOR0000FF;<br \/>\n <br \/> DRAWICON(\u5e95\u80cc\u9a70,0,23),COLORYELLOW;<br \/>\n <br \/> DRAWBAND(DIFF,RGB(200,50,55),DEA,RGB(50,100,10));<br \/>\n <br \/> \u9075:IF(DIFF&gt;=DEA,DIFF,DRAWNULL),COLORRED;<br \/>\n <br \/> \u5b88:IF(DEA&gt;=DIFF,DEA,DRAWNULL),COLORFF9900;<br \/>\n <br \/> \u7eaa:IF(DIFF&gt;=DEA,DEA,DRAWNULL),COLOR00FFFF;<br \/>\n <br \/> \u5f8b:IF(DEA&gt;=DIFF,DIFF,DRAWNULL),COLOR00FF00; <\/p>\n<p>X2:=IF (MACD&gt;0,BARSLAST(CROSS(DEA,DIFF)),0);<br \/> \u524d\u6b21\u7ea2\u67f1\u9762\u79ef:=REF(\u7ea2\u67f1\u9762\u79ef,X2+1);<br \/> \u524d\u6b21\u6700\u9ad8\u4ef7:=REF(\u672c\u6b21\u6700\u9ad8\u4ef7,X2+1);<br \/> Y2:=IF((\u7ea2\u67f1\u9762\u79ef&gt;0 AND \u7ea2\u67f1\u9762\u79ef&lt;\u524d\u6b21\u7ea2\u67f1\u9762\u79ef AND \u672c\u6b21\u6700\u9ad8\u4ef7&gt;\u524d\u6b21\u6700\u9ad8\u4ef7 ),1,0);<br \/> RS2:= MACD&gt;0 AND REF(MACD,1)&gt;0 AND C&gt;\u524d\u6b21\u6700\u9ad8\u4ef7 AND ABS(\u7ea2\u67f1\u9762\u79ef)&lt;ABS(\u524d\u6b21\u7ea2\u67f1\u9762\u79ef) AND ABS(MACD)&lt;ABS(REF(MACD,1));<br \/> \u9876\u80cc\u9a70:= IF (CROSS(DEA,DIFF),REF(Y2,1),0);<br \/> DRAWICON(\u9876\u80cc\u9a70,0,19),COLOR00FF00;<br \/> STICKLINE(\u9876\u80cc\u9a70,0,-0.3,4,0),COLOR00FF00;<br \/> DRAWTEXT(\u9876\u80cc\u9a70,-0.3,'\u79ef\u9876\u80cc'),COLORFF0000;<\/p>\n<p>\u5982\u679c\u8bf4\u9762\u79ef\u5168\u575b\u53ea\u6709\u8fd9\u4e2a\u516c\u5f0f\u662fTDX\u7528\u7684\u975e\u7ae5\u8bdd\u987a\uff01<br \/> &nbsp;<\/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\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<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;\">\u51fd\u6570\u7684\u8868\u8fbe\u65b9\u5f0f<\/p>\n<p>\u51fd\u6570\u7684\u8868\u8fbe\u65b9\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u8ba1\u7b97macd\u9762\u79ef\u4e0e\u80a1\u4ef7\u8d70\u52bf\u80cc\u79bb\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-77750","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\/77750","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=77750"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/77750\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=77750"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=77750"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=77750"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}