{"id":87932,"date":"2020-07-09T17:09:01","date_gmt":"2020-07-09T09:09:01","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/87932.html"},"modified":"2020-07-09T17:09:01","modified_gmt":"2020-07-09T09:09:01","slug":"%e5%b0%86%e5%a4%a7%e6%99%ba%e6%85%a7%e7%9f%ad%e6%9c%9f%e5%8e%8b%e5%8a%9b%e6%94%af%e6%92%91%e7%94%bb%e7%ba%bf%e6%8c%87%e6%a0%87%e6%94%b9%e6%88%90%e9%80%9a%e8%be%be%e4%bf%a1%e7%9a%84_%e7%82%92%e8%82%a1","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=87932","title":{"rendered":"\u5c06\u5927\u667a\u6167\u77ed\u671f\u538b\u529b\u652f\u6491\u753b\u7ebf\u6307\u6807\u6539\u6210\u901a\u8fbe\u4fe1\u7684_\u7092\u80a1\u6559\u7a0b"},"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;\">\u8fde\u7eed3\u5929\u6536\u76d8\u4ef7 \u6da8\u8dcc\u5e45\u4e0d\u8d85\u8fc71\u4e2a\u767e\u5206\u70b9\u7684\u9009\u80a1\u6307\u6807\u3002<\/p>\n<p>\u8fde\u7eed3\u5929\u6536\u76d8\u4ef7 \u6da8\u8dcc\u5e45\u4e0d\u8d85\u8fc71\u4e2a\u767e\u5206\u70b9\u7684\u9009\u80a1\u6307\u6807\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\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 style=\"color:red\">\u7f16\u5199\u6761\u4ef6\uff1a<\/p>\n<p>input: N(5,1,100); A1:=ref(h,N)=hhv(h,2*N+1); B1:=filter(A1,N); C1:=backset(B1,N+1); D1:=filter(C1,n);{\u9ad8\u70b9} A2:=ref(l,N)=llv(l,2*N+1); B2:=filter(A2,N); C2:=backset(B2,N+1); D2:=filter(C2,N);{\u4f4e\u70b9} 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} H1:=(D1 AND not(D2 AND E1&gt;=E2)) OR barstatus=2 OR barscount(c)=1; L1:=(D2 AND not(D1 AND E1<br \/>\n <e2)); h2:=\"D1\" and not(d2 e1><br \/>\n  =E2); X1:=ref(barslast(H1),1)+1; F1:=backset(H1 AND count(L1,X1)&gt;0,llvbars (if(L1,l,10000),X1)); G1:=F1&gt;ref(F1,1); I1:=backset(G1,2); LD:=I1&gt;ref(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9} L2:=LD OR barstatus=2 OR barscount(c)=1; X2:=ref(barslast(L2),1)+1; F2:=backset(L2 AND count(H2,X2)&gt;0,hhvbars (if(H2,h,0),X2)); G2:=F2&gt;ref(F2,1); I2:=backset(G2,2); HD:=I2&gt;ref(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9} R1:=backset(barstatus=2,barslast(HD)+1); S1:=R1&gt;ref(R1,1); {\u524d\u4e00\u9ad8} T1:=backset(barstatus=2,barslast(LD)+1); U1:=T1&gt;ref(T1,1); {\u524d\u4e00\u4f4e} R2:=backset(S1,ref(barslast(HD),1)+2); S2:=R2&gt;ref(R2,1); {\u524d\u4e8c\u9ad8} T2:=backset(U1,ref(barslast(LD),1)+2); U2:=T2&gt;ref(T2,1); {\u524d\u4e8c\u4f4e} \u77ed\u671f\u538b\u529b:drawline(S2,h,S1,h,1),Colorred; \u77ed\u671f\u652f\u6491:drawline(U2,l,U1,l,1),Colorgreen;<br \/>\n <\/e2));><\/p>\n<p style=\"color:red\">\u7f16\u5199\u65b9\u6cd5\uff1a<\/p>\n<p>&nbsp;{\u53c2\u6570 N(5,1,100);}<\/p>\n<div>\n A1:=REF(H,N)=HHV(H,2*N+1);\n<\/div>\n<div>\n B1:=FILTER(A1,N);\n<\/div>\n<div>\n C1:=BACKSET(B1,N+1);\n<\/div>\n<div>\n D1:=FILTER(C1,N);{\u9ad8\u70b9}\n<\/div>\n<div>\n A2:=REF(L,N)=LLV(L,2*N+1);\n<\/div>\n<div>\n B2:=FILTER(A2,N);\n<\/div>\n<div>\n C2:=BACKSET(B2,N+1);\n<\/div>\n<div>\n D2:=FILTER(C2,N);{\u4f4e\u70b9}\n<\/div>\n<div>\n 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}\n<\/div>\n<div>\n H1:=(D1 AND NOT(D2 AND E1&gt;=E2)) OR ISLASTBAR OR BARSCOUNT(C)=1;\n<\/div>\n<div>\n L1:=(D2 AND NOT(D1 AND E1&lt;E2)); &nbsp;H2:=D1 AND NOT(D2 AND E1&gt;=E2);\n<\/div>\n<div>\n X1:=REF(BARSLAST(H1),1)+1; F1:=BACKSET(H1 AND COUNT(L1,X1)&gt;0,LLVBARS\n<\/div>\n<div>\n (IF(L1,L,10000),X1));\n<\/div>\n<div>\n G1:=F1&gt;REF(F1,1); I1:=BACKSET(G1,2); LD:=I1&gt;REF(I1,1);{\u8fc7\u6ee4\u540e\u4f4e\u70b9}\n<\/div>\n<div>\n L2:=LD OR ISLASTBAR OR BARSCOUNT(C)=1;\n<\/div>\n<div>\n X2:=REF(BARSLAST(L2),1)+1; F2:=BACKSET(L2 AND COUNT(H2,X2)&gt;0,HHVBARS\n<\/div>\n<div>\n (IF(H2,H,0),X2));\n<\/div>\n<div>\n G2:=F2&gt;REF(F2,1); I2:=BACKSET(G2,2); HD:=I2&gt;REF(I2,1);{\u8fc7\u6ee4\u540e\u9ad8\u70b9}\n<\/div>\n<div>\n R1:=BACKSET(ISLASTBAR,BARSLAST(HD)+1);&nbsp;\n<\/div>\n<div>\n S1:=R1&gt;REF(R1,1); {\u524d\u4e00\u9ad8}\n<\/div>\n<div>\n T1:=BACKSET(ISLASTBAR,BARSLAST(LD)+1);&nbsp;\n<\/div>\n<div>\n U1:=T1&gt;REF(T1,1); {\u524d\u4e00\u4f4e}\n<\/div>\n<div>\n R2:=BACKSET(S1,REF(BARSLAST(HD),1)+2);&nbsp;\n<\/div>\n<div>\n S2:=R2&gt;REF(R2,1); {\u524d\u4e8c\u9ad8}\n<\/div>\n<div>\n T2:=BACKSET(U1,REF(BARSLAST(LD),1)+2);&nbsp;\n<\/div>\n<div>\n U2:=T2&gt;REF(T2,1); {\u524d\u4e8c\u4f4e}\n<\/div>\n<div>\n &nbsp;\n<\/div>\n<div>\n \u77ed\u671f\u538b\u529b:DRAWLINE(S2,H,S1,H,1),colorred;\n<\/div>\n<div>\n \u77ed\u671f\u652f\u6491:DRAWLINE(U2,L,U1,L,1),colorgreen;\n<\/div>\n<div>\n &nbsp;\n<\/div>\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\u7b56\u7565\u6295\u8d44\u7834\u89e3,\u56fe\u7247\u514d\u8d39\u4e0b\u8f7d,\u7406\u60f3\u80a1\u7968\u6280\u672f\u8bba\u575b,\u8d22\u7ecf\u80a1\u7968\u8bba\u575b,\u7092\u80a1\u8bba\u575b\u793e\u533a,\u80a1\u7968\u8f6f\u4ef6,\u80a1\u7968\u516c\u5f0f,\u6e90\u7801\u4ea4\u6d41,\u6307\u6807\u516c\u5f0f,\u7092\u80a1\u4e66\u7c4d,\u5206\u6790\u5bb6\u516c\u5f0f\u7f51,\u80a1\u65c1\u7f51,\u80a1\u7968\u914d\u8d44\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;\">\u4e00\u4ef7\u6da8\u91cf\u7f29\u516c\u5f0f<\/p>\n<p>\u4e00\u4ef7\u6da8\u91cf\u7f29\u516c\u5f0f<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u5c06\u5927\u667a\u6167\u77ed\u671f\u538b\u529b\u652f\u6491\u753b\u7ebf\u6307\u6807\u6539\u6210\u901a\u8fbe\u4fe1\u7684<\/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-87932","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\/87932","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=87932"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/87932\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=87932"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=87932"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=87932"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}