{"id":3207,"date":"2026-12-06T00:02:26","date_gmt":"2026-12-06T06:02:26","guid":{"rendered":"https:\/\/www.patternsmart.com\/cn\/?p=3207"},"modified":"2026-12-06T06:07:34","modified_gmt":"2026-12-06T06:07:34","slug":"thinkorswim-stock-hacker%ef%bc%9a%e6%b3%a2%e5%b9%85%e6%89%a9%e5%bc%a0%e4%b8%8e%e5%bc%ba%e5%8a%bf%e6%94%b6%e7%9b%98%e6%89%ab%e6%8f%8f","status":"publish","type":"post","link":"https:\/\/www.patternsmart.com\/cn\/thinkorswim-stock-hacker%ef%bc%9a%e6%b3%a2%e5%b9%85%e6%89%a9%e5%bc%a0%e4%b8%8e%e5%bc%ba%e5%8a%bf%e6%94%b6%e7%9b%98%e6%89%ab%e6%8f%8f\/","title":{"rendered":"Thinkorswim Stock Hacker\uff1a\u6ce2\u5e45\u6269\u5f20\u4e0e\u5f3a\u52bf\u6536\u76d8\u626b\u63cf"},"content":{"rendered":"<div class=\"postie-post\">\n<h1>Thinkorswim Stock Hacker\uff1a\u6ce2\u5e45\u6269\u5f20\u4e0e\u5f3a\u52bf\u6536\u76d8\u626b\u63cf<\/h1>\n<p>\u4ea4\u6613\u6280\u5de7<\/p>\n<p>\u5bbd\u5e45K\u7ebf\u5bb9\u6613\u5438\u5f15\u6ce8\u610f\uff0c\u4f46\u5b83\u53ef\u80fd\u6700\u7ec8\u6536\u5728\u4f4e\u4f4d\u3002\u5982\u4f55\u7b5b\u9009\u6ce2\u5e45\u660e\u663e\u6269\u5927\u3001\u540c\u65f6\u6536\u76d8\u4ecd\u5904\u4e8e\u81ea\u8eab\u533a\u95f4\u4e0a\u90e8\u7684\u5df2\u5b8c\u6210K\u7ebf\uff1f\u672c\u6587\u5c06\u4e24\u4e2a\u53ef\u91cf\u5316\u6761\u4ef6\u7ed3\u5408\u8d77\u6765\uff0c\u907f\u514d\u4ec5\u51ed\u89c6\u89c9\u5370\u8c61\u5224\u65ad\u52a8\u80fd\u3002<\/p>\n<h2>\u8bfb\u5b8c\u672c\u6587\uff0c\u4f60\u5c06\u638c\u63e1<\/h2>\n<ul>\n<li>\u5c06\u5df2\u6536\u76d8K\u7ebf\u6ce2\u5e45\u4e0e\u6b64\u524d\u6ce2\u5e45\u6bd4\u8f83\u3002<\/li>\n<li>\u8861\u91cf\u6536\u76d8\u4ef7\u5728\u81ea\u8eab\u533a\u95f4\u5185\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u7f16\u5199\u4e0d\u4f9d\u8d56\u5b9e\u65f6K\u7ebf\u7684\u5355\u4e00\u5e03\u5c14\u8f93\u51fa\u626b\u63cf\u5668\u3002<\/li>\n<li>\u5b89\u88c5\u626b\u63cf\u5668\u5e76\u624b\u5de5\u9a8c\u8bc1\u8fb9\u754c\u60c5\u51b5\u3002<\/li>\n<\/ul>\n<h2>\u4e24\u4e2a\u72ec\u7acb\u6761\u4ef6<\/h2>\n<p>\u9996\u5148\u8ba1\u7b97\u524d\u4e00\u6839\u5df2\u6536\u76d8K\u7ebf\u6700\u9ad8\u4ef7\u4e0e\u6700\u4f4e\u4ef7\u4e4b\u5dee\uff0c\u4e0e\u5176\u4e4b\u524d\u4e94\u6839K\u7ebf\u6ce2\u5e45\u7684\u7b97\u672f\u5e73\u5747\u503c\u6bd4\u8f83\uff0c\u9ed8\u8ba4\u500d\u6570\u4e3a1.5\u3002\u5176\u6b21\u8ba1\u7b97\u6536\u76d8\u4f4d\u7f6e\uff0c\u5373\u6536\u76d8\u4ef7\u51cf\u6700\u4f4e\u4ef7\uff0c\u518d\u9664\u4ee5\u6700\u9ad8\u4ef7\u4e0e\u6700\u4f4e\u4ef7\u4e4b\u5dee\u3002\u4f4d\u7f6e\u8fbe\u52300.8\u610f\u5473\u7740\u6536\u76d8\u4ef7\u81f3\u5c11\u4f4d\u4e8e\u4ece\u6700\u4f4e\u4ef7\u5230\u6700\u9ad8\u4ef7\u768480%\u5904\u3002\u4e24\u4e2a\u6761\u4ef6\u5fc5\u987b\u540c\u65f6\u6ee1\u8db3\u3002\u7b2c\u4e00\u4e2a\u8861\u91cf\u76f8\u5bf9\u6ce2\u5e45\u6269\u5f20\uff0c\u7b2c\u4e8c\u4e2a\u8861\u91cf\u6536\u76d8\u4f4d\u7f6e\uff0c\u800c\u975e\u5b9e\u4f53\u65b9\u5411\u3002\u5373\u4f7f\u6536\u76d8\u63a5\u8fd1\u6700\u9ad8\u4ef7\uff0c\u4e5f\u53ef\u80fd\u4f4e\u4e8e\u5f00\u76d8\u4ef7\u3002<\/p>\n<h2>\u8ba1\u7b97\u793a\u4f8b<\/h2>\n<p>\u5047\u8bbe\u6b64\u524d\u4e94\u6839K\u7ebf\u6ce2\u5e45\u4e3a2\u30013\u30012\u30014\u30011\uff0c\u5e73\u5747\u503c\u4e3a2.4\uff0c\u6700\u4f4e\u5408\u683c\u6ce2\u5e45\u4e3a3.6\u3002\u88ab\u6d4bK\u7ebf\u6700\u4f4e100\u3001\u6700\u9ad8105\u3001\u6536\u76d8104.5\uff0c\u6ce2\u5e455\uff0c\u6536\u76d8\u4f4d\u7f6e0.9\uff0c\u4e24\u4e2a\u6761\u4ef6\u5747\u901a\u8fc7\u3002\u82e5\u6700\u9ad8\u6700\u4f4e\u4e0d\u53d8\u3001\u6536\u76d8102\uff0c\u4f4d\u7f6e\u4e3a0.4\uff0c\u5219\u4e0d\u901a\u8fc7\u3002\u82e5\u6700\u4f4e100\u3001\u6700\u9ad8103\u3001\u6536\u76d8103\uff0c\u4f4d\u7f6e\u4e3a1\uff0c\u4f46\u6ce2\u5e45\u4ec53\uff0c\u540c\u6837\u4e0d\u901a\u8fc7\u3002<\/p>\n<p> <img decoding=\"async\" alt=\"range-expansion.png\" src=\"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/12\/range-expansion-2.png\" width=\"480\"><\/p>\n<p>\u56fe\u793a\uff1a\u524d\u4e94\u6839\u53c2\u8003\u6ce2\u5e45\u53ca\u7eff\u8272\u7684\u88ab\u6d4b\u6ce2\u5e455\u3002\u6df1\u8272\u6c34\u5e73\u7ebf\u4e3a3\u4e2a\u6ce2\u5e45\u5355\u4f4d\u7684\u89c6\u89c9\u53c2\u8003\uff0c\u5e76\u975e\u5b9e\u9645\u5408\u683c\u9608\u503c3.6\u3002\u6536\u76d8\u4f4d\u7f6e\u6761\u4ef6\u9700\u53e6\u884c\u8ba1\u7b97\u3002<\/p>\n<h2>\u5b8c\u6574thinkScript\u626b\u63cf\u6e90\u7801<\/h2>\n<pre style=\"white-space:pre;font-family:Consolas,Monaco,monospace\"><code># Stock Hacker: completed range expansion with close near high<br>input length = 5;<br>input multiplier = 1.5;<br>input minCloseLocation = 0.8;<br># Compare last completed bar with earlier completed ranges.<br>def span = high[1] - low[1];<br>def baseline = Average(high[2] - low[2], length);<br>def location = if span &gt; 0 then (close[1] - low[1]) \/ span else 0;<br># Exactly one Boolean output for Stock Hacker.<br>plot scan = length &gt;= 2 and multiplier &gt; 0 and<br>\u00a0\u00a0\u00a0\u00a0minCloseLocation &gt;= 0 and minCloseLocation &lt;= 1 and<br>\u00a0\u00a0\u00a0\u00a0!IsNaN(baseline) and baseline &gt; 0 and span &gt; 0 and<br>\u00a0\u00a0\u00a0\u00a0span &gt;= multiplier * baseline and location &gt;= minCloseLocation;<\/code><\/pre>\n<h2>\u7d22\u5f15\u504f\u79fb\u7684\u91cd\u8981\u6027<\/h2>\n<p>thinkScript\u4e2d\u7684[1]\u8868\u793a\u524d\u4e00\u6839K\u7ebf\uff0c[2]\u8868\u793a\u518d\u5f80\u524d\u4e00\u6839\u3002\u5bf9\u504f\u79fb\u540e\u7684\u6ce2\u5e45\u5e8f\u5217\u6c42\u5e73\u5747\uff0c\u80fd\u591f\u540c\u65f6\u6392\u9664\u5b9e\u65f6K\u7ebf\u548c\u88ab\u6d4bK\u7ebf\uff0c\u907f\u514d\u5bbd\u5e45\u88ab\u6d4bK\u7ebf\u62ac\u9ad8\u81ea\u8eab\u6bd4\u8f83\u57fa\u51c6\u3002\u626b\u63cf\u5668\u53ea\u6709\u4e00\u4e2a\u5e03\u5c14plot\uff0c\u4e2d\u95f4\u53d8\u91cf\u5747\u4f7f\u7528def\u3002\u96f6\u6ce2\u5e45\u6216\u96f6\u57fa\u51c6\u4e0d\u901a\u8fc7\u3002length\u5e94\u4e3a\u81f3\u5c112\u7684\u6709\u6548\u6574\u6570\uff0c\u56e0\u4e3a\u8be5\u53c2\u6570\u76f4\u63a5\u4f20\u5165Average\u51fd\u6570\uff0c\u4e0d\u80fd\u4ec5\u4f9d\u8d56\u6700\u7ec8\u6761\u4ef6\u4e2d\u7684\u53c2\u6570\u4fdd\u62a4\u3002<\/p>\n<h2>Stock Hacker\u5b89\u88c5<\/h2>\n<p>\u6253\u5f00Scan\u9009\u9879\u5361\uff0c\u9009\u62e9Stock Hacker\uff0c\u6dfb\u52a0Study\u8fc7\u6ee4\u5668\u5e76\u6253\u5f00\u81ea\u5b9a\u4e49thinkScript\u7f16\u8f91\u5668\u3002\u7528\u4e0a\u8ff0\u6e90\u7801\u66ff\u6362\u539f\u811a\u672c\uff0c\u5728\u8fc7\u6ee4\u5668\u8bbe\u7f6e\u4e2d\u9009\u62e9\u805a\u5408\u5468\u671f\u548c\u76ee\u6807\u80a1\u7968\u8303\u56f4\uff0c\u7136\u540e\u8fd0\u884c\u626b\u63cf\u3002\u540c\u4e00\u811a\u672c\u4e5f\u53ef\u4f5c\u4e3a\u5e03\u5c14\u56fe\u8868\u7814\u7a76\u7528\u4e8e\u68c0\u67e5\uff0c\u4f46\u4e0d\u662f\u4ef7\u683c\u53e0\u52a0\u6307\u6807\u3002\u626b\u63cf\u7248\u672c\u4e0d\u8981\u6dfb\u52a0\u989d\u5916plot\u3002\u65e5\u7ebf\u805a\u5408\u68c0\u67e5\u524d\u4e00\u6839\u5df2\u5b8c\u6210\u65e5\u7ebf\uff0c\u76d8\u4e2d\u805a\u5408\u68c0\u67e5\u524d\u4e00\u6839\u5df2\u5b8c\u6210\u76d8\u4e2dK\u7ebf\u3002\u5c24\u5176\u6d89\u53ca\u76d8\u524d\u76d8\u540e\u6570\u636e\u65f6\uff0c\u5e94\u6838\u5bf9\u4ea4\u6613\u65f6\u6bb5\u8bbe\u7f6e\u3002<\/p>\n<h2>\u6d4b\u8bd5\u4e0e\u5b9e\u9645\u5e94\u7528<\/h2>\n<p>\u5148\u9009\u62e9\u8f83\u5c0f\u7684\u80a1\u7968\u8303\u56f4\u53ca\u6d41\u52a8\u6027\u8f83\u597d\u7684\u54c1\u79cd\uff0c\u5728\u805a\u5408\u5468\u671f\u4e00\u81f4\u7684\u56fe\u8868\u4e2d\u67e5\u770b\u6700\u8fd1\u5df2\u5b8c\u6210K\u7ebf\u53ca\u6b64\u524d\u4e94\u6839\u6ce2\u5e45\uff0c\u624b\u5de5\u590d\u73b0\u8ba1\u7b97\u3002\u6d4b\u8bd5\u6ce2\u5e45\u6070\u597d\u7b49\u4e8e\u9608\u503c\u548c\u6536\u76d8\u4f4d\u7f6e\u6070\u597d\u7b49\u4e8e\u9608\u503c\u7684\u60c5\u51b5\uff0c\u4e24\u8005\u5747\u5305\u542b\u7b49\u53f7\u3002\u8fd8\u5e94\u6d4b\u8bd5\u5e73\u76d8\u3001\u5386\u53f2\u4e0d\u8db3\u53ca\u957f\u4e0a\u5f71\u7ebf\u3002\u5c06\u500d\u6570\u6539\u4e3a2\uff0c\u89c2\u5bdf\u6ce2\u5e45\u8981\u6c42\u5982\u4f55\u53d8\u4e25\u683c\uff1b\u5c06\u6536\u76d8\u4f4d\u7f6e\u9608\u503c\u63d0\u9ad8\u81f30.9\uff0c\u7b2c\u4e8c\u4e2a\u6761\u4ef6\u4e5f\u4f1a\u53d8\u4e25\u683c\u3002\u7ed3\u679c\u6570\u91cf\u51cf\u5c11\u5e76\u4e0d\u8bc1\u660e\u76c8\u5229\u80fd\u529b\u6539\u5584\u3002\u672c\u6587\u6e90\u7801\u5c1a\u672a\u5b9e\u9645\u7f16\u8bd1\u6216\u5728Stock Hacker\u4e2d\u8fd0\u884c\u6d4b\u8bd5\u3002<\/p>\n<h2>\u65f6\u5e8f\u4e0e\u5c40\u9650<\/h2>\n<p>\u626b\u63cf\u4f7f\u7528\u5df2\u5b8c\u6210K\u7ebf\uff0c\u901a\u5e38\u5b9e\u65f6\u4ef7\u683c\u6ce2\u52a8\u4e0d\u4f1a\u6539\u53d8\u7ed3\u679c\uff0c\u76f4\u5230\u65b0K\u7ebf\u53ef\u7528\u3002\u626b\u63cf\u5668\u5237\u65b0\u65f6\u95f4\u53ef\u80fd\u5bfc\u81f4\u5339\u914d\u7ed3\u679c\u5ef6\u8fdf\u51fa\u73b0\u3002\u5386\u53f2\u6570\u636e\u4fee\u8ba2\u3001\u805a\u5408\u5468\u671f\u53ca\u4ea4\u6613\u65f6\u6bb5\u8bbe\u7f6e\u53d8\u5316\u4ecd\u53ef\u80fd\u6539\u53d8\u7ed3\u679c\u3002\u6700\u9ad8\u4ef7\u51cf\u6700\u4f4e\u4ef7\u4e0d\u5305\u542b\u524d\u6536\u76d8\u4ef7\uff0c\u56e0\u6b64\u8df3\u7a7a\u5f71\u54cd\u4e0d\u540c\u4e8e\u771f\u5b9e\u6ce2\u5e45\u3002\u626b\u63cf\u4e0d\u8861\u91cf\u6210\u4ea4\u91cf\u3001\u70b9\u5dee\u3001\u6d41\u52a8\u6027\u6216\u672a\u6765\u65b9\u5411\uff0c\u5f3a\u52bf\u6536\u76d8\u4e4b\u540e\u4e5f\u53ef\u80fd\u53cd\u8f6c\u3002\u5e94\u5c06\u5176\u4f5c\u4e3a\u7814\u7a76\u8fc7\u6ee4\u5de5\u5177\uff0c\u800c\u975e\u81ea\u52a8\u4ea4\u6613\u6307\u4ee4\u3002<\/p>\n<p>\u5982\u9700\u5b9a\u5236\u8fc7\u6ee4\u6761\u4ef6\u6216\u81ea\u9009\u5217\u8868\u5217\uff0c\u53ef\u4e86\u89e3<a href=\"https:\/\/www.patternsmart.com\/cn\/custom\/\">Thinkorswim\u6307\u6807\u5b9a\u5236\u5f00\u53d1\u670d\u52a1<\/a>\u3002<\/p>\n<p>\u98ce\u9669\u63d0\u793a\uff1a\u672c\u6587\u4ec5\u4f9b\u6280\u672f\u6559\u80b2\uff0c\u4ea4\u6613\u5b58\u5728\u4e8f\u635f\u98ce\u9669\uff0c\u4f7f\u7528\u524d\u8bf7\u72ec\u7acb\u9a8c\u8bc1\u3002<\/p>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Thinkorswim Stock Hacker\uff1a\u6ce2\u5e45\u6269\u5f20\u4e0e\u5f3a\u52bf\u6536\u76d8\u626b\u63cf \u4ea4\u6613\u6280\u5de7 \u5bbd\u5e45K\u7ebf\u5bb9\u6613\u5438\u5f15\u6ce8\u610f\uff0c\u4f46\u5b83 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3208,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"fifu_image_url":"","fifu_image_alt":"","_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[71,233,217],"tags":[704,487,424,795],"class_list":["post-3207","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thinkorswim","category-233","category-217","tag-stock-hacker","tag-487","tag-thinkorswim","tag-795"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/12\/range-expansion-2.png","_links":{"self":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/3207","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/comments?post=3207"}],"version-history":[{"count":0,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/3207\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media\/3208"}],"wp:attachment":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media?parent=3207"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/categories?post=3207"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/tags?post=3207"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}