{"id":153212,"date":"2019-11-22T07:42:26","date_gmt":"2019-11-21T23:42:26","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/153212.html"},"modified":"2019-11-22T07:42:26","modified_gmt":"2019-11-21T23:42:26","slug":"oscmacd_%e8%82%a1%e7%a5%a8%e4%b9%a6%e7%b1%8d","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=153212","title":{"rendered":"OSCMACD_\u80a1\u7968\u4e66\u7c4d"},"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;\">\u5f69\u5e26\u9ec4\u67f1<\/p>\n<p><strong>\u5f69\u5e26\u9ec4\u67f1 <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u5929\u5fc3\u53d6\u7c73\u3001\u5e84\u6ee1\u8f66\u3001\u597d\u7528\u7684\u4e3b\u56fe\uff0c\u5927\u4e2d\u4e09\u5143\u4e3b\u56fe\uff0c\u6d17\u76d8\u7a81\u7834\u4e70\u70b9\u9009\u80a1\uff1a\u83b7\u5229\u56de\u5410\u80a1\u6df1\u4f3c\u6d77\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\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><span class=\"toubu_gg\"><script type=\"text\/javascript\">go23_as(\"s808\");<\/script><\/span> <\/p>\n<p><strong>OSCMACD <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u7edf\u8ba1\u6253\u5206\u3001\u53ccMACD\u5171\u632f\u3001MACD\u4e3b\u529b\u7248\uff0cMACD\u5bfc\u5411\uff0c\u5468\u65e5MACD\uff1a\u5c0f\u767d\u4e5f\u6323\u94b1MACD\/KDJ\/RSI\/DMI\u9876\u5e95\u80cc\u79bb\u3002<\/p>\n<\/p>\n<p><strong>\u901a\u8fbe\u4fe1OSCMACD\u6307\u6807\u516c\u5f0f<\/strong><\/p>\n<p>MA1:=MA((HIGH+LOW)\/2,5);<br \/>MA2:=MA((HIGH+LOW)\/2,35);<br \/>OSC:=MA1-MA2,LINETHICK0,COLORSTICK;<br \/>OSCE:=EMA(OSC,1);<br \/>DIF : EMA(OSCE,12) - EMA(OSCE,26);<br \/>BBDIF:=DIF-REF(DIF,1);<br \/>DEA : EMA(DIF,9);<br \/>DRAWBAND(DIF,RGB(255,105,180),DEA,RGB(34,139,34));<br \/>BBDEA:=DEA-REF(DEA,1);<br \/>MACD : 2*(DIF-DEA), COLORSTICK;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&gt;0,0,MACD,2,0),COLORFFFF00;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&lt;0,0,MACD,2,0),COLOR00FF00;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD&lt;0,0,MACD,2,0),COLOR0099FF;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD&gt;0,0,MACD,2,0),COLORRED;<br \/>0,COLORFF8855,LINETHICK2;<br \/>UPO:=IF(DIF&gt;=0,DIF,DRAWNULL);<br \/>DNO:=IF(DIF&lt;=0,DIF,DRAWNULL);<br \/>UP:EMA(UPO,35+5\/1.618),COLORFF9900,LINETHICK2;<br \/>DN:EMA(DNO,35+5\/1.618),COLORFF9900,LINETHICK2;<br \/>DIFF3 := EMA(OSCE,12) - EMA(OSCE,26);<br \/>DEA3 := EMA(DIFF3,9);<br \/>MACD3 := 2*(DIFF3-DEA3), COLORSTICK;<br \/>JC := DEA3-DIFF3;<br \/>\u7eff\u67f1\u9762\u79ef:=IF(MACD3&lt;0,SUM(MACD3,BARSLAST(JC&lt;0)),0);<br \/>\u7ea2\u67f1\u9762\u79ef:=IF(MACD3&gt;0,SUM(MACD3,BARSLAST(JC&gt;0)),0);<br \/>\u672c\u6b21\u6700\u4f4e\u4ef7:=LLV(L,BARSLAST(JC&lt;0));<br \/>\u672c\u6b21\u6700\u9ad8\u4ef7:=HHV(H,BARSLAST(JC&gt;0));<br \/>X1:=IF (MACD3&lt;0,BARSLAST(CROSS(DIFF3,DEA3)),0);<br \/>\u524d\u6b21\u7eff\u67f1\u9762\u79ef:=REF(\u7eff\u67f1\u9762\u79ef,X1+1);<br \/>\u524d\u6b21\u6700\u4f4e\u4ef7:=REF(\u672c\u6b21\u6700\u4f4e\u4ef7,X1+1);<br \/>Y1:=IF((\u7eff\u67f1\u9762\u79ef&lt;0 AND ABS(\u7eff\u67f1\u9762\u79ef)&lt;ABS(\u524d\u6b21\u7eff\u67f1\u9762\u79ef)<br \/>AND \u672c\u6b21\u6700\u4f4e\u4ef7&lt;\u524d\u6b21\u6700\u4f4e\u4ef7 ),1,0);<br \/>RS1:= MACD3&lt;0 AND REF(MACD3,1)&lt;0 AND C&lt;\u524d\u6b21\u6700\u4f4e\u4ef7<br \/>AND ABS(\u7eff\u67f1\u9762\u79ef)&lt;ABS(\u524d\u6b21\u7eff\u67f1\u9762\u79ef) AND ABS(MACD3)&lt;ABS(REF(MACD3,1));<br \/>\u5e95\u80cc\u9a70:= IF (CROSS(DIFF3,DEA3),REF(Y1,1),0);<br \/>DRAWTEXT(\u5e95\u80cc\u9a70,0.08,'\u79ef\u5e95\u80cc'),COLOR00FFFF;<br \/>STICKLINE(\u5e95\u80cc\u9a70,0,0.08,4,0),COLOR0000FF;<br \/>DRAWICON(\u5e95\u80cc\u9a70,0,23),COLORYELLOW;<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 \/>X2:=IF (MACD3&gt;0,BARSLAST(CROSS(DEA3,DIFF3)),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:= MACD3&gt;0 AND REF(MACD3,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(MACD3)&lt;ABS(REF(MACD3,1));<br \/>\u9876\u80cc\u9a70:= IF (CROSS(DEA3,DIFF3),REF(Y2,1),0);<br \/>DRAWICON(\u9876\u80cc\u9a70,0,19),COLOR00FF00;<br \/>STICKLINE(\u9876\u80cc\u9a70,0,-0.08,4,0),COLOR00FF00;<br \/>DRAWTEXT(\u9876\u80cc\u9a70,-0.08,'\u79ef\u9876\u80cc'),COLORFF0000;<\/p>\n<\/p>\n<p><strong>\u901a\u8fbe\u4fe1\u7b80\u5355\u660e\u4e86\u7684MACD\u6307\u6807\u516c\u5f0f<\/strong><\/p>\n<p>DIFF :(EMA(CLOSE,12)-EMA(CLOSE,26))*100\/EMA(CLOSE,26);<br \/>DEA : EMA(DIFF,9);<br \/>MACD:2*(DIFF-DEA),COLORSTICK;<br \/>2.5;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&gt;0,0,MACD,1,0),COLORWHITE;<br \/>STICKLINE(MACD&lt;REF(MACD,1)AND MACD&lt;0,0,MACD,1,0)COLOR00FF00;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD,0,MACD,1,0),COLORBLUE;<br \/>STICKLINE(MACD&gt;REF(MACD,1)AND MACD&gt;0,0,MACD,1,0),COLORRED;<\/p>\n<\/p>\n<\/p>\n<p>MACD\u7eff\u67f1\u5e95\u80cc\u79bb\u9009\u80a1\u516c\u5f0f\u6539\u4e86\u4e00\u4e0bMACD\uff0cMACD\u52a0KDJ\u5468\u671f\u3001\u6574\u5408MACD\u5212\u7ebf\uff0c\u8d85MACD\u672b\u65e5MACD\uff0cVMACD\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\u540c\u82b1\u987a\u5b9e\u65f6\u6e2f\u80a1\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u4e3b\u529b\u7834\u89e3,\u5927\u667a\u6167\u8d22\u5bcc\u7834\u89e3\u7248,\u901a\u8fbe\u4fe1\u8d22\u5bcc\u7834\u89e3\u7248,\u901a\u8fbe\u4fe1\u4e13\u4e1a\u7248\u7834\u89e3,\u901a\u8fbe\u4fe1\u7814\u7a76\u7248\u7834\u89e3,\u901a\u8fbe\u4fe1\u8d85\u8d62\u7248\u7834\u89e3,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u6307\u6807\u516c\u5f0f,\u80a1\u7968\u516c\u5f0f\u5927\u5168,\u6307\u5357\u9488\u8f6f\u4ef6\u7834\u89e3,\u7092\u80a1\u4e66\u7c4d,k\u7ebf\u56fe\u600e\u4e48\u770b,\u80a1\u7968k\u7ebf\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;\">\u65b0\u9b3c\u53d8\u8138<\/p>\n<p><strong>\u65b0\u9b3c\u53d8\u8138 <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u5e03\u6797\u7ebf\u4e70\u5356\u70b9\u4e3b\u56fe\u3001\u9ec4\u661f\u4e70\u5356\u70b9\u4e3b\u56fe\u3001\u4e70\u5356\u70b9\u96f7\u8fbe\uff0c\u79d8\u5bc6\u7684\u4e70\u5356\u70b9\uff0c\u6700\u65b0\u4f18\u5316\u7ec4\u5408\u9ec4\u91d1\u5206\u5272+\u5355\u9633\u4e0d\u7834+\u8d8b\u52bf\u98d8\u5e26+\u4e70\u5356\u70b9\u4e3b\u56fe\u6307\u6807\uff1a\u6210\u4ea4\u91cf\u4e70\u5356\u70b9\u9ad8\u80dc\u7b97\u7cfb\u7edf\u4e3b\u56fe\u3002<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p><strong>OSCMACD <\/strong>\u6307\u6807\u516c\u5f0f\uff1a\u7edf\u8ba1\u6253\u5206\u3001\u53ccMACD\u5171\u632f\u3001MACD\u4e3b\u529b\u7248\uff0cMACD\u5bfc\u5411\uff0c\u5468\u65e5MACD\uff1a\u5c0f\u767d\u4e5f\u6323\u94b1MACD\/KDJ\/RSI\/DMI\u9876\u5e95\u80cc\u79bb\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-153212","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\/153212","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=153212"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/153212\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=153212"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=153212"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=153212"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}