{"id":2460,"date":"2025-07-28T07:58:00","date_gmt":"2025-07-27T23:58:00","guid":{"rendered":"https:\/\/blog.laoyulaoyu.top\/?p=2460"},"modified":"2025-07-25T10:50:28","modified_gmt":"2025-07-25T02:50:28","slug":"%e4%b8%bb%e5%8a%9b%e8%b5%84%e9%87%91%e5%81%b7%e5%81%b7%e8%bf%9b%e5%9c%ba%ef%bc%9f%e7%94%a8pine-script%e8%bf%bd%e8%b8%aa%e6%9c%ba%e6%9e%84%e5%85%a5%e5%9c%ba%e7%82%b9%e5%85%8d%e8%b4%b9%e9%99%84","status":"publish","type":"post","link":"https:\/\/laoyulaoyu.com\/index.php\/2025\/07\/28\/%e4%b8%bb%e5%8a%9b%e8%b5%84%e9%87%91%e5%81%b7%e5%81%b7%e8%bf%9b%e5%9c%ba%ef%bc%9f%e7%94%a8pine-script%e8%bf%bd%e8%b8%aa%e6%9c%ba%e6%9e%84%e5%85%a5%e5%9c%ba%e7%82%b9%e5%85%8d%e8%b4%b9%e9%99%84\/","title":{"rendered":"\u4e3b\u529b\u8d44\u91d1\u5077\u5077\u8fdb\u573a\uff1f\u7528Pine Script\u8ffd\u8e2a\u673a\u6784\u5165\u573a\u70b9(\u514d\u8d39\u9644\u6e90\u7801)"},"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\/2025\/07\/3003abf1530a485fff1168b07339b72609da1cd6_\u526f\u672c.webp\" alt=\"\" class=\"wp-image-5881\"\/><\/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>\u60f3\u77e5\u9053\u56fe\u8868\u4e0a\u90a3\u4e9b\u7a81\u7136\u653e\u91cf\u7684\u5927\u9633\u7ebf\u6216\u5927\u9634\u7ebf\u80cc\u540e\uff0c\u662f\u4e0d\u662f\u6709\u201c\u5927\u9cc4\u201d\u5728\u64cd\u4f5c\uff1f<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-cyan-blue-color\">\u6211\u7528\u7b80\u5355\u7684\u4ee3\u7801\u6807\u8bb0\u51fa\u53ef\u80fd\u7684\u673a\u6784\u4ea4\u6613\u8db3\u8ff9\u533a\u95f4\uff0c\u5e2e\u4f60\u53d1\u73b0\u5927\u8d44\u91d1\u7684\u5165\u573a\u70b9<\/mark>\u3002\u8fd9\u7bc7\u6587\u7ae0\u6211\u4e0d\u6559\u4f60\u9884\u6d4b\u6da8\u8dcc\uff0c\u800c\u662f\u7ed9\u4f60\u4e00\u4e2a\u89c2\u5bdf\u5e02\u573a\u7684\u201c\u65b0\u89c6\u89d2\u201d\u3002<\/pre>\n<\/blockquote>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e00\u3001\u4e3a\u4ec0\u4e48\u9700\u8981\u8ffd\u8e2a\u201c\u673a\u6784\u8db3\u8ff9\u201d\uff1f<\/strong><\/h2>\n\n\n\n<p>\u6211\u4eec\u666e\u901a\u4ea4\u6613\u8005\uff0c\u7ecf\u5e38\u4e60\u60ef\u4e8e\u201c\u8ffd\u6da8\u6740\u8dcc\u201d\uff0c\u76ef\u7740\u652f\u6491\u4f4d\u8dcc\u7834\u3001\u5747\u7ebf\u91d1\u53c9\u8fd9\u4e9b\u4fe1\u53f7\u3002\u4f46\u201c\u5927\u9cc4\u201d\u4eec\u4e0d\u4e00\u6837\uff0c\u4ed6\u4eec\u7684\u8d44\u91d1\u91cf\u5de8\u5927\uff0c\u6ca1\u6cd5\u50cf\u6563\u6237\u90a3\u6837\u5feb\u8fdb\u5feb\u51fa\u3002\u4ed6\u4eec\u66f4\u503e\u5411\u4e8e\u5728\u67d0\u4e2a\u533a\u57df\u6084\u6084\u5438\u7b79\uff08\u4e70\u5165\uff09\u6216\u6d3e\u53d1\uff08\u5356\u51fa\uff09\uff0c\u8fd9\u4e2a\u8fc7\u7a0b\u4f1a\u4f34\u968f\u7740\u4e00\u4e9b\u201c\u86db\u4e1d\u9a6c\u8ff9\u201d\u3002<\/p>\n\n\n\n<p>\u4f46\u4ed6\u4eec\u7559\u4e0b\u7684\u75d5\u8ff9\u5f80\u5f80\u85cf\u5728\u4e24\u4e2a\u7ef4\u5ea6\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u6210\u4ea4\u91cf\u7a81\u7136\u653e\u5927<\/strong>\uff08\u91cf\u7684\u5f02\u5e38\uff09<\/li>\n\n\n\n<li><strong>K\u7ebf\u9ad8\u4f4e\u5e45\u5ea6\u62c9\u5bbd<\/strong>\uff08\u4ef7\u683c\u6ce2\u52a8\u53d8\u5267\u70c8\uff09<\/li>\n<\/ul>\n\n\n\n<p>\u5982\u679c\u4f60\u628a\u8fd9\u4e24\u4e2a\u4fe1\u53f7\u7ed3\u5408\u8d77\u6765\uff0c\u5c31\u80fd\u5927\u6982\u7387\u627e\u5230\u4e00\u4e9b\u201c\u6709\u6545\u4e8b\u201d\u7684\u533a\u57df\u3002\u8fd9\u4e9b\u533a\u57df\u5f80\u5f80\u5728\u540e\u9762\u4f1a\u6210\u4e3a\u652f\u6491\u3001\u963b\u529b\uff0c\u6216\u8005\u662f\u884c\u60c5\u53d1\u52a8\u7684\u8d77\u70b9\u3002<\/p>\n\n\n\n<p>\u6211\u4eec\u4eca\u5929\u8981\u505a\u7684\u5c31\u662f\uff1a\u5728\u56fe\u8868\u4e0a\u628a\u8fd9\u4e9b\u201c\u7591\u4f3c\u673a\u6784\u8fdb\u573a\u533a\u57df\u201d\u9ad8\u4eae\u51fa\u6765\uff01<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">\u6761\u4ef6<\/th><th class=\"has-text-align-center\" data-align=\"center\">\u610f\u4e49<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\">\u6210\u4ea4\u91cf &gt; \u8fc7\u53bb\u5e73\u5747\u503c \u00d7 \u500d\u6570<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u6709\u5927\u8d44\u91d1\u53ef\u80fd\u8fdb\u573a<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">K\u7ebf\u7684\u9ad8-\u4f4e &gt; \u5e73\u5747K\u7ebf\u6ce2\u52a8 \u00d7 \u500d\u6570<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u8868\u793a\u884c\u60c5\u7a81\u7136\u5267\u70c8\u6ce2\u52a8<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\">\u4e24\u8005\u540c\u65f6\u51fa\u73b0<\/td><td class=\"has-text-align-center\" data-align=\"center\">\u6211\u4eec\u6000\u7591\u662f\u201c\u673a\u6784\u8db3\u8ff9\u201d<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.laoyulaoyu.com\/wp-content\/uploads\/2025\/07\/\u5fae\u4fe1\u56fe\u7247_2025-07-24_231753_385-1024x431.png\" alt=\"\" class=\"wp-image-5882\"\/><\/figure>\n\n\n\n<p>\u770b\u5230\u56fe\u4e2d\u7684\u7d2b\u8272\u533a\u57df\u548c\u83f1\u5f62\u56fe\u6807\u6ca1\uff1f\u6211\u4eec\u63a5\u4e0b\u6765\u5c31\u624b\u628a\u624b\u6559\u5927\u5bb6\u5982\u4f55\u7f16\u5199\u5728TradingView\u5e73\u53f0\u7528\u7684Pine Script\u4ee3\u7801\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e8c\u3001\u624b\u628a\u624b\u4ee3\u7801\u6559\u5b66<\/strong><br><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1\ufe0f\u20e3 \u8bbe\u7f6e\u8f93\u5165\u53c2\u6570\uff0c\u4fdd\u7559\u8c03\u6574\u4f59\u5730<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ \u00a9 LaoYULaoyu\n\/\/@version=6\nindicator(\"\u4e3b\u529b\u8d44\u91d1\u8db3\u8ff9\u63a2\u6d4b\u5668\", overlay=true, shorttitle=\"BigMoneyF\")\n\n\/\/=== \u7528\u6237\u8bbe\u7f6e ===\nvolLength = input.int(20, \"\u5747\u7ebf\u5468\u671f\", minval=5, maxval=100)\nrangeLength = input.int(20, \"\u6ce2\u5e45\u5468\u671f\", minval=5, maxval=100)\nvolMultiplier = input.float(1.5, \"\u6210\u4ea4\u91cf\u500d\u6570\", minval=1.1, maxval=3)\nrangeMultiplier = input.float(1.3, \"\u6ce2\u5e45\u500d\u6570\", minval=1.1, maxval=3)\nzoneDuration = input.int(5, \"\u4fe1\u53f7\u6301\u7eedK\u7ebf\u6570\", minval=1, maxval=20)\nuseDiamond = input.bool(true, \"\u663e\u793a\u94bb\u77f3\u6807\u8bb0\")\nzoneOpacity = input.int(85, \"\u533a\u57df\u900f\u660e\u5ea6\", minval=50, maxval=90)<\/code><\/pre>\n\n\n\n<p> \u8fd9\u4e00\u6b65\u662f\u7ed9\u6211\u4eec\u201c\u7075\u654f\u5ea6\u201d\u7559\u51fa\u81ea\u5b9a\u4e49\u7a7a\u95f4\uff0c\u65b9\u4fbf\u5e94\u5bf9\u4e0d\u540c\u7684\u80a1\u7968\/\u671f\u8d27\/\u5e01\u79cd\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2\ufe0f\u20e3 \u8ba1\u7b97\u5747\u503c\uff0c\u6784\u9020\u52a8\u6001\u9608\u503c\u7ebf<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/=== \u6838\u5fc3\u8ba1\u7b97 ===\navgVol = ta.sma(volume, volLength)\navgRange = ta.sma(high - low, rangeLength)<\/code><\/pre>\n\n\n\n<p>\u752820\u6839K\u7ebf\u6c42\u5e73\u5747\u503c\uff0c\u4f5c\u4e3a\u6bd4\u8f83\u7684\u57fa\u51c6\u7ebf\u3002\u8bb0\u4f4f\uff1a\u8fd9\u4e0d\u662f\u6b7b\u6570\uff0c\u662f\u6839\u636e\u884c\u60c5\u52a8\u6001\u53d8\u5316\u7684\u201c\u6d3b\u503c\u201d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3\ufe0f\u20e3 \u8bc6\u522b\u6210\u4ea4\u91cf\u653e\u5927 + \u6ce2\u52a8\u653e\u5927<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>volSpike = volume &gt; avgVol * volMultiplier\nrangeSpike = (high - low) &gt; avgRange * rangeMultiplier\nfootprintDetected = volSpike and rangeSpike<\/code><\/pre>\n\n\n\n<p>\u8fd9\u51e0\u884c\u884c\u4ee3\u7801\u5c31\u662f\u6211\u4eec\u7684\u5927\u62db\uff1a\u53ea\u8981\u53d1\u73b0\u91cf\u5927+\u6ce2\u52a8\u5267\u70c8\uff0c\u6211\u4eec\u5c31\u8ba4\u4e3a\u201c\u53ef\u80fd\u6709\u4e8b\u53d1\u751f\u201d\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4\ufe0f\u20e3 \u7d2b\u8272\u533a\u57df=\u53ef\u80fd\u7684\u673a\u6784\u8db3\u8ff9<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ === \u53ef\u89c6\u5316\u5b9e\u73b0 ===\nvar int zoneCounter = 0\nzoneCounter := footprintDetected ? zoneDuration : math.max(zoneCounter - 1, 0)\nactiveZone = zoneCounter &gt; 0\nbgcolor( activeZone ? color.new(#6A0DAD, zoneOpacity) : na,  title=\"\u4e3b\u529b\u8db3\u8ff9\u533a\" )<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">5\ufe0f\u20e3 <strong>\u89c6\u89c9\u63d0\u9192 + \u5b9e\u65f6\u63d0\u9192\u529f\u80fd<\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ \u94bb\u77f3\u6807\u8bb0\nplotshape(footprintDetected and useDiamond,  \"\u4e3b\u529b\u4fe1\u53f7\",  shape.diamond,  location.abovebar,  color=#AA00FF,  size=size.small )\n\n\/\/=== \u8b66\u62a5\u529f\u80fd ===\nalertcondition(  condition = footprintDetected,  title = \"\u4e3b\u529b\u8d44\u91d1\u5165\u573a\",  message = \"{{ticker}} \u51fa\u73b0\u4e3b\u529b\u8db3\u8ff9\uff01\u6210\u4ea4\u91cf: {{volume}} \u6ce2\u5e45: {{high-low}}\")<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6\ufe0f\u20e3 \u6784\u5efa\u6e05\u6670\u7684\u4fe1\u606f\u9762\u677f <\/strong><\/h3>\n\n\n\n<pre class=\"wp-block-preformatted\">\/\/=== \u4fe1\u606f\u9762\u677f ===<br>var table infoTable = table.new(position.top_right, 1, 1)<br>if barstate.islast<br>    table.cell( table_id = infoTable,      column = 0,      row = 0,      text = \"\ud83d\udc33 \u5f53\u524d\u53c2\u6570\uff1a\\n\u6210\u4ea4\u91cf\u2265\" + str.tostring(volMultiplier, \"#.##\") + \"\u500d\u5747\u91cf\\n\u6ce2\u5e45\u2265\" + str.tostring(rangeMultiplier, \"#.##\") + \"\u500d\u5747\u503c\\n\u4fe1\u53f7\u6301\u7eed\" + str.tostring(zoneDuration) + \"\u6839K\u7ebf\",      bgcolor = color.new(color.purple, 50) )<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u4ee3\u7801\u4eae\u70b9\uff1a<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u4e2d\u6587\u5316\u754c\u9762<\/strong>\uff1a\u6240\u6709\u53c2\u6570\u548c\u63d0\u793a\u5747\u4e3a\u4e2d\u6587\u663e\u793a\u3002<\/li>\n\n\n\n<li><strong>\u52a8\u6001\u4fe1\u606f\u9762\u677f<\/strong>\uff1a\u53f3\u4e0a\u89d2\u5b9e\u65f6\u663e\u793a\u5f53\u524d\u53c2\u6570\u9608\u503c\u3002<\/li>\n\n\n\n<li><strong>\u81ea\u5b9a\u900f\u660e\u5ea6<\/strong>\uff1a\u53ef\u8c03\u8282\u6807\u8bb0\u533a\u57df\u900f\u660e\u5ea6\u907f\u514d\u906e\u6321K\u7ebf\u3002<\/li>\n\n\n\n<li><strong>\u591a\u54c1\u79cd\u9002\u914d<\/strong>\uff1a\u901a\u8fc7\u53c2\u6570\u8c03\u8282\u9002\u5e94\u4e0d\u540c\u6ce2\u52a8\u6027\u8d44\u4ea7\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u4e09\u3001<strong>\u5b9e\u6218<\/strong>\u4f7f\u7528\u8bf4\u660e<\/strong><\/h2>\n\n\n\n<p>\u8fd9\u5957\u7b56\u7565\u4e0d\u662f\u4ea4\u6613\u4fe1\u53f7\uff0c\u4e0d\u544a\u8bc9\u4f60\u201c\u4e70\u201d\u8fd8\u662f\u201c\u5356\u201d\u3002\u800c\u662f\u4e00\u4e2a\u201c\u56fe\u8868\u7ed3\u6784\u8f85\u52a9\u5de5\u5177\u201d\u53ef\u4ee5\u5e2e\u4f60\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ad8\u4eae\u53ef\u80fd\u51fa\u73b0\u5927\u5355\u8fdb\u573a\u7684\u4f4d\u7f6e\u3002<\/li>\n\n\n\n<li>\u7406\u89e3\u884c\u60c5\u80cc\u540e\u7684\u7ed3\u6784\u903b\u8f91\u3002<\/li>\n\n\n\n<li>\u51cf\u5c11\u88ab\u201c\u5c0f\u6ce2\u52a8\u201d\u8bf1\u60d1\u51fa\u624b\u7684\u673a\u4f1a\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u7279\u522b\u9002\u5408\u914d\u5408\u4f60\u7684\u5176\u4ed6\u60ef\u7528\u7684\u4ea4\u6613\u7b56\u7565\u4e00\u8d77\u4f7f\u7528\uff01<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br><strong>\u4e00\u952e\u5b89\u88c5<\/strong><\/h3>\n\n\n\n<p>\u4f7f\u7528\u8fd9\u4e2a\u5de5\u5177\u5f88\u7b80\u5355\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u89c2\u5bdf\u56fe\u8868\u4e0a\u7684\u7d2b\u8272\u533a\u57df\uff0c\u7ed3\u5408\u4f60\u7684\u4ea4\u6613\u7b56\u7565\u5206\u6790\u3002<\/li>\n\n\n\n<li>\u6253\u5f00TradingView\uff0c\u70b9\u51fb\u201cPine\u7f16\u8f91\u5668\u201d\u3002<\/li>\n\n\n\n<li>\u590d\u5236\u7c98\u8d34\u4e0a\u8ff0\u4ee3\u7801\uff0c\u70b9\u51fb\u201c\u6dfb\u52a0\u5230\u56fe\u8868\u201d\u3002<\/li>\n\n\n\n<li>\u6839\u636e\u5e02\u573a\u60c5\u51b5\u8c03\u6574\u53c2\u6570\uff08\u6bd4\u5982volMultiplier\u6216rangeLength\uff09\u3002<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u65f6\u95f4\u6846\u67b6\u4e0e\u53c2\u6570\u8c03\u6574<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th class=\"has-text-align-center\" data-align=\"center\">\u65f6\u95f4\u6846\u67b6<\/th><th class=\"has-text-align-center\" data-align=\"center\">\u9002\u5408\u573a\u666f<\/th><th>\u4f18\u52bf<\/th><th>\u7f3a\u9677<\/th><th>\u63a8\u8350\u53c2\u6570\u8c03\u6574<\/th><\/tr><\/thead><tbody><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>1\u5206\u949f<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u9ad8\u9891\u5957\u5229<\/td><td>\u6355\u6349\u65e5\u5185\u4e3b\u529b\u7a81\u51fb<\/td><td>\u566a\u97f3\u591a\u5047\u4fe1\u53f7<\/td><td>\u8c03\u9ad8\u500d\u6570(vol=2.5, range=2.0)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>5\u5206\u949f<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u65e5\u5185\u4ea4\u6613<\/td><td>\u5e73\u8861\u7075\u654f\u5ea6\/\u51c6\u786e\u5ea6<\/td><td>\u9700\u914d\u5408\u8d8b\u52bf\u8fc7\u6ee4<\/td><td>\u9ed8\u8ba4\u53c2\u6570\u5373\u53ef<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>15\u5206\u949f<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u6ce2\u6bb5\u4ea4\u6613<\/td><td>\u6700\u4f73\u6548\u679c\u533a\u95f4<\/td><td>\u4fe1\u53f7\u660e\u786e\u6613\u8ddf\u8e2a<\/td><td>\u8c03\u4f4e\u6301\u7eedK\u7ebf\u6570(zoneDuration=3)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>1\u5c0f\u65f6<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u8d8b\u52bf\u4ea4\u6613<\/td><td>\u8fc7\u6ee4\u65e5\u5e38\u6ce2\u52a8<\/td><td>\u4fe1\u53f7\u5ef6\u8fdf\u660e\u663e<\/td><td>\u8c03\u4f4e\u500d\u6570(vol=1.3, range=1.2)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>4\u5c0f\u65f6<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u4e2d\u7ebf\u5e03\u5c40<\/td><td>\u8bc6\u522b\u5927\u8d44\u91d1\u5efa\u4ed3<\/td><td>\u9519\u8fc7\u6700\u4f73\u5165\u573a\u70b9<\/td><td>\u589e\u5927\u6301\u7eed\u5468\u671f(zoneDuration=10)<\/td><\/tr><tr><td class=\"has-text-align-center\" data-align=\"center\"><strong>\u65e5\u7ebf<\/strong><\/td><td class=\"has-text-align-center\" data-align=\"center\">\u957f\u7ebf\u6295\u8d44<\/td><td>\u5224\u65ad\u5173\u952e\u8f6c\u6298<\/td><td>\u53cd\u5e94\u8fc7\u4e8e\u6ede\u540e<\/td><td>\u7981\u7528\u94bb\u77f3\u6807\u8bb0(useDiamond=false)<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5e38\u89c1\u8bef\u533a<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u5e38\u89c1\u95ee\u9898<\/th><th>\u89e3\u7b54<\/th><\/tr><\/thead><tbody><tr><td>Q: \u8fd9\u4e2a\u662f\u9884\u6d4b\u5de5\u5177\u5417\uff1f<\/td><td>\u274c \u4e0d\u662f\uff0c\u662f\u8bc6\u522b\u7ed3\u6784\u7528\u7684<\/td><\/tr><tr><td>Q: \u53ef\u4ee5\u62ff\u8fd9\u4e2a\u6765\u5355\u72ec\u505a\u4ea4\u6613\u5417\uff1f<\/td><td>\u4e0d\u5efa\u8bae\uff0c\u6700\u597d\u7ed3\u5408\u81ea\u5df1\u7684\u7b56\u7565\u4f7f\u7528<\/td><\/tr><tr><td>Q: \u6240\u6709\u51fa\u73b0\u7684\u533a\u57df\u90fd\u6709\u6548\u5417\uff1f<\/td><td>\u4e0d\u662f\uff0c\u4f46\u5b83\u80fd\u5e2e\u4f60\u805a\u7126\u66f4\u91cd\u8981\u7684\u4ef7\u683c\u5e26<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u5b9e\u6218\u6280\u5de7<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u7ed3\u5408\u8d8b\u52bf\u7ebf\u4f7f\u7528\uff1a\u4e0a\u5347\u8d8b\u52bf\u4e2d\u53ea\u5173\u6ce8\u652f\u6491\u4f4d\u9644\u8fd1\u7684\u7d2b\u8272\u4fe1\u53f7\u3002<\/li>\n\n\n\n<li>\u771f\u5047\u4fe1\u53f7\u8fc7\u6ee4\uff1a\u8fde\u7eed\u51fa\u73b0\u591a\u4e2a\u4fe1\u53f7\u65f6\uff0c\u4ee5\u7b2c\u4e00\u4e2a\u4fe1\u53f7\u4e3a\u51c6\u3002<\/li>\n\n\n\n<li>\u91cf\u80fd\u9a8c\u8bc1\uff1a\u4fe1\u53f7\u51fa\u73b0\u540e3\u6839K\u7ebf\u5185\u6301\u7eed\u653e\u91cf\u66f4\u53ef\u9760\u3002<\/li>\n\n\n\n<li>\u4e0d\u9002\u5408\u6d41\u52a8\u6027\u5dee\u7684\u54c1\u79cd\uff08\u6210\u4ea4\u91cf&lt;1000\u4e07\uff09\u548c\u975e\u4ea4\u6613\u6d3b\u8dc3\u65f6\u6bb5\u3002<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>\u56db\u3001\u89c2\u70b9\u603b\u7ed3<\/strong><\/h2>\n\n\n\n<p>\u8fd9\u7bc7\u6587\u7ae0\u4e2d\u6211\u4eec\u4e00\u8d77\u642d\u5efa\u4e86\u4e00\u4e2a\u7b80\u5355\u5b9e\u7528\u7684\u201c\u4e3b\u529b\u8d44\u91d1\u8db3\u8ff9\u63a2\u6d4b\u5668\u201d\uff0c\u6838\u5fc3\u5728\u4e8e\u201c\u6210\u4ea4\u91cf\u201d\u548c\u201cK\u7ebf\u6ce2\u52a8\u201d\u7684\u53e0\u52a0\u5224\u65ad\u3002\u5b83\u4e0d\u80fd\u9884\u6d4b\u5e02\u573a\u65b9\u5411\uff0c\u4f46\u80fd\u8ba9\u4f60\u66f4\u51b7\u9759\u3001\u7406\u6027\u5730\u770b\u5f85\u5e02\u573a\u884c\u4e3a\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u4e0d\u8981\u628a\u5b83\u5f53\u505a\u4e07\u80fd\u6307\u6807\uff0c\u5b83\u662f\u4e2a\u8f85\u52a9\u201c\u80cc\u666f\u53c2\u8003\u201d\u3002<\/li>\n\n\n\n<li>\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u54c1\u79cd\u4e0d\u540c\u81ea\u5df1\u8c03\u8bd5\u3002<\/li>\n\n\n\n<li>\u914d\u5408\u4f60\u7684\u8fdb\u51fa\u573a\u903b\u8f91\uff0c\u4e00\u8d77\u4f7f\u7528\u6548\u679c\u66f4\u597d\u3002<\/li>\n\n\n\n<li>\u770b\u89c1\u7d2b\u8272\u9ad8\u4eae\u533a\u57df\uff0c\u522b\u6025\u7740\u64cd\u4f5c\uff0c\u5148\u89c2\u5bdf\u5e02\u573a\u53cd\u5e94\u3002<\/li>\n\n\n\n<li>\u8fd9\u662f\u4e00\u4e2a\u201c\u770b\u5f97\u61c2\u201d\u7684\u91cf\u5316\u5de5\u5177\uff0c\u63a8\u8350\u521d\u5b66\u8005\u5c1d\u8bd5\uff01<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<p>#\u673a\u6784\u8db3\u8ff9 #PineScript #TradingView #\u91cf\u5316\u4ea4\u6613 #\u6280\u672f\u5206\u6790 #\u91cf\u4ef7\u5173\u7cfb #\u4e3b\u529b\u52a8\u5411 #\u4ea4\u6613\u5de5\u5177 #\u4ee3\u7801\u6559\u5b66 #\u5e02\u573a\u7ed3\u6784 #\u652f\u6491\u963b\u529b #\u4ea4\u6613\u7b56\u7565<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><em>\u8bfb\u5230\u6700\u540e\uff0c\u5e0c\u671b\u8fd9\u7bc7\u6587\u7ae0\u4e3a\u60a8\u5e26\u6765\u4e86\u65b0\u7684\u542f\u53d1\u548c\u5b9e\u7528\u7684\u77e5\u8bc6\uff01\u5982\u679c\u89c9\u5f97\u6709\u5e2e\u52a9\uff0c\u8bf7\u4e0d\u541d\u70b9\u8d5e\u548c\u5206\u4eab\uff0c\u60a8\u7684\u652f\u6301\u662f\u6211\u6301\u7eed\u521b\u4f5c\u7684\u52a8\u529b\u3002\u795d\u60a8\u6295\u8d44\u987a\u5229\uff0c\u6536\u76ca\u957f\u8679\uff01\u5982\u679c\u5bf9\u6587\u4e2d\u5185\u5bb9\u6709\u4efb\u4f55\u7591\u95ee\uff0c\u6b22\u8fce\u7559\u8a00\uff0c\u6211\u4f1a\u5c3d\u5feb\u56de\u590d\uff01<\/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\">\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","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&#8230;<\/p>\n<div class=\"more-link-wrapper\"><a class=\"more-link\" href=\"https:\/\/laoyulaoyu.com\/index.php\/2025\/07\/28\/%e4%b8%bb%e5%8a%9b%e8%b5%84%e9%87%91%e5%81%b7%e5%81%b7%e8%bf%9b%e5%9c%ba%ef%bc%9f%e7%94%a8pine-script%e8%bf%bd%e8%b8%aa%e6%9c%ba%e6%9e%84%e5%85%a5%e5%9c%ba%e7%82%b9%e5%85%8d%e8%b4%b9%e9%99%84\/\">Continue reading<span class=\"screen-reader-text\">\u4e3b\u529b\u8d44\u91d1\u5077\u5077\u8fdb\u573a\uff1f\u7528Pine Script\u8ffd\u8e2a\u673a\u6784\u5165\u573a\u70b9(\u514d\u8d39\u9644\u6e90\u7801)<\/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":[17,4,5],"class_list":{"0":"post-2460","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-aiinvest","7":"tag-ai","10":"entry"},"_links":{"self":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/2460","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=2460"}],"version-history":[{"count":1,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/2460\/revisions"}],"predecessor-version":[{"id":2461,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/posts\/2460\/revisions\/2461"}],"wp:attachment":[{"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/media?parent=2460"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/categories?post=2460"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/laoyulaoyu.com\/index.php\/wp-json\/wp\/v2\/tags?post=2460"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}