{"id":106748,"date":"2019-10-24T14:47:32","date_gmt":"2019-10-24T06:47:32","guid":{"rendered":"https:\/\/www.lixiangluntan.com\/106748.html"},"modified":"2019-10-24T14:47:32","modified_gmt":"2019-10-24T06:47:32","slug":"%e5%8f%8d%e5%90%91%e6%8e%a8%e7%ae%97kdj%e6%8e%a8%e6%bc%94%e5%85%a8%e7%a8%8b%e9%99%84%e5%85%ac%e5%bc%8f%e6%ba%90%e7%a0%81","status":"publish","type":"post","link":"https:\/\/www.lixiangluntan.com\/?p=106748","title":{"rendered":"\u53cd\u5411\u63a8\u7b97KDJ\u63a8\u6f14\u5168\u7a0b(\u9644\u516c\u5f0f\u6e90\u7801)"},"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;\">\u901a\u8fbe\u4fe1\u516c\u5f0f\u56fe\u6807\u4ee3\u7801\u4e00<\/p>\n<\/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 class=\"description\">\n<div class=\"gsdxg\">\n<\/div>\n<p><font color=\"Blue\">\u5e8f<\/font><br \/> \u68c0\u7d22\u5168\u7f51,\u5c1a\u672a\u6709\u53cd\u63a8KDJ\u65b9\u6848,\u53cc\u8282\u4e4b\u9645,\u516c\u5e03\u3010 \u53cd\u5411\u63a8\u7b97KDJ---\u63a8\u6f14\u5168\u7a0b (\u9644\u516c\u5f0f\u6e90\u7801)\u3011.<br \/> \u7531\u4e8e\u4ef7\u91cf\u4e43\u4e3a\u6307\u6807\u4e4b\u6bcd\uff0c\u4ea6\u5373\u5148\u6709\u80a1\u4ef7\u3001\u6210\u4ea4\u91cf\uff0c\u59cb\u6709\u6307\u6807\u7684\u4ea7\u751f\uff0c\u4ea6\u79f0\u4e3a\u201c\u56e0\u679c\u5173\u7cfb\u201d\uff0c<br \/> \u53cd\u5411\u63a8\u7b97\u7684\u610f\u4e49\u5728\u4e8e\u201c\u5012\u679c\u4e3a\u56e0\u201d\uff0c\u5c06\u6307\u6807\u7684\u9884\u4f30\u503c\uff0c\u53cd\u63a8\u56deK\u7ebf\u505a\u9884\u5148\u9884\u4f30\u3002\u5982\u6b64\u5c06\u53ef\u4ee5<br \/> \u4e8e\u660e\u65e5\u4fbf\u4e8e\u4e86\u89e3\u6307\u6807\u8fdb\u5165\u201d\u9ad8\u6863\u533a\u201d\u3001\u201d\u591a\u7a7a\u5206\u754c\u201d\u3001\u201d\u4f4e\u6863\u533a\u201d\u7684\u9884\u4f30\uff0c\u540c\u65f6\u4ea6\u53ef\u91c7\u7528<br \/> \u8fd9\u79cd\u89c2\u5ff5\uff0c\u7814\u5224\u591a\u5934\u884c\u60c5\u6216\u7a7a\u5934\u884c\u60c5\u4e4b\u652f\u6491\u533a\u6216\u538b\u529b\u533a\u3002<\/p>\n<p> <font color=\"Blue\">\u4f8b<\/font><br \/> &lt;&lt;\u5982\u4f55\u5b9e\u73b0KDJ\u7684J\u503c=50\u65f6\u5019\u5bf9\u5e94\u4ef7\u683c\u7684\u8f93\u51fa\uff1f&gt;&gt;<br \/> \u4e00\u822c\u60c5\u51b5\u4e0b\u6307\u6807\u663e\u793a\u7684\u90fd\u662fo\u3001p\u3001h\u3001l\u51e0\u4e2a\u5df2\u7ecf\u56fa\u5b9a\u7684\u4ef7\u683c\u6240\u8ba1\u7b97\u51fa\u6765\u7684\u5bf9\u5e94\u7684\u503c\uff0c\u6211\u60f3\u77e5\u9053<br \/> \u5f53\u76d8\u4e2dkdj\u7684j\u503c\u4e3a\u786e\u5b9a\u503c\uff08\u6bd4\u598250\uff09\u65f6\u5019\u5bf9\u5e94\u7684\u4ef7\u683c\uff0c\u600e\u4e48\u628a\u5b83\u8f93\u51fa\u5462\uff1f<\/p>\n<p> <font color=\"Blue\">\u610f<\/font><br \/> \u6240\u6d89\u95ee\u9898\u662f\u53cd\u5411\u63a8\u7b97,\u5373\u4ee5KDJ\u4e2d\u7684J\u4e3a\u5df2\u77e5\u6570,\u4ece\u800c\u6c42\u51fa\u516c\u5f0f\u4e2d\u7684C\u7684\u503c.<\/p>\n<p> <font color=\"Blue\">\u63a8<\/font><br \/> n:=9;m1:=3;m2:=3;<br \/> RSV:=(CLOSE-LLV(LOW,N))\/(HHV(HIGH,N)-LLV(LOW,N))*100;<br \/> K:=SMA(RSV,M1,1);D:=SMA(k,M2,1);J:=3*K-2*D;<\/p>\n<p> \u4ee5\u4e0a\u662fKDJ\u6280\u672f\u6307\u6807\u7684\u539f\u7801\u53ca\u9ed8\u8ba4\u53c2\u6570,\u5173\u95edKDJ\u4e09\u7ebf\u7684\u8f93\u51fa.<\/p>\n<p> <font color=\"Blue\">\u6f14<\/font><br \/> {=========\u53bb\u53c2\u6570\u63a8\u6f14\u5168\u7a0b==========================}<br \/> \u6211\u4eec\u77e5\u9053<br \/> SMA(X,N,M),\u6c42X\u7684N\u65e5\u79fb\u52a8\u5e73\u5747\uff0cM\u4e3a\u6743\u91cd\u3002<br \/> \u7b97\u6cd5: \u82e5Y=SMA(X,N,M)<br \/> \u5219 Y=[M*X+(N-M)*Y')]\/N,\u5176\u4e2dY'\u8868\u793a\u4e0a\u4e00\u5468\u671fY\u503c,N\u5fc5\u987b\u5927\u4e8eM\u3002<\/p>\n<p> <font color=\"Blue\">\u4e3a\u4e86\u65b9\u4fbf\u63a8\u6f14,\u628a\u53c2\u6570\u76f4\u63a5\u7528m1=3;m2=3\u6570\u503c\u8ba1\u7b97.\u6839\u636e\u4ee5\u4e0a\u6570\u5b66\u5f0f,<\/font><br \/> \u5219:k:=SMA(RSV,M1,1)\u5373<br \/> k:=SMA(rsv,3,1);<br \/> <font color=\"Blue\">\u53ef\u8f6c\u5316\u6210<\/font><br \/> k1:1\/3*rsv+ref(k,1)\/3*2;<\/p>\n<p> <font color=\"Blue\">\u540c\u6837\u9053\u7406<\/font><br \/> D:=SMA(k,3,1);<br \/> <font color=\"Blue\">\u53ef\u8f6c\u5316\u6210<\/font><br \/> d1:1\/3*k+ref(d,1)\/3*2;<\/p>\n<p> J:=3*K-2*D;<br \/> <font color=\"Blue\">\u53ef\u5199\u6210<\/font><br \/> Jj:3*K1-2*D1;<\/p>\n<p> <font color=\"Blue\">\u4ee5\u4e0a\u7684k1,d1,jj\u7b49\u540c\u4e8e\u539f\u5f0f\u4e2d\u7684k,d,j\u503c.<br \/> \u628ak1,d1\u4ee3\u5165jj\u9879(\u4e3a\u4e86\u53d9\u8ff0\u65b9\u4fbf,jj\u7528\u5c0f\u5e8f\u53f7\u6807\u6ce8,\u5176\u503c\u76f8\u7b49)<br \/> \u5219jj\u9879\u53ef\u8f6c\u5316\u6210<\/font><\/p>\n<p> Jd0:=3*(1\/3*rsv+ref(k,1)\/3*2)-2*(1\/3*k+ref(d,1)\/3*2);<br \/> Jd1:=3*(1\/3*rsv+ref(k,1)\/3*2)-2\/3*k-4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; (\u53bb\u62ec\u53f7)<br \/> jd2:=rsv+2*ref(k,1)-2\/3*k-4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;(\u53bb\u62ec\u53f7,\u79fb\u9879)<br \/> jd3:=rsv+2*ref(k,1)-2\/3*(1\/3*rsv+ref(k,1)\/3*2)-4\/3*ref(d,1);&nbsp;&nbsp;(\u628aK\u4ee3\u5165\u4e0a\u5f0f)<br \/> jd4:=rsv+2*ref(k,1)-2\/3*(1\/3*rsv+2\/3*ref(k,1))-4\/3*ref(d,1);&nbsp;&nbsp;(\u5316\u7b80)<br \/> jd5:=rsv+2*ref(k,1)-2\/9*rsv-4\/9*ref(k,1)-4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;(\u53bb\u62ec\u53f7)<br \/> jd6:=rsv-2\/9*rsv+2*ref(k,1)-4\/9*ref(k,1)-4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;(\u79fb\u9879)<br \/> jd7:=7\/9*rsv+14\/9*ref(k,1)-4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; (\u5408\u5e76\u540c\u7c7b\u9879)<\/p>\n<p> <font color=\"Blue\">\u81f3\u6b64\u5b8c\u6210\u542b\u672a\u77e5\u6570\u7684rsv\u7b97\u672f\u5316\u7b80,jd7\u6570\u503c\u4f9d\u7136\u7b49\u4e8e\u539f\u516c\u5f0f\u4e2d\u7684j\u503c.<\/font><\/p>\n<p> <font color=\"Blue\">\u4ee4j11=jd7;\u4e0b\u9762\u628a\u4e0a\u5f0f\u7f6e\u6362\u4f4d\u7f6e,<\/font><br \/> \u5373<br \/> 7\/9*rsv:=j11-14\/9*ref(k,1)+4\/3*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; (\u7f6e\u6362)<br \/> rsv:=9\/7*j11-2*ref(k,1)+12\/7*ref(d,1);&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;(\u5316\u7b80)<\/p>\n<p> \u628a<br \/> rsv:=(CLOSE-LLV(LOW,N))\/(HHV(HIGH,N)-LLV(LOW,N))<br \/> <font color=\"Blue\">\u4ee3\u5165\u4e0a\u5f0f\u5e76\u5316\u7b80\u540e\u5f97<\/font><br \/> (CLOSE-LLV(LOW,N))\/(HHV(HIGH,N)-LLV(LOW,N)):=(9\/7*j11-2*ref(k,1)+12\/7*ref(d,1))\/100;<\/p>\n<p> <font color=\"Blue\">\u5316\u7b80\u540e\u5f97<\/font><br \/> CLOSE-LLV(LOW,N):=((9\/7*j11-2*ref(k,1)+12\/7*ref(d,1))\/100)*(HHV(HIGH,N)-LLV(LOW,N));<\/p>\n<p> <font color=\"Blue\">\u4ee4xxx\u7b49\u4e8e\u6240\u6c42\u7684CLOSE,\u4e0a\u5f0f\u6f14\u5316\u6210<\/font><br \/> xxx:=((9\/7*j11-2*ref(k,1)+12\/7*ref(d,1))\/100)*(HHV(HIGH,N)-LLV(LOW,N))+LLV(LOW,N);<\/p>\n<p> <font color=\"Blue\">\u81f3\u6b64\u6240\u6c42\u7684CLOSE\u5373xxx\u5df1\u7531j\u503c\u6765\u63a7\u5236.\u5927\u529f\u544a\u6210!\u63a8\u6f14\u5b8c\u6bd5!<\/font><\/p>\n<p> ================================================================<br \/> <font color=\"Blue\">\u9644<\/font><br \/> {========\u53cd\u63a8\u516c\u5f0f\u6e90\u7801============}<br \/> {----\u8bd5\u9a8c\u53c2\u6570(j1)\u8bf4\u660e:-----}<br \/> {j1=-50\u8bfb\u5165\u5373\u65f6j\u503c,\u53cd\u63a8\u503c\u662f\u5373\u65f6c\u503c;<br \/> j1=-49\u8bfb\u5165\u6628\u65e5j\u503c,\u53ef\u77e5j\u503c\u62d0\u5934\u65f6\u7684\u4ef7\u683c;<br \/> j1\u8f93\u5165\u81ea\u5b9a\u4e49\u503c\u65f6,\u8ba1\u7b97j\u7ebf\u5230\u8fbe\u8be5\u503c\u7684\u4e34\u754c\u503c}<\/p>\n<p> input:j1(-50,-50,120);<br \/> n:=9;m1:=3;m2:=3;<br \/> RSV:=(CLOSE-LLV(LOW,N))\/(HHV(HIGH,N)-LLV(LOW,N))*100;<br \/> K:=SMA(RSV,M1,1);<br \/> D:=SMA(K,M2,1);<br \/> J:=3*K-2*D;<br \/> {-----\u7ebf\u503c------------}<br \/> k1:1\/3*rsv+ref(k,1)\/3*2;<br \/> d1:1\/3*k+ref(d,1)\/3*2;<br \/> Jj:3*K1-2*D1;<br \/> {-----\u663e\u793a-------------}<br \/> j11:=j;j\u6628:=ref(j,1);jx:=if(j1=-50,j11,if(j1=-49,j\u6628,j1));<br \/> xxx:((9\/7*jx-2*ref(k,1)+12\/7*ref(d,1))\/100)*(HHV(HIGH,9)-LLV(LOW,9))+LLV(LOW,9),colorred;<br \/> {DRAWTEXTREL(5 ,5 ,'\u8bbeJ='+NUMTOSTRN(jx,2)+' \u6240\u6f14\u80a1\u4ef7\uff1a '+NUMTOSTRN(xxx ,2));}<br \/> IF j1=-50 and barstatus=2 THEN BEGIN DRAWTEXTREL(2,5,'\u8bbeJ='+NUMTOSTRN(jx,2)+' \u6240\u6f14\u5373\u65f6\u80a1\u4ef7\uff1a '+NUMTOSTRN(xxx ,2)),colorc0c0c0;end;<br \/> IF j1=-49 and barstatus=2 THEN BEGIN DRAWTEXTREL(2,5,'\u8bbeJ='+NUMTOSTRN(jx,2)+' J\u7ebf\u62d0\u5934\u80a1\u4ef7\uff1a '+NUMTOSTRN(xxx ,2)),colorff88ff;end;<br \/> IF j1&gt;-49 and barstatus=2 THEN BEGIN DRAWTEXTREL(2,5,'\u8bbeJ='+NUMTOSTRN(jx,2)+' J\u7ebf\u8fbe\u6807\u4e34\u754c\u80a1\u4ef7\uff1a '+NUMTOSTRN(xxx ,2)),color00ff00;end;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.lixiangluntan.com\/uploads\/allimg\/100729\/1_100729092122_1.jpg\" width=\"1024\" border=\"0\" height=\"680\" alt=\"\u53cd\u5411\u63a8\u7b97KDJ\u63a8\u6f14\u5168\u7a0b(\u9644\u516c\u5f0f\u6e90\u7801)\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/100729\/1_100729092122_1.jpg')\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.lixiangluntan.com\/uploads\/allimg\/100729\/1_100729092156_1.jpg\" width=\"1024\" border=\"0\" height=\"664\" alt=\"\u53cd\u5411\u63a8\u7b97KDJ\u63a8\u6f14\u5168\u7a0b(\u9644\u516c\u5f0f\u6e90\u7801)\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/100729\/1_100729092156_1.jpg')\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/www.lixiangluntan.com\/uploads\/allimg\/100729\/1_100729092218_1.jpg\" width=\"1024\" border=\"0\" height=\"666\" alt=\"\u53cd\u5411\u63a8\u7b97KDJ\u63a8\u6f14\u5168\u7a0b(\u9644\u516c\u5f0f\u6e90\u7801)\" style=\"cursor:pointer\" onclick=\"window.open('\/uploads\/allimg\/100729\/1_100729092218_1.jpg')\" class=\"aligncenter\"><\/p>\n<p>&nbsp;<\/p>\n<div class=\"yuansheng1\">\n<div class=\"_1a77a5b7w7ei\"><\/div>\n<p> <script type=\"text\/javascript\">\n    (window.slotbydup = window.slotbydup || []).push({\n        id: \"u6133514\",\n        container: \"_1a77a5b7w7ei\",\n        async: true\n    });\n<\/script>\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--}<a href=\"http:\/\/www.lixiangluntan.com\" target=\"_blank\" rel=\"noopener noreferrer\">\u80a1\u7968\u516c\u5f0f\u7f51<\/a><\/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;\">\u901a\u8fbe\u4fe1\u6761\u4ef6\u9009\u80a1\u8bbe\u7f6e\u65b9\u6cd5<\/p>\n<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>\u901a\u8fbe\u4fe1\u516c\u5f0f\u56fe\u6807\u4ee3\u7801\u4e00 \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 \u662f\u56fd\u5185\u6700\u597d\u7684\u80a1\u7968\u8f6f\u4ef6\u3001\u80a1\u7968\u516c\u5f0f ...<\/p>\n","protected":false},"author":7,"featured_media":106750,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[181],"tags":[182],"class_list":["post-106748","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-gsjc","tag-182"],"_links":{"self":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/106748","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=106748"}],"version-history":[{"count":0,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/posts\/106748\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=\/wp\/v2\/media\/106750"}],"wp:attachment":[{"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106748"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=106748"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lixiangluntan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=106748"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}