{"id":1786,"date":"2025-01-11T07:52:00","date_gmt":"2025-01-10T23:52:00","guid":{"rendered":"https:\/\/blog.laoyulaoyu.top\/?p=1786"},"modified":"2024-12-16T17:08:14","modified_gmt":"2024-12-16T09:08:14","slug":"%e6%8f%ad%e7%a7%98%e8%82%a1%e5%b8%82%e6%96%b0%e5%ae%a0%ef%bc%9ars%e7%ba%bf%e4%b8%ba%e4%bd%95%e6%af%94rsi%e6%9b%b4%e5%8f%97%e9%9d%92%e7%9d%90%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/laoyulaoyu.com\/index.php\/2025\/01\/11\/%e6%8f%ad%e7%a7%98%e8%82%a1%e5%b8%82%e6%96%b0%e5%ae%a0%ef%bc%9ars%e7%ba%bf%e4%b8%ba%e4%bd%95%e6%af%94rsi%e6%9b%b4%e5%8f%97%e9%9d%92%e7%9d%90%ef%bc%9f\/","title":{"rendered":"\u63ed\u79d8\u80a1\u5e02\u65b0\u5ba0\uff1aRS\u7ebf\u4e3a\u4f55\u6bd4RSI\u66f4\u53d7\u9752\u7750\uff1f"},"content":{"rendered":"\n<p>\u4f5c\u8005\uff1a<a href=\"https:\/\/www.laoyulaoyu.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u8001\u4f59\u635e\u9c7c<\/a><\/p>\n\n\n\n<p><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-cyan-bluish-gray-color\">\u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002<\/mark><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2024\/12\/121603.png\" alt=\"\" class=\"wp-image-3461\"\/><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<pre class=\"wp-block-verse\"><strong>\u5199\u5728\u524d\u9762\u7684\u8bdd\uff1a<\/strong>\u6211\u60f3\u5411\u5927\u5bb6\u5206\u4eab\u4e00\u4e2a\u5728\u80a1\u7968\u5206\u6790\u9886\u57df\u4e2d\u5e76\u4e0d\u5e38\u88ab\u8ba8\u8bba\uff0c\u4f46\u5374\u6781\u5177\u6548\u529b\u7684\u5de5\u5177\u2014\u2014RS\u7ebf\u3002\u76f8\u8f83\u4e8e\u5927\u5bb6\u8033\u719f\u80fd\u8be6\u7684RSI\u6307\u6807\uff0c<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">RS\u7ebf\u80fd\u591f\u66f4\u4e3a\u660e\u786e\u5730\u5448\u73b0\u51fa\u80a1\u7968\u76f8\u5bf9\u4e8e\u6574\u4e2a\u5e02\u573a\u7684\u8d70\u52bf\uff0c\u534f\u52a9\u6211\u4eec\u53d1\u73b0\u5e02\u573a\u7684\u9886\u519b\u8005\u5e76\u8ddf\u8e2a\u5176\u8d8b\u52bf\u3002<\/mark>\u63a5\u4e0b\u6765\uff0c\u8ba9\u6211\u4eec\u4e00\u540c\u6df1\u5165\u63a2\u7d22RS\u7ebf\u7684\u72ec\u7279\u4e4b\u5904\uff0c\u4ee5\u53ca\u5982\u4f55\u8fd0\u7528\u5b83\u6765\u6355\u6349\u5e02\u573a\u4e2d\u7684\u9886\u5934\u7f8a\u5427\uff01<\/pre>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u4e86\u89e3 RS \u53ca\u5176\u4f18\u52bf<\/strong><\/h2>\n\n\n\n<p><strong>RS\uff08Relative Strength Line \/&nbsp;\u76f8\u5bf9\u5f3a\u5ea6\u7ebf<\/strong>\uff09\u662f\u4e00\u79cd\u7528\u4e8e\u5206\u6790\u80a1\u7968\u6216\u5176\u4ed6\u91d1\u878d\u8d44\u4ea7\u8868\u73b0\u7684\u6280\u672f\u6307\u6807\u3002\u5b83\u901a\u8fc7\u6bd4\u8f83\u67d0\u4e00\u8d44\u4ea7\u7684\u4ef7\u683c\u8868\u73b0\u4e0e\u5e02\u573a\u6216\u57fa\u51c6\u6307\u6570\u7684\u8868\u73b0\uff0c\u5e2e\u52a9\u6295\u8d44\u8005\u8bc6\u522b\u51fa\u76f8\u5bf9\u5f3a\u52bf\u6216\u5f31\u52bf\u7684\u8d44\u4ea7\u3002RS\u7684\u8ba1\u7b97\u901a\u5e38\u6d89\u53ca\u5c06\u7279\u5b9a\u65f6\u95f4\u6bb5\u5185\u7684\u8d44\u4ea7\u4ef7\u683c\u53d8\u5316\u4e0e\u76f8\u5e94\u65f6\u95f4\u6bb5\u5185\u7684\u5e02\u573a\u4ef7\u683c\u53d8\u5316\u8fdb\u884c\u6bd4\u8f83\uff0c\u4ece\u800c\u5f97\u51fa\u4e00\u4e2a\u76f8\u5bf9\u5f3a\u5ea6\u503c\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2024\/12\/image-138.png\" alt=\"\" class=\"wp-image-3464\"\/><\/figure>\n\n\n\n<p>\u4e3a\u4e86\u8981\u5927\u5bb6\u66f4\u597d\u7406\u89e3\u8fd9\u5f3a\u5927\u7684\u5de5\u5177\uff0c\u6211\u4e3e\u4f8b\u8bf4\u660e\uff1a<\/p>\n\n\n\n<p>RS \u7528\u4e8e\u6bd4\u8f83\u7279\u5b9a\u80a1\u7968\uff08\u6211\u7528\u7279\u65af\u62c9\uff08TSLA\uff09\u4e3e\u4f8b\uff09\u4e0e\u57fa\u51c6\u6307\u6570\uff08\u901a\u5e38\u662f\u6807\u51c6\u666e\u5c14 500 \u6307\u6570\u7b49\u66f4\u5e7f\u6cdb\u7684\u5e02\u573a\u6307\u6570\uff09\u4e4b\u95f4\u7684\u8868\u73b0\u3002<\/p>\n\n\n\n<p><strong>RS \u7684\u8ba1\u7b97\u65b9\u6cd5<\/strong>\u662f\u7528\u80a1\u7968\u7684\u6536\u76d8\u4ef7\u9664\u4ee5\u57fa\u51c6\u6307\u6570\u7684\u6536\u76d8\u4ef7\uff0c\u5f97\u51fa\u4e00\u4e2a\u53ef\u4ee5\u968f\u65f6\u95f4\u53d8\u5316\u7ed8\u5236\u7684\u6bd4\u7387\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2024\/12\/image-136.png\" alt=\"\" class=\"wp-image-3462\"\/><\/figure>\n\n\n\n<p><em>\u5728\u4e0a\u56fe\u4e2d\uff0c\u5f53 RS \u7ebf\u4f4d\u4e8e\u79fb\u52a8\u5e73\u5747\u7ebf\u4e0a\u65b9\u65f6\uff0c\u6211\u5c06\u5176\u586b\u5145\u4e3a\u7eff\u8272\uff1b\u5f53\u5176\u4f4d\u4e8e\u79fb\u52a8\u5e73\u5747\u7ebf\u4e0b\u65b9\u65f6\uff0c\u6211\u5c06\u5176\u586b\u5145\u4e3a\u6a58\u7ea2\u8272\uff0c\u4ee5\u4fbf\u66f4\u597d\u5730\u663e\u793a RS \u7ebf\u7684\u8d70\u52bf\u3002<\/em><\/p>\n\n\n\n<p>RS \u7ebf\u7684\u4e3b\u8981\u4f18\u52bf\u4e4b\u4e00\u662f<strong>\u5b83\u80fd\u6e05\u6670\u5730\u53cd\u6620\u51fa\u80a1\u7968\u7684\u76f8\u5bf9\u8868\u73b0<\/strong>\u3002\u4e0a\u56fe\u901a\u8fc7\u5c06\u80a1\u7968\u4e0e\u5927\u76d8\uff08\u6807\u666e 500 \u6307\u6570\uff09\u8fdb\u884c\u6bd4\u8f83\uff0cRS \u7ebf\u53ef\u4ee5\u5e2e\u52a9\u6295\u8d44\u8005\u5224\u65ad\u80a1\u7968\u7684\u8868\u73b0\u662f\u597d\u662f\u574f\u3002\u4f8b\u5982\uff0c\u5982\u679c\u7279\u65af\u62c9\u7684 RS \u7ebf\u5448\u4e0a\u5347\u8d8b\u52bf\uff0c\u5219\u8868\u660e\u7279\u65af\u62c9\u7684\u8868\u73b0\u4f18\u4e8e\u6574\u4f53\u5e02\u573a\uff0c\u8fd9\u53ef\u80fd\u662f\u5728\u5404\u79cd\u5e02\u573a\u6761\u4ef6\u4e0b\u8868\u73b0\u5f3a\u52b2\u548c\u5177\u6709\u5f39\u6027\u7684\u4fe1\u53f7\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2024\/12\/image-137.png\" alt=\"\" class=\"wp-image-3463\"\/><\/figure>\n\n\n\n<p>\u6b64\u5916\uff0c<strong>RS \u7ebf\u4e5f\u662f\u786e\u5b9a\u5e02\u573a\u9886\u5bfc\u5730\u4f4d\u7684\u91cd\u8981\u5de5\u5177<\/strong>\u3002<\/p>\n\n\n\n<p>RS \u7ebf\u4e0a\u5347\u7684\u80a1\u7968\u901a\u5e38\u88ab\u8ba4\u4e3a\u662f\u5e02\u573a\u9886\u5934\u7f8a\uff0c\u56e0\u4e3a\u5b83\u4eec\u5728\u725b\u5e02\u548c\u718a\u5e02\u4e2d\u90fd\u8868\u73b0\u4f18\u5f02\u3002\u8be5\u6307\u6807\u53ef\u5e2e\u52a9\u4ea4\u6613\u8005\u5173\u6ce8\u90a3\u4e9b\u8868\u73b0\u51fa\u6301\u7eed\u76f8\u5bf9\u4f18\u52bf\u7684\u80a1\u7968\uff0c<strong>\u8fd9\u5bf9\u4e8e\u5efa\u7acb\u4e00\u4e2a\u7531\u8868\u73b0\u5f3a\u52b2\u7684\u80a1\u7968\u7ec4\u6210\u7684\u6295\u8d44\u7ec4\u5408\u5c24\u4e3a\u6709\u7528<\/strong>\u3002<\/p>\n\n\n\n<p><strong>RS \u7ebf\u8fd8\u53ef\u4ee5\u5e2e\u52a9\u6295\u8d44\u8005\u8ffd\u8e2a\u957f\u671f\u8d8b\u52bf\u7684\u4e00\u81f4\u6027<\/strong>\u3002\u901a\u8fc7\u5c06\u79fb\u52a8\u5e73\u5747\u7ebf\u4e0e RS \u7ebf\u7ed8\u5236\u5728\u4e00\u8d77\uff08\u5728\u4e0a\u56fe\u4e2d\uff0c\u6211\u4f7f\u7528\u4e86 RS \u7ebf\u7684 10 \u5929 MA\uff09\uff0c\u4ea4\u6613\u8005\u53ef\u4ee5\u786e\u5b9a\u67d0\u53ea\u80a1\u7968\u5728\u54ea\u4e9b\u65f6\u671f\u6301\u7eed\u8868\u73b0\u4f18\u5f02\u6216\u8868\u73b0\u4e0d\u4f73\u3002<\/p>\n\n\n\n<p>\u4e0a\u9762\u6240\u6709\u529f\u80fd\u5b9e\u73b0\u7684\u6e90\u4ee3\u7801\u5728\u672c\u6587\u7ed3\u5c3e\u5904\uff0c\u9700\u8981\u7684\u7ae5\u9774\u8bf7\u81ea\u53d6\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u4e0e RSI \u7684\u533a\u522b<\/strong><\/h2>\n\n\n\n<p>\u76f8\u5bf9\u5f3a\u5f31\u6307\u6570\uff08RSI\uff09\u662f\u4e00\u79cd\u52a8\u91cf\u9707\u8361\u6307\u6807\uff0c\u7528\u4e8e\u6d4b\u91cf\u7279\u5b9a\u65f6\u671f\uff08\u901a\u5e38\u4e3a 14 \u5929\uff09\u5185\u4ef7\u683c\u53d8\u52a8\u7684\u901f\u5ea6\u548c\u53d8\u5316\u3002RSI \u7684\u8303\u56f4\u5728 0 \u5230 100 \u4e4b\u95f4\uff0c\u8bfb\u6570\u9ad8\u4e8e 70 \u901a\u5e38\u8868\u793a\u8d85\u4e70\u72b6\u6001\uff0c\u8bfb\u6570\u4f4e\u4e8e 30 \u5219\u8868\u793a\u8d85\u5356\u72b6\u6001\u3002\u6211\u66fe\u5c06\u5176\u6bd4\u4f5c\u201c<strong>\u80a1\u5e02\u8840\u538b\u8ba1<\/strong>\u201d\u3002<\/p>\n\n\n\n<p>\u867d\u7136 RSI \u5bf9\u4e8e\u8bc6\u522b\u77ed\u671f\u53cd\u8f6c\u548c\u53d1\u73b0\u6f5c\u5728\u7684\u4e70\u5165\u6216\u5356\u51fa\u673a\u4f1a\u5f88\u6709\u7528\uff0c\u4f46\u4e0e RS \u7ebf\u76f8\u6bd4\uff0c\u5b83\u6709\u4e00\u4e9b\u660e\u663e\u7684\u5c40\u9650\u6027\u3002<\/p>\n\n\n\n<p>RSI \u7684\u4e00\u4e2a\u91cd\u8981\u5c40\u9650\u662f\uff1a<strong>\u5b83\u53ea\u8861\u91cf\u5185\u90e8\u4ef7\u683c\u52a8\u91cf\uff0c\u800c\u4e0d\u8003\u8651\u80a1\u7968\u76f8\u5bf9\u4e8e\u5927\u76d8\u7684\u8868\u73b0<\/strong>\u3002RSI \u53ef\u4ee5\u663e\u793a\u4e00\u53ea\u80a1\u7968\u662f\u8d85\u4e70\u8fd8\u662f\u8d85\u5356\uff0c\u4f46\u5b83\u5e76\u4e0d\u80fd\u544a\u8bc9\u6211\u4eec\uff0c\u4e0e\u540c\u7c7b\u80a1\u7968\u76f8\u6bd4\uff0c\u8fd9\u53ea\u80a1\u7968\u5b9e\u9645\u4e0a\u662f\u9886\u5148\u8fd8\u662f\u843d\u540e\u3002\u8fd9\u79cd\u7f3a\u4e4f\u80cc\u666f\u7684\u60c5\u51b5\u4f1a\u8ba9\u6211\u4eec\u66f4\u96be\u8bc4\u4f30\u80a1\u7968\u5728\u5e02\u573a\u4e2d\u7684\u6574\u4f53\u5b9e\u529b\u3002<\/p>\n\n\n\n<p>RSI \u7684\u53e6\u4e00\u4e2a\u5c40\u9650\u6027\u662f\uff1a<strong>\u5b83\u5728\u8d8b\u52bf\u5f3a\u52b2\u7684\u5e02\u573a\u4e2d\u5bb9\u6613\u4ea7\u751f\u9519\u8bef\u4fe1\u53f7\u3002<\/strong>\u5728\u5f3a\u52b2\u7684\u4e0a\u5347\u8d8b\u52bf\u4e2d\uff0cRSI \u53ef\u80fd\u4f1a\u5728\u8d85\u4e70\u533a\u95f4\u505c\u7559\u8f83\u957f\u65f6\u95f4\uff0c\u4ece\u800c\u4f7f\u5176\u5728\u9009\u62e9\u4ea4\u6613\u65f6\u673a\u65f6\u4e0d\u90a3\u4e48\u6709\u6548\u3002\u540c\u6837\uff0c\u5728\u4e0b\u8dcc\u8d8b\u52bf\u4e2d\uff0cRSI \u53ef\u80fd\u4f1a\u505c\u7559\u5728\u8d85\u5356\u533a\u95f4\uff0c\u5bfc\u81f4\u4ea4\u6613\u8005\u5bf9\u81ea\u5df1\u7684\u7b56\u7565\u4ea7\u751f\u6000\u7591\u3002\u76f8\u6bd4\u4e4b\u4e0b\uff0cRS \u7ebf\u53ef\u4ee5\u5e2e\u52a9\u6295\u8d44\u8005\u5173\u6ce8\u90a3\u4e9b\u6301\u7eed\u8dd1\u8d62\u5e02\u573a\u7684\u80a1\u7968\uff0c\u5373\u4f7f\u5728\u9ad8\u6ce2\u52a8\u671f\u4e5f\u662f\u5982\u6b64\u3002<\/p>\n\n\n\n<p>\u6240\u4ee5\u8bf4\uff0c\u5982\u679c\u5927\u5bb6\u559c\u6b22\u4f7f\u7528 RSI\uff0c\u5207\u8bb0\u8981\u7ed3\u5408\u5176\u4ed6\u6307\u6807\u4e00\u8d77\u4f7f\u7528\uff0c\u6211\u5199\u8fc7\u7684\u51e0\u7bc7\u6587\u7ae0\u4f9b\u5927\u5bb6\u53c2\u8003\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/mp.weixin.qq.com\/s\/FF1uuYfhdgobQBfV8dfIBA?token=325858537&amp;lang=zh_CN\" target=\"_blank\" rel=\"noreferrer noopener\">\u7cbe\u51c6\u6d1e\u5bdf\u80a1\u5e02\u7684\u201c\u5fc3\u8df3\u201d\u548c\u201c\u8840\u538b\u201d\uff0c\u52a9\u60a8\u4ea4\u6613\u51b3\u7b56\u65e0\u5f80\u4e0d\u5229<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/mp.weixin.qq.com\/s\/JmkE5M1GABPYKxvrqfkNkA?token=325858537&amp;lang=zh_CN\" target=\"_blank\" rel=\"noreferrer noopener\">\u501f\u52a9 RankDelta \u589e\u5f3a\u4f60\u5728 Tradingview \u4e0a\u7684\u671f\u6743\u4ea4\u6613\u80fd\u529b<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001\u4f7f\u7528\u573a\u666f\u4e0e\u6ce8\u610f\u4e8b\u9879<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><br><strong>3.1 \u5728\u4ec0\u4e48\u573a\u666f\u4e0b\u4f18\u5148\u4f7f\u7528 RS \u6307\u6807<\/strong><\/h3>\n\n\n\n<p>\u9009\u62e9RS\u7ebf\u800c\u975eRSI\uff0c\u5f80\u5f80\u57fa\u4e8e\u6295\u8d44\u8005\u6240\u8ffd\u6c42\u7684\u5206\u6790\u7c7b\u578b\u548c\u89c2\u5bdf\u89d2\u5ea6\u3002RS\u7ebf\u7279\u522b\u9002\u5408\u4e8e\u90a3\u4e9b\u5e0c\u671b\u8fa8\u8bc6\u5e02\u573a\u9886\u5bfc\u8005\u4ee5\u53ca\u8bc4\u4f30\u80a1\u7968\u957f\u671f\u76f8\u5bf9\u8868\u73b0\u7684\u6295\u8d44\u8005\u3002\u5b83\u80fd\u591f\u8f85\u52a9\u4ea4\u6613\u8005\u5224\u65ad\u67d0\u53ea\u80a1\u7968\u7684\u8868\u73b0\u662f\u5426\u6301\u7eed\u8d85\u8d8a\u5176\u57fa\u51c6\uff0c\u8fd9\u4e00\u70b9\u5728\u6ce2\u52a8\u9891\u7e41\u7684\u5e02\u573a\u73af\u5883\u4e2d\uff0c\u5bf9\u4e8e\u5236\u5b9a\u660e\u667a\u7684\u6295\u8d44\u51b3\u7b56\u5177\u6709\u81f3\u5173\u91cd\u8981\u7684\u610f\u4e49\u3002<\/p>\n\n\n\n<p>\u800c\u5bf9\u4e8e RSI \u800c\u8a00\uff0c\u5b83\u66f4\u9002\u5408\u77ed\u7ebf\u4ea4\u6613\u8005\u6216\u90a3\u4e9b\u5bf9\u6839\u636e\u4ef7\u683c\u52a8\u91cf\u786e\u5b9a\u5177\u4f53\u8fdb\u51fa\u573a\u65f6\u673a\u611f\u5174\u8da3\u7684\u4eba\u3002\u4e0d\u8fc7\uff0c\u5b83\u5bf9\u77ed\u671f\u4ef7\u683c\u8d70\u52bf\u7684\u654f\u611f\u6027\u53ef\u80fd\u4f1a\u4f7f\u5176\u5bf9\u90a3\u4e9b\u66f4\u5173\u6ce8\u5927\u76d8\u8d70\u52bf\u548c\u76f8\u5bf9\u4f18\u52bf\u7684\u957f\u671f\u6295\u8d44\u8005\u6765\u8bf4\u7528\u5904\u4e0d\u5927\u3002<\/p>\n\n\n\n<p>RS \u7ebf\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u6307\u6807\uff0c\u53ef\u4ee5\u5e2e\u52a9\u6211\u4eec\u7b5b\u9009\u80a1\u7968\uff0c\u5c24\u5176\u662f\u884c\u4e1a\u5185\u7684\u9f99\u5934\u80a1\uff0cRSI \u53ef\u4ee5\u5e2e\u52a9\u4f60\u786e\u5b9a\u4f55\u65f6\u662f\u8fdb\u884c\u4ea4\u6613\u7684\u6700\u4f73\u65f6\u673a\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3.2 \u6ce8\u610f\u4e8b\u9879<\/strong><\/h3>\n\n\n\n<p>\u7136\u800c\uff0cRS\u7ebf\u5e76\u975e\u4e07\u80fd\uff0c\u5b83\u53ef\u80fd\u5728\u4ee5\u4e0b\u60c5\u51b5\u4e0b\u5931\u6548\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u5e02\u573a\u6781\u7aef\u6ce2\u52a8<\/strong>\uff1a\u5728\u5e02\u573a\u51fa\u73b0\u6781\u7aef\u6ce2\u52a8\u6216\u7a81\u53d1\u4e8b\u4ef6\u65f6\uff0cRS\u7ebf\u53ef\u80fd\u65e0\u6cd5\u51c6\u786e\u53cd\u6620\u5e02\u573a\u7684\u771f\u5b9e\u60c5\u51b5\uff0c\u5bfc\u81f4\u4fe1\u53f7\u5931\u771f\u3002<\/li>\n\n\n\n<li><strong>\u80a1\u7968\u505c\u724c\u6216\u65b0\u80a1\u4e0a\u5e02<\/strong>\uff1a\u5728\u80a1\u7968\u505c\u724c\u6216\u65b0\u80a1\u4e0a\u5e02\u7b49\u7279\u6b8a\u60c5\u51b5\u4e0b\uff0cRS\u7ebf\u53ef\u80fd\u65e0\u6cd5\u6b63\u5e38\u53d1\u6325\u4f5c\u7528\uff0c\u56e0\u4e3a\u8fd9\u4e9b\u60c5\u51b5\u4e0b\u80a1\u7968\u7684\u4ef7\u683c\u53d8\u52a8\u53ef\u80fd\u65e0\u6cd5\u6b63\u5e38\u53cd\u6620\u5176\u5e02\u573a\u8868\u73b0\u3002<\/li>\n\n\n\n<li><strong>RS\u7ebf\u4e0e\u80a1\u4ef7\u80cc\u79bb<\/strong>\uff1a\u5f53\u80a1\u4ef7\u4e0eRS\u7ebf\u51fa\u73b0\u80cc\u79bb\u65f6\uff0c\u5373\u80a1\u4ef7\u521b\u65b0\u9ad8\u800cRS\u7ebf\u672a\u80fd\u540c\u6b65\u521b\u65b0\u9ad8\uff0c\u53ef\u80fd\u9884\u793a\u7740\u5e02\u573a\u5373\u5c06\u53cd\u8f6c\u4e0b\u8dcc\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6295\u8d44\u8005\u5728\u4f7f\u7528RS\u7ebf\u8fdb\u884c\u6280\u672f\u5206\u6790\u65f6\uff0c\u5e94\u7ed3\u5408\u5176\u4ed6\u6307\u6807\u548c\u5e02\u573a\u4fe1\u606f\uff0c\u8c28\u614e\u5224\u65ad\uff0c\u4ee5\u907f\u514d\u8bef\u5224\u5e02\u573a\u8d8b\u52bf\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u89c2\u70b9\u603b\u7ed3<\/strong><\/h2>\n\n\n\n<p>\u603b\u7684\u6765\u8bf4\uff0cRS\u7ebf\u4e3a\u6295\u8d44\u8005\u5f00\u8f9f\u4e86\u4e00\u4e2a\u66f4\u4e3a\u5bbd\u5e7f\u7684\u89c6\u91ce\uff0c\u5e2e\u52a9\u4ed6\u4eec\u66f4\u5168\u9762\u5730\u638c\u63e1\u80a1\u7968\u5728\u5e02\u573a\u4e2d\u7684\u76f8\u5bf9\u8868\u73b0\u3002\u501f\u52a9RS\u7ebf\uff0c\u6295\u8d44\u8005\u80fd\u591f\u805a\u7126\u4e8e\u90a3\u4e9b\u771f\u6b63\u5177\u5907\u9886\u5bfc\u6f5c\u529b\u548c\u5f39\u6027\u7684\u4e2a\u80a1\uff0c\u8fdb\u800c\u5728\u6784\u5efa\u6295\u8d44\u7ec4\u5408\u65f6\u505a\u51fa\u66f4\u5177\u524d\u77bb\u6027\u548c\u7b56\u7565\u6027\u7684\u6289\u62e9\u3002\u76f8\u8f83\u4e8eRSI\uff0cRS\u7ebf\u63d0\u4f9b\u7684\u6bd4\u8f83\u89c6\u89d2\u4f7f\u5176\u6210\u4e3a\u8ffd\u6c42\u957f\u671f\u5e02\u573a\u8d85\u989d\u6536\u76ca\u53ca\u4e00\u81f4\u6027\u7684\u6295\u8d44\u8005\u7684\u9996\u9009\u5206\u6790\u5de5\u5177\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>RS \u7ebf\u4f18\u4e8e RSI<\/strong>\uff1aRS \u7ebf\u80fd\u591f\u76f4\u89c2\u5730\u5c55\u793a\u80a1\u7968\u76f8\u5bf9\u4e8e\u5927\u76d8\u7684\u8868\u73b0\uff0c\u6709\u52a9\u4e8e\u8bc6\u522b\u5e02\u573a\u9886\u5bfc\u8005\u548c\u8bc4\u4f30\u80a1\u7968\u7684\u76f8\u5bf9\u4f18\u52bf\u3002<\/li>\n\n\n\n<li><strong>RS \u7ebf\u7684\u5e94\u7528<\/strong>\uff1aRS \u7ebf\u53ef\u4ee5\u7528\u6765\u8ffd\u8e2a\u8d8b\u52bf\u7684\u4e00\u81f4\u6027\uff0c\u5e2e\u52a9\u6295\u8d44\u8005\u5728\u52a8\u6001\u5e02\u573a\u4e2d\u505a\u51fa\u66f4\u5177\u6218\u7565\u6027\u7684\u51b3\u7b56\u3002<\/li>\n\n\n\n<li><strong>RSI \u7684\u5c40\u9650\u6027<\/strong>\uff1aRSI \u53ef\u80fd\u5728\u5f3a\u52bf\u5e02\u573a\u4e2d\u4ea7\u751f\u8bef\u5bfc\u6027\u7684\u4fe1\u53f7\uff0c\u4e14\u4e0d\u63d0\u4f9b\u80a1\u7968\u76f8\u5bf9\u4e8e\u5e02\u573a\u7684\u8868\u73b0\u4fe1\u606f\uff0c\u8fd9\u9650\u5236\u4e86\u5176\u5728\u957f\u671f\u6295\u8d44\u51b3\u7b56\u4e2d\u7684\u5e94\u7528\u3002<\/li>\n\n\n\n<li><strong>\u6295\u8d44\u7b56\u7565<\/strong>\uff1a\u6295\u8d44\u8005\u5e94\u8be5\u7ed3\u5408\u57fa\u672c\u9762\u5206\u6790\u548c\u4e1a\u52a1\u72b6\u51b5\uff0c\u800c\u4e0d\u4ec5\u4ec5\u4f9d\u8d56\u6280\u672f\u6307\u6807\uff0c\u4ee5\u6210\u4e3a\u4e00\u4e2a\u806a\u660e\u7684\u6295\u8d44\u8005\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6e90\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>#!\/usr\/bin\/env python3\n# -*- coding: utf-8 -*-\n\"\"\"\nCreated on 2024.12\n@author: https:\/\/www.laoyulaoyu.com\/\n\n\"\"\"\n\nimport yfinance as yf\nimport pandas as pd\nimport matplotlib.pyplot as plt\nfrom matplotlib.gridspec import GridSpec\nimport matplotlib.dates as mdates\n\nma_list = &#91;10, 20, 50, 100]\nticker = 'TSLA'\n\n# Fetch stock and S&amp;P 500 (^GSPC) data\ndef fetch_data():\n    start_date = '2023-01-01'\n    end_date = '2024-12-31'\n\n    # stock stock data\n    stock = yf.download(ticker, start=start_date, end=end_date)\n    # S&amp;P 500 index data\n    sp500 = yf.download('^GSPC', start=start_date, end=end_date)\n\n    return stock, sp500\n\ndef calculate_rs_line(stock, sp500):\n    # Calculate the RS Line by dividing stock closing price by S&amp;P 500 closing price\n    rs_line = stock&#91;'Close'] \/ sp500&#91;'Close']\n    return rs_line\n\ndef calculate_rsi(data, rsi_window, ma_window):\n    delta = data&#91;'Close'].diff(1)\n    gain = delta.where(delta &gt; 0, 0)\n    loss = -delta.where(delta &lt; 0, 0)\n\n    avg_gain = gain.rolling(window=rsi_window).mean()\n    avg_loss = loss.rolling(window=rsi_window).mean()\n\n    rs = avg_gain \/ avg_loss\n    rsi = 100 - (100 \/ (1 + rs))\n\n    # Calculate 10-day moving average of RSI\n    rsi_ma_10 = rsi.rolling(window=ma_window).mean()\n\n    data&#91;'RSI_14'] = rsi\n    data&#91;'RSI_10_MA'] = rsi_ma_10\n\n    return data\n\ndef plot_data(stock, rs_line, rsi):\n    fig = plt.figure(figsize=(12, 10), dpi=300)\n    gs = GridSpec(4, 1, height_ratios=&#91;4, 1, 3,2])\n\n    # Plot stock stock price with line chart and moving averages\n    ax_stock = fig.add_subplot(gs&#91;0])\n    ax_stock.plot(stock.index, stock&#91;'Close'], label='Close Price', color='black')\n    for ma in ma_list:\n        stock_ma = stock&#91;'Close'].rolling(window=ma).mean()\n        ax_stock.plot(stock.index, stock_ma, label=f'{ma}-Day MA', alpha=0.5, linestyle='-')\n    ax_stock.set_title(f'{ticker} Stock Price with Moving Averages')\n    ax_stock.set_ylabel('Stock Price (USD)')\n    ax_stock.legend(loc='upper left')\n    ax_stock.grid()\n    ax_stock.tick_params(axis='x', which='both', bottom=False, labelbottom=False)\n\n    # Plot volume in grayscale\n    ax_volume = fig.add_subplot(gs&#91;1], sharex=ax_stock)\n    ax_volume.bar(stock.index, stock&#91;'Volume'], color='gray', alpha=0.5)\n    ax_volume.set_ylabel('Volume')\n    ax_volume.grid()\n    ax_volume.tick_params(axis='x', which='both', bottom=False, labelbottom=False)\n\n    # Plot RS Line\n    ax_rs = fig.add_subplot(gs&#91;2], sharex=ax_stock)\n    rs_line_ma10 = rs_line.rolling(window=10).mean()\n    ax_rs.plot(stock.index, rs_line, label=f'RS Line ({ticker} vs S&amp;P 500)', color='orange')\n    ax_rs.plot(stock.index, rs_line_ma10, label='10-Day MA', alpha=0.8, color='gray', linestyle='-')\n    ax_rs.fill_between(stock.index, rs_line, rs_line_ma10, where=(rs_line &lt; rs_line_ma10), color='red', alpha=0.5, label='Below MA 10')\n    ax_rs.fill_between(stock.index, rs_line, rs_line_ma10, where=(rs_line &gt; rs_line_ma10), color='green', alpha=0.5, label='Above MA 10')\n    ax_rs.set_title(f'Relative Strength Line ({ticker} vs S&amp;P 500)')\n    ax_rs.set_xlabel('Date')\n    ax_rs.set_ylabel('RS Value')\n    ax_rs.legend(loc='upper left')\n    ax_rs.grid()\n    \n    # Plot RSI\n    ax_rsi = fig.add_subplot(gs&#91;3], sharex=ax_stock)\n    ax_rsi.plot(stock.index, stock&#91;'RSI_14'], label='RSI (14-day)', color='darkblue')\n    ax_rsi.plot(stock.index, stock&#91;'RSI_10_MA'], label='10-Day MA of RSI', color='red', alpha=0.5, linestyle='-')\n    ax_rsi.axhline(y=30, color='red', linestyle='-', linewidth=1, label='Oversold (30)')\n    ax_rsi.axhline(y=70, color='green', linestyle='-', linewidth=1, label='Overbought (70)')\n    ax_rsi.set_title('Relative Strength Index (RSI)')\n    ax_rsi.set_xlabel('Date')\n    ax_rsi.set_ylabel('RSI Value')\n    ax_rsi.legend(loc='upper left')\n    ax_rsi.grid()\n\n\n    plt.tight_layout()\n    plt.show()\n\n# Main \ndef main():\n    stock, sp500 = fetch_data()\n    rs_line = calculate_rs_line(stock, sp500)\n    rsi = calculate_rsi(stock, 14,10)\n    plot_data(stock, rs_line, rsi)\n\nif __name__ == \"__main__\":\n    main()<\/code><\/pre>\n\n\n\n<p><em>\u611f\u8c22\u60a8\u9605\u8bfb\u5230\u6700\u540e\uff0c\u5e0c\u671b\u672c\u6587\u80fd\u7ed9\u60a8\u5e26\u6765\u65b0\u7684\u6536\u83b7\u3002\u7801\u5b57\u4e0d\u6613\uff0c\u8bf7\u70b9\u8d5e\u3001\u5206\u4eab\u3002\u795d\u60a8\u6295\u8d44\u987a\u5229\uff01\u5982\u679c\u5bf9\u6587\u4e2d\u7684\u5185\u5bb9\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u8bf7\u7ed9\u6211\u7559\u8a00\uff0c\u5fc5\u590d\u3002<\/em><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p class=\"has-text-align-center\" id=\"a1c6\">\u672c\u6587\u5185\u5bb9\u4ec5\u9650\u6280\u672f\u63a2\u8ba8\u548c\u5b66\u4e60\uff0c\u4e0d\u6784\u6210\u4efb\u4f55\u6295\u8d44\u5efa\u8bae\u3002<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4f5c\u8005\uff1a\u8001\u4f59\u635e\u9c7c \u539f\u521b\u4e0d\u6613\uff0c\u8f6c\u8f7d\u8bf7\u6807\u660e\u51fa\u5904\u53ca\u539f\u4f5c\u8005\u3002&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/laoyulaoyu.com\/index.php\/2025\/01\/11\/%e6%8f%ad%e7%a7%98%e8%82%a1%e5%b8%82%e6%96%b0%e5%ae%a0%ef%bc%9ars%e7%ba%bf%e4%b8%ba%e4%bd%95%e6%af%94rsi%e6%9b%b4%e5%8f%97%e9%9d%92%e7%9d%90%ef%bc%9f\/\">Continue reading<span class=\"screen-reader-text\">\u63ed\u79d8\u80a1\u5e02\u65b0\u5ba0\uff1aRS\u7ebf\u4e3a\u4f55\u6bd4RSI\u66f4\u53d7\u9752\u7750\uff1f<\/span><\/a><\/div>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[4,5],"class_list":{"0":"post-1786","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-aiinvest","7":"tag-ai","9":"entry"},"_links":{"self":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/1786","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/comments?post=1786"}],"version-history":[{"count":1,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/1786\/revisions"}],"predecessor-version":[{"id":1787,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/1786\/revisions\/1787"}],"wp:attachment":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/media?parent=1786"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/categories?post=1786"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/tags?post=1786"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}