{"id":105420,"date":"2019-06-30T06:14:12","date_gmt":"2019-06-29T22:14:12","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/105420.html"},"modified":"2019-06-30T06:14:12","modified_gmt":"2019-06-29T22:14:12","slug":"%e6%8a%8a%e8%82%a1%e4%bb%b7%e5%a4%a7%e4%ba%8e%e4%b8%8a%e7%ba%bf%e5%81%9a%e4%b8%aa%e9%80%89%e8%82%a1%e5%85%ac%e5%bc%8f_%e7%ad%96%e7%95%a5%e6%8a%95%e8%b5%84%e7%a0%b4%e8%a7%a3","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=105420","title":{"rendered":"\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f_\u7b56\u7565\u6295\u8d44\u7834\u89e3"},"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;\">\u4e16\u7eaa\u6307\u6807\u4e2dRSI1\u7ebf\u4e0a\u7a7fRSI4\u7ebf\u7684\u9884\u8b66\u516c\u5f0f<\/p>\n<p>\u4e16\u7eaa\u6307\u6807\u4e2dRSI1\u7ebf\u4e0a\u7a7fRSI4\u7ebf\u7684\u9884\u8b66\u516c\u5f0f<\/p>\n<\/blockquote>\n<p><a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/a><\/p>\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 input: N(5,1,100);<br \/>\n <br \/> A1:=ref(h,N)=hhv(h,2*N+1);<br \/>\n <br \/> B1:=filter(A1,N);<br \/>\n <br \/> C1:=backset(B1,N+1);<br \/>\n <br \/> D1:=filter(C1,n);{\u9ad8\u70b9}<br \/>\n <br \/> A2:=ref(l,N)=llv(l,2*N+1);<br \/>\n <br \/> B2:=filter(A2,N);<br \/>\n <br \/> C2:=backset(B2,N+1);<br \/>\n <br \/> D2:=filter(C2,N);{\u4f4e\u70b9}<br \/>\n <br \/> E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))\/2; E2:=(h+l)\/2;{\u9ad8\u4f4e\u70b9\u51fa\u73b0\u5728\u540c\u4e00K\u7ebf\u4e0a\u65f6\u53ef\u4f5c\u53d6\u820d}<br \/>\n <br \/> H1:=(D1 AND not(D2 AND E1&gt;=E2)) OR barstatus=2 OR barscount(c)=1;<br \/>\n <br \/> L1:=(D2 AND not(D1 AND E1&lt;E2)); H2:=D1 AND not(D2 AND E1&gt;=E2);<br \/>\n <br \/> X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)&gt;0,llvbars<br \/>\n <br \/> (if(L1,l,10000),X1));<br \/>\n <br \/> G1:=F1&gt;ref(F1,1); I1:=backset(G1,2); LD:=I1&gt;ref(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9}<br \/>\n <br \/> L2:=LD OR barstatus=2 OR barscount(c)=1;<br \/>\n <br \/> X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)&gt;0,hhvbars<br \/>\n <br \/> (if(H2,h,0),X2));<br \/>\n <br \/> G2:=F2&gt;ref(F2,1); I2:=backset(G2,2); HD:=I2&gt;ref(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9}<br \/>\n <br \/> R1:=backset(barstatus=2,barslast(HD)+1);<br \/>\n <br \/> S1:=R1&gt;ref(R1,1); {\u524d\u4e00\u9ad8}<br \/>\n <br \/> T1:=backset(barstatus=2,barslast(LD)+1);<br \/>\n <br \/> U1:=T1&gt;ref(T1,1); {\u524d\u4e00\u4f4e}<br \/>\n <br \/> R2:=backset(S1,ref(barslast(HD),1)+2);<br \/>\n <br \/> S2:=R2&gt;ref(R2,1); {\u524d\u4e8c\u9ad8}<br \/>\n <br \/> T2:=backset(U1,ref(barslast(LD),1)+2);<br \/>\n <br \/> U2:=T2&gt;ref(T2,1); {\u524d\u4e8c\u4f4e} <\/p>\n<p>\u77ed\u671f\u538b\u529b:drawline(S2,h,S1,h,1),Colorred;<br \/> \u77ed\u671f\u652f\u6491:drawline(U2,l,U1,l,1),Colorgreen;<\/p>\n<p>HH1:=if(s2,H,ref(H,BARSLAST(s2)));<br \/> HH2:=if(s1,H,ref(H,BARSLAST(s1)));<br \/> LL1:=if(u2,l,ref(l,BARSLAST(u2)));<br \/> LL2:=if(u1,l,ref(l,BARSLAST(u1)));<\/p>\n<p>\u4e0a\u7ebf:HH1+(HH2-HH1)*BARSLAST(s2)\/(BARSLAST(s2)-BARSLAST(s1)),LINETHICK0;<br \/> \u4e0b\u7ebf:LL1+(LL2-LL1)*BARSLAST(U2)\/(BARSLAST(U2)-BARSLAST(u1)),LINETHICK0;<\/p>\n<p>\u8bf7\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f\uff08\u6700\u597d\u662f\u53ef\u4ee5\u9884\u8b66\u7684\uff09<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/YV7z6f.jpg\" width=\"580\" border=\"0\" height=\"246\" alt=\"\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120314\/2_120314131221_1.jpg')\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/2InqYf.jpg\" width=\"595\" border=\"0\" height=\"245\" alt=\"\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120314\/2_120314131241_1.jpg')\" class=\"aligncenter\"><\/p>\n<\/div>\n<div>\n <span style=\"color: rgb(255, 0, 0); \"><br \/> <\/span>\n<\/div>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/f2y2Yb.jpg\" width=\"680\" border=\"0\" height=\"312\" alt=\"\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120314\/2_120314131254_1.jpg')\" class=\"aligncenter\"><\/p>\n<p><img decoding=\"async\" src=\"http:\/\/wmj.lixiangluntan.com\/2020\/8\/3E3m2y.jpg\" width=\"676\" border=\"0\" height=\"315\" alt=\"\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/120314\/2_120314131307_1.jpg')\" class=\"aligncenter\"><\/p>\n<div>\n <span style=\"color: rgb(255, 0, 0); \">\u89e3\u7b54\u5982\u4e0b\uff1a<\/span>\n<\/div>\n<div>\n input: N(5,1,100);<br \/>\n <br \/> A1:=ref(h,N)=hhv(h,2*N+1);<br \/>\n <br \/> B1:=filter(A1,N);<br \/>\n <br \/> C1:=backset(B1,N+1);<br \/>\n <br \/> D1:=filter(C1,n);{\u9ad8\u70b9}<br \/>\n <br \/> A2:=ref(l,N)=llv(l,2*N+1);<br \/>\n <br \/> B2:=filter(A2,N);<br \/>\n <br \/> C2:=backset(B2,N+1);<br \/>\n <br \/> D2:=filter(C2,N);{\u4f4e\u70b9}<br \/>\n <br \/> E1:=(ref(llv(l,2*N),1)+ref(hhv(h,2*N),1))\/2; E2:=(h+l)\/2;{\u9ad8\u4f4e\u70b9\u51fa\u73b0\u5728\u540c\u4e00K\u7ebf\u4e0a\u65f6\u53ef\u4f5c\u53d6\u820d}<br \/>\n <br \/> H1:=(D1 AND not(D2 AND E1&gt;=E2)) OR barstatus=2 OR barscount(c)=1;<br \/>\n <br \/> L1:=(D2 AND not(D1 AND E1&lt;E2)); H2:=D1 AND not(D2 AND E1&gt;=E2);<br \/>\n <br \/> X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)&gt;0,llvbars<br \/>\n <br \/> (if(L1,l,10000),X1));<br \/>\n <br \/> G1:=F1&gt;ref(F1,1); I1:=backset(G1,2); LD:=I1&gt;ref(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9}<br \/>\n <br \/> L2:=LD OR barstatus=2 OR barscount(c)=1;<br \/>\n <br \/> X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)&gt;0,hhvbars<br \/>\n <br \/> (if(H2,h,0),X2));<br \/>\n <br \/> G2:=F2&gt;ref(F2,1); I2:=backset(G2,2); HD:=I2&gt;ref(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9}<br \/>\n <br \/> R1:=backset(barstatus=2,barslast(HD)+1);<br \/>\n <br \/> S1:=R1&gt;ref(R1,1); {\u524d\u4e00\u9ad8}<br \/>\n <br \/> T1:=backset(barstatus=2,barslast(LD)+1);<br \/>\n <br \/> U1:=T1&gt;ref(T1,1); {\u524d\u4e00\u4f4e}<br \/>\n <br \/> R2:=backset(S1,ref(barslast(HD),1)+2);<br \/>\n <br \/> S2:=R2&gt;ref(R2,1); {\u524d\u4e8c\u9ad8}<br \/>\n <br \/> T2:=backset(U1,ref(barslast(LD),1)+2);<br \/>\n <br \/> U2:=T2&gt;ref(T2,1); {\u524d\u4e8c\u4f4e}<br \/>\n <br \/> HH1:=if(s2,H,ref(H,BARSLAST(s2)));<br \/>\n <br \/> HH2:=if(s1,H,ref(H,BARSLAST(s1)));<br \/>\n <br \/> LL1:=if(u2,l,ref(l,BARSLAST(u2)));<br \/>\n <br \/> LL2:=if(u1,l,ref(l,BARSLAST(u1)));<br \/>\n <br \/> \u4e0a\u7ebf:=HH1+(HH2-HH1)*BARSLAST(s2)\/(BARSLAST(s2)-BARSLAST(s1));<br \/>\n <br \/> cross(c,\u4e0a\u7ebf);\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;\">\u957f\u671f\u7f29\u91cf\u7684\u7f16\u5199\u65b9\u6cd5<\/p>\n<p>\u957f\u671f\u7f29\u91cf\u7684\u7f16\u5199\u65b9\u6cd5<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u628a\u80a1\u4ef7\u5927\u4e8e\u4e0a\u7ebf\u505a\u4e2a\u9009\u80a1\u516c\u5f0f<\/p>\n","protected":false},"author":7,"featured_media":105422,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[179],"tags":[180],"class_list":["post-105420","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gsbxdy","tag-180"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/105420","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=105420"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/105420\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/105422"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=105420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=105420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=105420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}