{"id":43569,"date":"2019-03-21T12:11:15","date_gmt":"2019-03-21T04:11:15","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/43569.html"},"modified":"2019-03-21T12:11:15","modified_gmt":"2019-03-21T04:11:15","slug":"%e5%90%8c%e8%8a%b1%e9%a1%bamacd%e6%ad%a2%e8%b7%8c%e9%80%89%e8%82%a1%e6%8c%87%e6%a0%87%e5%85%ac%e5%bc%8f_%e4%b8%9c%e6%96%b9%e8%b4%a2%e5%af%8c%e7%a0%b4%e8%a7%a3%e7%89%88","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=43569","title":{"rendered":"\u540c\u82b1\u987aMACD\u6b62\u8dcc\u9009\u80a1\u6307\u6807\u516c\u5f0f_\u4e1c\u65b9\u8d22\u5bcc\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;\">\u540c\u82b1\u987a\u80cc\u79bb\u51fa\u9ed1\u9a6c\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u80cc\u79bb\u51fa\u9ed1\u9a6c\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u7092\u80a1\u8f6f\u4ef6<\/a><\/p>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p class=\"description\">\n<p>DIF3:=EMA(CLOSE,9)-EMA(CLOSE,17);<br \/> DEA3:=EMA(DIF3,8);<br \/> MACD3 := 2*(DIF3-DEA3);<br \/> RSV:=(CLOSE-LLV(LOW,9))\/(HHV(HIGH,9)-LLV(LOW,9))*100;<br \/> K:=SMA(RSV,3,1);<br \/> D:=SMA(K,3,1);<br \/> J:=3*K-2*D;<br \/> \u6b62\u8dcc:MACD3&gt;REF(MACD3,1) AND REF(MACD3,2)&gt;=REF(MACD3,1) AND J&lt;50 AND C&gt;REF(C,1) AND C&gt;O AND J&gt;REF(J,1);<br \/> DIFF:EMA(DCLOSE,12)-EMA(DCLOSE,26);<br \/> \/\/ 1.\u84dd\u7ebfB\uff1a\u9cc4\u9c7c\u7684\u989a\u3002\u53d6 13\u6839bar\u7684\u5e73\u6ed1\u79fb\u52a8\u5e73\u5747\uff0c\u5c06\u7ed3\u679c\u5f80\u672a\u6765\u7684\u65b9\u5411\u79fb\u52a88\u6839bar\u5f97\u5230\u3002<br \/> RGB_B : REF(SMA(CLOSE, 13, 1), 8), colorblue;<br \/> \/\/ 2.\u7ea2\u7ebfR\uff1a\u9cc4\u9c7c\u7684\u7259\u9f7f\u3002\u53d68\u6839bar\u7684\u5e73\u6ed1\u79fb\u52a8\u5e73\u5747\uff0c\u5c06\u7ed3\u679c\u5f80\u672a\u6765\u7684\u65b9\u5411\u79fb\u52a85\u6839bar\u5f97\u5230\u3002<br \/> RGB_R : REF(SMA(CLOSE, 8, 1), 5), colorred;<br \/> \/\/ 3.\u7eff\u7ebfG\uff1a\u9cc4\u9c7c\u7684\u4e0a\u5507\u3002\u53d65\u6839bar\u5e73\u6ed1\u79fb\u52a8\u5e73\u5747\u6570\uff0c\u5c06\u7ed3\u679c\u5f80\u672a\u6765\u7684\u65b9\u5411\u79fb\u52a83\u6839bar\u5f97\u5230\u3002<br \/> RGB_G : REF(SMA(CLOSE, 5, 1), 3), colorgreen;<br \/> \/\/ A.\u7ecf\u5178\u788e\u5f62\uff1a5\u6839bar\u7ec4\u6210\uff0c\u4e2d\u95f4\u7684\u9ad8\u70b9\u4e00\u5b9a\u6700\u9ad8\uff0c\u5de6\u53f3\u5404\u4e24\u6839\u7ebf\u6709\u8f83\u4f4e\u9ad8\u70b9\u3002\u5206\u8fa8\u5411\u4e0a\u788e\u5f62\u65f6\uff0c\u53ea\u5173\u6ce8\u9ad8\u70b9\u4f4d\u7f6e\u3002<br \/> \/\/ B.\u5411\u4e0a\u4e0e\u5411\u4e0b\u788e\u5f62\u5171\u4eab\u5916\u56f4bar<br \/> \/\/ C.\u5411\u4e0a\u3001\u5411\u4e0b\u788e\u5f62\u7531\u4e00\u6839bar\u5b8c\u6210<br \/> \/\/ D.\u5982\u4eca\u5929\u9ad8\u70b9\u4e0e\u4e4b\u524d\u9ad8\u70b9\u76f8\u540c\uff0c\u4eca\u5929\u7684bar\u4e0d\u7b97\u57285\u6839bar\u4e4b\u5185<br \/> DRAWTEXT(REF(HHV(HIGH, 5), 1) = REF(HIGH, 3), REF(HIGH, 3), '\u25e4');<br \/> DRAWTEXT(REF(LLV(LOW, 5), 1) = REF(LOW, 3), REF(LOW, 3), '\u25e4');<br \/> \/\/ 1.AO\uff0c\u5e02\u573a\u6700\u597d\u7684\u52a8\u91cf\u6307\u6807\u3002\u6d4b\u91cf\u6700\u8fd15\u4e2a\u4ef7\u683cbar\u7684\u52a8\u80fd\uff0c\u5e76\u4e0e\u8fc7\u53bb34\u4e2abar\u4f5c\u6bd4\u8f83\u3002\u7b49\u4e8e\u8fc7\u53bb5\u4e2abar\u7684\uff08\u6700\u9ad8\u70b9+\u6700\u4f4e\u70b9\uff09\/2\u53d6\u79fb\u52a8\u5e73\u5747-\u8fc7\u53bb34\u4e2abar\u7684\uff08\u6700\u9ad8\u70b9-\u6700\u4f4e\u70b9\uff09\/2\u53d6\u79fb\u52a8\u5e73\u5747\u3002<br \/> TP01 = ( HIGH + LOW ) \/ 2;<br \/> AO := SMA(TP01, 5, 1) - SMA(TP01, 34, 1);<br \/> \/\/ 2.AC\uff0c\u9886\u5148\u52a8\u80fd\u7684\u6307\u6807\u3002AO\u4e0e\u51765\u65e5\u7b80\u5355\u79fb\u52a8\u5e73\u5747\u7684\u5dee\u503c\u518d\u505a5\u65e5\u7b80\u5355\u79fb\u52a8\u5e73\u5747\u3002<br \/> AC := SMA(AO - SMA(AO, 5, 1), 5, 1);<br \/> IF ( AO &gt; REF(AO, 1) AND AC &gt; REF(AC, 1) ) THEN<br \/> \/\/ 1.\u7eff\u8272\u533a\u57df\uff1a\u5f3a\u52b2\u7684\u591a\u5934\u5e02\u573a\u3002\u52a0\u4ed3\u6761\u4ef6\u662f\uff0cAO\u4e0a\u884c\uff0cAC\u4e0a\u884c\uff0c\u4ef7\u683c\u6536\u76d8\u4e8e\u66f4\u9ad8\u4f4d\u7f6e<br \/> DRAWGBK(1, STRIP(RGB(153,204,51),RGB(150,180,100),0));<br \/> ELSE IF ( AO &lt; REF(AO, 1) AND AC &lt; REF(AC, 1) ) THEN<br \/> \/\/ 2.\u7ea2\u8272\u533a\u57df\uff1a\u5f3a\u52b2\u7684\u7a7a\u5934\u5e02\u573a\u3002\u6e05\u4ed3\u3002\uff08\u539f\u52a0\u4ed3\u6761\u4ef6\uff0cAO\u4e0b\u884c\uff0cAC\u4e0b\u884c\uff0c\u4ef7\u683c\u6536\u76d8\u4e8e\u66f4\u4f4e\u4f4d\u7f6e\u3002\uff09<br \/> DRAWGBK(1, STRIP(RGB(255,153,102),RGB(255,153,102),0));<br \/> ELSE<br \/> \/\/ 3.\u7070\u8272\u533a\u57df\uff1a\u8fc7\u6e21\u671f\u3002\u4e0d\u64cd\u4f5c\u3002<br \/> DRAWGBK(1, STRIP(RGB(99,99,99),RGB(99,99,99),0));<\/p>\n<p><img decoding=\"async\" width=\"564\" height=\"443\" border=\"0\" onclick=\"window.open('\/uploads\/allimg\/170907\/1_170907193157_1.jpg')\" style=\"cursor:pointer\" alt=\"\u540c\u82b1\u987aMACD\u6b62\u8dcc\u9009\u80a1\u6307\u6807\u516c\u5f0f\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/vUFJBb.jpg\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/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;\">\u540c\u82b1\u987a\u8d44\u91d1\u91cf\u5316\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u8d44\u91d1\u91cf\u5316\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u82b1\u987aMACD\u6b62\u8dcc\u9009\u80a1\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":43571,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[130],"class_list":["post-43569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thsgs","tag-130"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/43569","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=43569"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/43569\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/43571"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=43569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=43569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=43569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}