{"id":49555,"date":"2018-09-30T07:16:14","date_gmt":"2018-09-29T23:16:14","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/49555.html"},"modified":"2018-09-30T07:16:14","modified_gmt":"2018-09-29T23:16:14","slug":"%e5%90%8c%e8%8a%b1%e9%a1%bamacdkdjrsidmi%e9%a1%b6%e5%ba%95%e8%83%8c%e7%a6%bb%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%bd%91","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=49555","title":{"rendered":"\u540c\u82b1\u987aMACD+KDJ+RSI+DMI\u9876\u5e95\u80cc\u79bb\u6307\u6807\u516c\u5f0f_\u4e1c\u65b9\u8d22\u5bcc\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;\">\u540c\u82b1\u987a\u5f3a\u5ea6MAX\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u5f3a\u5ea6MAX\u6307\u6807\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\u4e1c\u65b9\u8d22\u5bccL2\u51b3\u7b56\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u7f51,\u4e1c\u65b9\u8d22\u5bcc\u6295\u8d44\u5927\u5e08\u7834\u89e3\u7248,\u4e1c\u65b9\u8d22\u5bcc\u5148\u950b\u7248\u7834\u89e3,\u4e1c\u65b9\u8d22\u5bcc\u9886\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8fdc\u822a\u7248\u7834\u89e3,\u540c\u82b1\u987a\u8d22\u5bcc\u5148\u950b\u7834\u89e3,\u540c\u82b1\u987aL2\u7834\u89e3\u3002<\/p>\n<\/blockquote>\n<p class=\"nr1\"><script type=\"text\/javascript\" src=\"\/about\/guanzhu.js\"><\/script> <\/p>\n<p class=\"description\">\n<p>\u5e95:-50;<br \/> \u9876:50;<br \/> TR := SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),14);<br \/> HD := HIGH-REF(HIGH,1);<br \/> LD := REF(LOW,1)-LOW;<br \/> PDM:= SUM(IF(HD&gt;0 AND HD&gt;LD,HD,0),14);<br \/> MDM:= SUM(IF(LD&gt;0 AND LD&gt;HD,LD,0),14);<br \/> PDI:= PDM*100\/TR;<br \/> MDI:= MDM*100\/TR;<br \/> A1:=BARSLAST(ref(cross(\"macd.diff\"(12,26,9),\"macd.dea\"(12,26,9)),1));<br \/> B1:=ref(c,A1+1)&gt;c and ref(\"macd.diff\"(12,26,9),A1+1)&lt;\"macd.diff\"(12,26,9) and cross(\"macd.diff\"(12,26,9),\"macd.dea\"(12,26,9));<br \/> A2:=BARSLAST(ref(cross(\"kdj.k\"(9,3,3),\"kdj.d\"(9,3,3)),1));<br \/> B2:=ref(c,A2+1)&gt;c and ref(\"kdj.k\"(9,3,3),A2+1)&lt;\"kdj.k\"(9,3,3) and cross(\"kdj.k\"(9,3,3),\"kdj.d\"(9,3,3));<br \/> A3:=BARSLAST(ref(cross(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24)),1));<br \/> \/\/{www.gUPaNg.com \u80a1\u7968\u8d44\u6e90\u9986_\u540c\u82b1\u987a\u80a1\u7968\u6307\u6807\u516c\u5f0f}<br \/> B3:=ref(c,A3+1)&gt;c and ref(\"RSI.RSI1\"(6,12,24),A3+1)&lt;\"RSI.RSI1\"(6,12,24) and cross(\"RSI.RSI1\"(6,12,24),\"RSI.RSI2\"(6,12,24));<br \/> C1:=BARSLAST(ref(cross(\"macd.dea\"(12,26,9),\"macd.diff\"(12,26,9)),1));<br \/> D1:=ref(c,C1+1)&lt;c and ref(\"macd.diff\"(12,26,9),C1+1)&gt;\"macd.diff\"(12,26,9) and cross(\"macd.dea\"(12,26,9),\"macd.diff\"(12,26,9));<br \/> C2:=BARSLAST(ref(cross(\"kdj.d\"(9,3,3),\"kdj.k\"(9,3,3)),1));<br \/> D2:=ref(c,C2+1)&lt;c and ref(\"kdj.k\"(9,3,3),C2+1)&gt;\"kdj.k\"(9,3,3) and cross(\"kdj.d\"(9,3,3),\"kdj.k\"(9,3,3));<br \/> C3:=BARSLAST(ref(cross(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24)),1));<br \/> D3:=ref(c,C3+1)&lt;c and ref(\"RSI.RSI1\"(6,12,24),C3+1)&gt;\"RSI.RSI1\"(6,12,24) and cross(\"RSI.RSI2\"(6,12,24),\"RSI.RSI1\"(6,12,24));<br \/> C4:=BARSLAST(ref(cross(mdi,pdi),1));<br \/> D4:=ref(c,C+1)&lt;c and ref(mdi,C4+1)&gt;mdi and cross(mdi,pdi);<br \/> A4:=BARSLAST(ref(cross(PDI,MDI),1));<br \/> B4:=ref(c,A4+1)&gt;c and ref(pdi,A4+1)&lt;pdi and cross(pdi,mdi);<br \/> DMI\u5e95\u80cc:IF(B4&gt;0,-50,0),COLOR0099FF,POINTDOT;<br \/> DRAWTEXT(DMI\u5e95\u80cc,-5,'DMI\u5e95\u80cc'),color0099FF;<br \/> DMI\u9876\u80cc:IF(D4&gt;0,50,0),COLORBLUE,POINTDOT;<br \/> DRAWTEXT(DMI\u9876\u80cc,15,'DMI\u9876\u80cc'),COLORBLUE;<br \/> MACD\u5e95\u80cc:if(B1&gt;0,-50,0),colorred,pointdot;<br \/> DRAWTEXT(MACD\u5e95\u80cc,-15,'MACD\u5e95\u80cc'),COLORred;<br \/> KDJ\u5e95\u80cc:if(B2&gt;0,-50,0),colorff00ff,pointdot;<br \/> DRAWTEXT(KDJ\u5e95\u80cc,-25,'KDJ\u5e95\u80cc'),COLORff00ff;<br \/> RSI\u5e95\u80cc:if(B3&gt;0,-50,0),coloryellow,pointdot;<br \/> DRAWTEXT(RSI\u5e95\u80cc,-35,'RSI\u5e95\u80cc'),COLORyellow;<br \/> MACD\u9876\u80cc:if(D1&gt;0,50,0),color00ff00,pointdot;<br \/> DRAWTEXT(MACD\u9876\u80cc,25,'MACD\u9876\u80cc'),COLOR00ff00;<br \/> KDJ\u9876\u80cc:if(D2&gt;0,50,0),colorffcc66,pointdot;<br \/> DRAWTEXT(KDJ\u9876\u80cc,35,'KDJ\u9876\u80cc'),COLORffcc66;<br \/> RSI\u9876\u80cc:if(D3&gt;0,50,0),colorffffff,pointdot;<br \/> DRAWTEXT(RSI\u9876\u80cc,45,'RSI\u9876\u80cc'),COLORffffff;<br \/> STICKLINE(B1&gt;0,-50,0,2,0),colorred;<br \/> STICKLINE(B2&gt;0,-50,0,2,0),colorff00ff;<br \/> STICKLINE(B3&gt;0,-50,0,2,0),coloryellow;<br \/> STICKLINE(d1&gt;0,50,0,2,0),color00ff00;<br \/> STICKLINE(d2&gt;0,50,0,2,0),colorffcc66;<br \/> STICKLINE(d3&gt;0,50,0,2,0),colorwhite;<br \/> STICKLINE(B4&gt;0,-50,0,2,0),color0099ff;<br \/> STICKLINE(D4&gt;0,50,0,2,0),colorblue;<\/p>\n<p><img decoding=\"async\" width=\"500\" height=\"422\" border=\"0\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/ba2y6z.jpg\" alt=\"\u540c\u82b1\u987aMACD+KDJ+RSI+DMI\u9876\u5e95\u80cc\u79bb\u6307\u6807\u516c\u5f0f\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120425\/1_120425190819_1.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\u5927\u667a\u6167365\u7834\u89e3\u7248\uff0c\u80a1\u7968,\u80a1\u7968\u8d44\u6e90\u9986,\u80a1\u7968\u7f51,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u80a1\u7968\u4e66\u7c4d,\u7092\u80a1\u8f6f\u4ef6,\u80a1\u7968\u77e5\u8bc6,\u80a1\u7968\u5165\u95e8,\u7092\u80a1\u6559\u7a0b,\u80a1\u7968\u516c\u5f0f\u6307\u6807\u3001\u80a1\u7968\u4e66\u7c4d\u4e0b\u8f7d\u7f51\u7ad9\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;\">\u540c\u82b1\u987a\u4e3b\u6563\u4e89\u9738\u6307\u6807\u516c\u5f0f<\/p>\n<p>\u540c\u82b1\u987a\u4e3b\u6563\u4e89\u9738\u6307\u6807\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u540c\u82b1\u987aMACD+KDJ+RSI+DMI\u9876\u5e95\u80cc\u79bb\u6307\u6807\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":49557,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[129],"tags":[130],"class_list":["post-49555","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\/49555","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=49555"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/49555\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/49557"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49555"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49555"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49555"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}