{"id":2368,"date":"2026-11-20T00:02:54","date_gmt":"2026-11-20T06:02:54","guid":{"rendered":"https:\/\/www.patternsmart.com\/cn\/?p=2368"},"modified":"2026-11-20T06:03:42","modified_gmt":"2026-11-20T06:03:42","slug":"thinkorswim-atr%e6%b3%a2%e5%8a%a8%e6%94%b6%e7%bc%a9%e7%aa%81%e7%a0%b4%e6%89%ab%e6%8f%8f%e5%99%a8%ef%bc%9a%e7%bb%93%e5%90%88%e7%9b%b8%e5%af%b9%e6%88%90%e4%ba%a4%e9%87%8f%e7%a1%ae%e8%ae%a4","status":"publish","type":"post","link":"https:\/\/www.patternsmart.com\/cn\/thinkorswim-atr%e6%b3%a2%e5%8a%a8%e6%94%b6%e7%bc%a9%e7%aa%81%e7%a0%b4%e6%89%ab%e6%8f%8f%e5%99%a8%ef%bc%9a%e7%bb%93%e5%90%88%e7%9b%b8%e5%af%b9%e6%88%90%e4%ba%a4%e9%87%8f%e7%a1%ae%e8%ae%a4\/","title":{"rendered":"Thinkorswim ATR\u6ce2\u52a8\u6536\u7f29\u7a81\u7834\u626b\u63cf\u5668\uff1a\u7ed3\u5408\u76f8\u5bf9\u6210\u4ea4\u91cf\u786e\u8ba4"},"content":{"rendered":"<div class=\"postie-post\">\n<h1>Thinkorswim ATR\u6ce2\u52a8\u6536\u7f29\u7a81\u7834\u626b\u63cf\u5668\uff1a\u7ed3\u5408\u76f8\u5bf9\u6210\u4ea4\u91cf\u786e\u8ba4<\/h1>\n<p>\u8fd9\u5957\u514d\u8d39 thinkScript Stock Hacker \u626b\u63cf\u5668\u7528\u4e8e\u5bfb\u627e\u6ce2\u52a8\u7387\u5148\u6536\u7f29\u3001\u968f\u540e\u653e\u91cf\u7a81\u7834\u7684\u80a1\u7968\u3002\u5b83\u53ea\u8d1f\u8d23\u7b5b\u9009\u5019\u9009\u6807\u7684\uff0c\u4e0d\u4f1a\u81ea\u52a8\u4e0b\u5355\uff0c\u4e5f\u4e0d\u6784\u6210\u4e70\u5165\u5efa\u8bae\u3002<\/p>\n<h2>\u51c6\u786e\u8ba1\u7b97\u89c4\u5219<\/h2>\n<p>\u963b\u529b\u4f4d\u4e3a\u6b64\u524d20\u6839K\u7ebf\u6700\u9ad8\u4ef7\uff1a<code>Highest(high[1], 20)<\/code>\uff0c\u4e0d\u5305\u62ec\u5f53\u524dK\u7ebf\u3002\u524d\u4e00\u6839K\u7ebf\u7684 ATR(14) \u5fc5\u987b\u5c0f\u4e8e\u6b64\u524d30\u6839 ATR(14) \u5e73\u5747\u503c\u768485%\u3002\u5f53\u524d\u6536\u76d8\u4ef7\u9700\u9ad8\u4e8e\u963b\u529b\u4f4d\uff0c\u524d\u4e00\u6839\u6536\u76d8\u4ef7\u5219\u4e0d\u5f97\u9ad8\u4e8e\u8be5\u963b\u529b\u4f4d\u3002\u5f53\u524d\u6210\u4ea4\u91cf\u5fc5\u987b\u8d85\u8fc7\u6b64\u524d20\u6839\u5e73\u5747\u6210\u4ea4\u91cf\u7684130%\uff0c\u5f53\u524d\u4ef7\u683c\u4e0d\u5f97\u4f4e\u4e8e5\u7f8e\u5143\uff0c\u5e76\u4e14\u5404\u9879\u6307\u6807\u5fc5\u987b\u5177\u5907\u8db3\u591f\u5386\u53f2\u6570\u636e\u3002<\/p>\n<figure><img decoding=\"async\" src=\"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/11\/6affe2be0a306.png\" alt=\"Schematic breakout over a horizontal resistance line with increased volume bars\" width=\"480\" height=\"270\" style=\"max-width:100%;height:auto\"><figcaption>\u793a\u610f\u56fe\uff0c\u5e76\u975e\u771f\u5b9e\u5386\u53f2\u884c\u60c5\u3002\u84dd\u8272\u66f2\u7ebf\u8868\u793a\u4ef7\u683c\uff0c\u84dd\u8272\u6c34\u5e73\u7ebf\u8868\u793a\u524d\u671f\u963b\u529b\uff0c\u7eff\u8272\u6210\u4ea4\u91cf\u67f1\u8868\u793a\u653e\u91cf\u3002\u56fe\u7247\u5c55\u793a\u7a81\u7834\u7ed3\u6784\uff0c\u4e0d\u5c55\u793a ATR \u7684\u5b9e\u9645\u6570\u503c\u3002<\/figcaption><\/figure>\n<h2>\u5b8c\u6574 thinkScript \u6e90\u4ee3\u7801<\/h2>\n<p>\u811a\u672c\u53ea\u6709\u4e00\u4e2a\u540d\u4e3a <code>scan<\/code> \u7684\u5e03\u5c14\u8f93\u51fa\uff0c\u9002\u5408 Stock Hacker \u7684\u81ea\u5b9a\u4e49 Study \u626b\u63cf\u6761\u4ef6\u3002\u4e2d\u82f1\u6587\u6587\u7ae0\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684\u539f\u59cb\u4ee3\u7801\u3002<\/p>\n<pre style=\"white-space:pre;font-family:Consolas,Monaco,monospace;background:#f4f6fa;padding:18px\"><code># Stock Hacker ATR Compression Breakout Scanner<br>input breakoutLookback = 20;<br>input atrLength = 14;<br>input atrBaselineLength = 30;<br>input compressionFactor = 0.85;<br>input volumeLength = 20;<br>input volumeMultiplier = 1.30;<br>input minimumPrice = 5.0;<br><br>def atrValue = ATR(length = atrLength);<br>def priorATRMean = Average(atrValue[1], atrBaselineLength);<br>def priorResistance = Highest(high[1], breakoutLookback);<br>def priorVolumeMean = Average(volume[1], volumeLength);<br>def compressed = atrValue[1] &lt; priorATRMean * compressionFactor;<br>def breakout = close &gt; priorResistance and close[1] &lt;= priorResistance;<br>def volumeConfirmed = volume &gt; priorVolumeMean * volumeMultiplier;<br>def priceFilter = close &gt;= minimumPrice;<br>def ready = !IsNaN(priorResistance) and !IsNaN(priorATRMean)<br>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0and !IsNaN(priorVolumeMean) and priorVolumeMean &gt; 0;<br>plot scan = ready and compressed and breakout and volumeConfirmed and priceFilter;<br><\/code><\/pre>\n<h2>\u5b89\u88c5\u4e0e\u53c2\u6570<\/h2>\n<ol>\n<li>\u6253\u5f00 thinkorswim\uff0c\u8fdb\u5165 <strong>Scan &gt; Stock Hacker<\/strong>\u3002<\/li>\n<li>\u6dfb\u52a0 <strong>Study<\/strong> \u8fc7\u6ee4\u6761\u4ef6\uff0c\u9009\u62e9 <strong>Custom<\/strong>\uff0c\u7c98\u8d34\u5168\u90e8\u4ee3\u7801\u3002<\/li>\n<li>\u9009\u62e9\u65e5\u7ebf\u5468\u671f\u8fd0\u884c\uff0c\u5e76\u786e\u4fdd\u626b\u63cf\u5668\u4e0e\u56fe\u8868\u7684\u5468\u671f\u3001\u76d8\u524d\u76d8\u540e\u8bbe\u7f6e\u4e00\u81f4\u3002<\/li>\n<li>\u9ed8\u8ba4\u53c2\u6570\u5206\u522b\u4e3a\uff1a\u7a81\u7834\u56de\u770b20\u6839\u3001ATR\u5468\u671f14\u3001ATR\u57fa\u51c630\u3001\u6536\u7f29\u7cfb\u65700.85\u3001\u6210\u4ea4\u91cf\u56de\u770b20\u6839\u3001\u653e\u91cf\u500d\u65701.30\u3001\u6700\u4f4e\u4ef7\u683c5\u7f8e\u5143\u3002<\/li>\n<\/ol>\n<h2>\u8ba1\u7b97\u5b9e\u4f8b<\/h2>\n<p>\u5047\u8bbe\u524d20\u6839\u6700\u9ad8\u4ef7\u4e3a48\u7f8e\u5143\uff0c\u524d\u4e00\u6839\u6536\u76d8\u4ef747.50\u7f8e\u5143\uff0c\u5f53\u524d\u6536\u76d8\u4ef748.40\u7f8e\u5143\uff0c\u5219\u7a81\u7834\u6761\u4ef6\u6210\u7acb\u3002\u524d\u4e00\u6839 ATR \u4e3a1.10\u7f8e\u5143\uff0c\u524d30\u6839 ATR \u5747\u503c\u4e3a1.40\u7f8e\u5143\uff0c\u56e0\u6b64 1.10 &lt; 0.85 \u00d7 1.40 = 1.19\uff0c\u6ee1\u8db3\u6536\u7f29\u6761\u4ef6\u3002\u5f53\u524d\u6210\u4ea4\u91cf160\u4e07\u80a1\uff0c\u524d20\u6839\u5e73\u5747\u6210\u4ea4\u91cf110\u4e07\u80a1\uff0c\u56e0\u6b64 160\u4e07 &gt; 1.30 \u00d7 110\u4e07 = 143\u4e07\uff0c\u6ee1\u8db3\u653e\u91cf\u6761\u4ef6\u3002<\/p>\n<h2>\u672a\u5b8c\u6210K\u7ebf\u4e0e\u8bef\u62a5\u98ce\u9669<\/h2>\n<p>ATR \u6536\u7f29\u91c7\u7528\u524d\u4e00\u6839\u5df2\u5b8c\u6210K\u7ebf\uff0c\u4f46\u5f53\u524dK\u7ebf\u7684 close \u4e0e volume \u5728\u76d8\u4e2d\u4ecd\u4f1a\u53d8\u5316\uff0c\u56e0\u6b64\u626b\u63cf\u7ed3\u679c\u53ef\u80fd\u5728\u6536\u76d8\u524d\u51fa\u73b0\u6216\u6d88\u5931\u3002\u9700\u8981\u65e5\u7ebf\u786e\u8ba4\u65f6\uff0c\u5e94\u5728\u6536\u76d8\u540e\u8fd0\u884c\u3002\u963b\u529b\u4f4d\u4e0d\u5305\u542b\u5f53\u524dK\u7ebf\uff0c\u4e5f\u672a\u4f7f\u7528\u672a\u6765\u6570\u636e\uff0c\u4f46\u8d22\u62a5\u8df3\u7a7a\u3001\u4f4e\u6d41\u52a8\u6027\u3001\u5047\u7a81\u7834\u53ca\u5e02\u573a\u73af\u5883\u53d8\u5316\u90fd\u53ef\u80fd\u9020\u6210\u8bef\u62a5\u3002\u7531\u4e8e\u7b5b\u9009\u6761\u4ef6\u8f83\u4e25\u683c\uff0c\u90e8\u5206\u771f\u5b9e\u7a81\u7834\u4e5f\u4f1a\u88ab\u6392\u9664\u3002<\/p>\n<h2>\u9a8c\u8bc1\u6e05\u5355<\/h2>\n<p>\u786e\u8ba4\u626b\u63cf\u4ec5\u6709\u4e00\u4e2a\u5e03\u5c14\u8f93\u51fa\u3001\u5386\u53f2\u6570\u636e\u8db3\u591f\u3001\u5468\u671f\u8bbe\u7f6e\u6b63\u786e\u3001\u963b\u529b\u4f4d\u6392\u9664\u4e86\u5f53\u524dK\u7ebf\uff0c\u5e76\u9010\u4e00\u6838\u5bf9\u81f3\u5c1110\u4e2a\u626b\u63cf\u7ed3\u679c\u3002\u5efa\u8bae\u5bf9\u6837\u672c\u5916\u80a1\u7968\u4e0e\u65f6\u95f4\u6bb5\u6d4b\u8bd5\u53c2\u6570\u7a33\u5b9a\u6027\u3002\u672c\u6587\u672a\u5728 thinkorswim \u4e2d\u5b9e\u9645\u7f16\u8bd1\u6216\u8fd0\u884c\u6d4b\u8bd5\u3002<\/p>\n<p>\u5982\u679c\u4f60\u5bf9\u8fd9\u5957\u514d\u8d39\u626b\u63cf\u7a0b\u5e8f\u611f\u5174\u8da3\uff0c\u5e0c\u671b\u8fdb\u4e00\u6b65\u5b9a\u5236\u3001\u6269\u5c55\u6216\u4fee\u6539\uff0c\u6b22\u8fce\u901a\u8fc7\u6211\u4eec\u7684<a href=\"https:\/\/www.patternsmart.com\/cn\/custom\/\">\u4ea4\u6613\u8f6f\u4ef6\u5b9a\u5236\u5f00\u53d1\u670d\u52a1<\/a>\u8ba8\u8bba\u5177\u4f53\u9700\u6c42\u3002<\/p>\n<p><em>\u672c\u6587\u4ec5\u4f9b\u6280\u672f\u5b66\u4e60\uff0c\u4e0d\u6784\u6210\u6295\u8d44\u5efa\u8bae\u3002\u4ea4\u6613\u9700\u8003\u8651\u6ed1\u70b9\u3001\u624b\u7eed\u8d39\u3001\u4ed3\u4f4d\u7ba1\u7406\u53ca\u672c\u91d1\u635f\u5931\u98ce\u9669\u3002<\/em><\/p>\n<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Thinkorswim ATR\u6ce2\u52a8\u6536\u7f29\u7a81\u7834\u626b\u63cf\u5668\uff1a\u7ed3\u5408\u76f8\u5bf9\u6210\u4ea4\u91cf\u786e\u8ba4 \u8fd9\u5957\u514d\u8d39 thinkScript Sto [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2369,"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":[102,424,448,447],"class_list":["post-2368","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thinkorswim","category-233","category-217","tag-atr","tag-thinkorswim","tag-448","tag-447"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/11\/6affe2be0a306.png","_links":{"self":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/2368","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=2368"}],"version-history":[{"count":0,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/2368\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media\/2369"}],"wp:attachment":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media?parent=2368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/categories?post=2368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/tags?post=2368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}