{"id":2571,"date":"2026-11-23T15:27:28","date_gmt":"2026-11-23T21:27:28","guid":{"rendered":"https:\/\/www.patternsmart.com\/cn\/?p=2571"},"modified":"2026-11-23T21:37:28","modified_gmt":"2026-11-23T21:37:28","slug":"tradingview-pine-script-v6-%e5%b8%83%e6%9e%97%e5%b8%a6%e5%ae%bd%e5%ba%a6%e6%94%b6%e7%bc%a9%e4%b8%8e%e9%87%8a%e6%94%be%ef%bc%9a%e6%94%b6%e7%9b%98%e7%a1%ae%e8%ae%a4%e7%9a%84%e6%b3%a2%e5%8a%a8%e7%8e%87","status":"publish","type":"post","link":"https:\/\/www.patternsmart.com\/cn\/tradingview-pine-script-v6-%e5%b8%83%e6%9e%97%e5%b8%a6%e5%ae%bd%e5%ba%a6%e6%94%b6%e7%bc%a9%e4%b8%8e%e9%87%8a%e6%94%be%ef%bc%9a%e6%94%b6%e7%9b%98%e7%a1%ae%e8%ae%a4%e7%9a%84%e6%b3%a2%e5%8a%a8%e7%8e%87\/","title":{"rendered":"TradingView Pine Script v6 \u5e03\u6797\u5e26\u5bbd\u5ea6\u6536\u7f29\u4e0e\u91ca\u653e\uff1a\u6536\u76d8\u786e\u8ba4\u7684\u6ce2\u52a8\u7387\u4fe1\u53f7\u6307\u6807"},"content":{"rendered":"<div class=\"postie-post\">\n<div>\n<h1 style=\"font-size:29px;color:#19324f\">TradingView Pine Script v6 \u5e03\u6797\u5e26\u5bbd\u5ea6\u6536\u7f29\u4e0e\u91ca\u653e\uff1a\u6536\u76d8\u786e\u8ba4\u7684\u6ce2\u52a8\u7387\u4fe1\u53f7\u6307\u6807<\/h1>\n<p style=\"font-size:14px;color:#506881\"><strong>\u4ea4\u6613\u5165\u95e8\u6559\u7a0b \u00b7 \u5b8c\u6574 Pine Script v6 \u6e90\u7801 \u00b7 \u4e0d\u8bfb\u53d6\u672a\u6765 K \u7ebf<\/strong><\/p>\n<p>\u4ef7\u683c\u7684\u6ce2\u52a8\u7a0b\u5ea6\u4e0e\u65b9\u5411\u5e76\u4e0d\u662f\u4e00\u56de\u4e8b\u3002\u67d0\u4e9b\u80a1\u7968\u867d\u7136\u6301\u7eed\u4e0a\u6da8\uff0c\u4f46\u6bcf\u5929\u4ef7\u683c\u53d8\u5316\u5f88\u5e73\u7a33\uff1b\u53e6\u5916\u4e00\u4e9b\u80a1\u7968\u4e0a\u4e0b\u5267\u70c8\u9707\u8361\uff0c\u5374\u59cb\u7ec8\u6ca1\u6709\u8d70\u51fa\u660e\u786e\u8d8b\u52bf\u3002\u5e03\u6797\u5e26\uff08Bollinger Bands\uff09\u53ef\u4ee5\u7528\u5747\u7ebf\u548c\u6807\u51c6\u5dee\u53cd\u6620\u4ef7\u683c\u5206\u5e03\u7684\u5bbd\u7a84\u3002\u4e0d\u8fc7\uff0c\u5355\u72ec\u770b\u5e26\u5bbd\u662f 3 \u8fd8\u662f 5\uff0c\u5f88\u96be\u5224\u65ad\u5f53\u524d\u6ce2\u52a8\u662f\u5426\u771f\u6b63\u5f02\u5e38\u3002\u66f4\u5408\u7406\u7684\u529e\u6cd5\uff0c\u662f\u628a\u5b83\u4e0e\u8be5\u54c1\u79cd\u8fc7\u53bb\u4e00\u6bb5\u65f6\u95f4\u7684\u5e26\u5bbd\u8fdb\u884c\u6bd4\u8f83\u3002<\/p>\n<p>\u672c\u6587\u63d0\u4f9b\u4e00\u4efd\u5b8c\u6574\u7684 <strong>TradingView Pine Script v6 \u6307\u6807<\/strong>\uff0c\u628a\u6d41\u7a0b\u62c6\u6210\u4e09\u4e2a\u72ec\u7acb\u9636\u6bb5\uff1a\u5148\u8bc6\u522b\u6ce2\u52a8\u6536\u7f29\uff08Squeeze\uff09\uff0c\u518d\u7b49\u5f85\u5e26\u5bbd\u91ca\u653e\uff08Release\uff09\uff0c\u6700\u540e\u8981\u6c42\u5df2\u6536\u76d8 K \u7ebf\u7684\u6536\u76d8\u4ef7\u8d8a\u8fc7\u5f53\u524d\u5e03\u6797\u5e26\u4e0a\u8f68\u6216\u4e0b\u8f68\uff0c\u4ece\u800c\u786e\u8ba4\u65b9\u5411\u3002\u8fd9\u6837\u4e0d\u4f1a\u628a\u6240\u6709\u5e26\u5bbd\u653e\u5927\u7684\u65f6\u523b\u90fd\u8bef\u79f0\u4e3a\u4e70\u5356\u4fe1\u53f7\u3002<\/p>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u4e00\u3001\u5e03\u6797\u5e26\u5bbd\u5ea6\u5982\u4f55\u8ba1\u7b97\uff1f<\/h2>\n<p>\u4ee5\u5e38\u89c1\u7684 20 \u5468\u671f\u30012 \u500d\u6807\u51c6\u5dee\u5e03\u6797\u5e26\u4e3a\u4f8b\uff1a\u4e2d\u8f68\u662f 20 \u6839 K \u7ebf\u6536\u76d8\u4ef7\u7684\u7b80\u5355\u79fb\u52a8\u5e73\u5747\uff08SMA\uff09\uff1b\u4e0a\u8f68\u4e3a\u4e2d\u8f68\u52a0\u4e0a\u4e24\u500d\u6807\u51c6\u5dee\uff1b\u4e0b\u8f68\u4e3a\u4e2d\u8f68\u51cf\u53bb\u4e24\u500d\u6807\u51c6\u5dee\u3002\u4e0a\u8f68\u4e0e\u4e0b\u8f68\u4e4b\u95f4\u7684\u8ddd\u79bb\u8d8a\u5bbd\uff0c\u8bf4\u660e\u8fd1\u671f\u4ef7\u683c\u56f4\u7ed5\u5747\u7ebf\u7684\u5206\u6563\u7a0b\u5ea6\u8d8a\u5927\u3002<\/p>\n<p style=\"background:#edf4fc;border-left:3px solid #2863c3;padding:12px 16px\"><strong>\u5e26\u5bbd\u767e\u5206\u6bd4 = 100 \u00d7\uff08\u4e0a\u8f68\uff0d\u4e0b\u8f68\uff09\u00f7 |\u4e2d\u8f68|<\/strong><br \/><strong>\u6807\u51c6\u5316\u5e26\u5bbd\u6bd4\u503c = \u5f53\u524d\u5e26\u5bbd\u767e\u5206\u6bd4 \u00f7 \u524d\u9762 50 \u6839\u5df2\u5b8c\u6210 K \u7ebf\u7684\u5e73\u5747\u5e26\u5bbd\u767e\u5206\u6bd4<\/strong><\/p>\n<p>\u8fd9\u91cc\u628a\u5f53\u524d\u5e26\u5bbd\u9664\u4ee5\u4e4b\u524d 50 \u6839 K \u7ebf\u7684\u5e26\u5bbd\u5747\u503c\u3002\u5982\u679c\u6bd4\u503c\u4e3a 1.00\uff0c\u4ee3\u8868\u5f53\u524d\u5bbd\u5ea6\u4e0e\u5386\u53f2\u5747\u503c\u5927\u81f4\u76f8\u5f53\uff1b\u5982\u679c\u6bd4\u503c\u4e3a 0.60\uff0c\u5c31\u610f\u5473\u7740\u5f53\u524d\u5e26\u5bbd\u6bd4\u6b64\u524d\u5e73\u5747\u503c\u7a84 40%\u3002\u8fd9\u6bd4\u76f4\u63a5\u6bd4\u8f83\u4e0d\u540c\u4ef7\u4f4d\u7684\u5e26\u5bbd\u66f4\u6709\u53ef\u89e3\u91ca\u6027\u3002\u4e3a\u4e86\u907f\u514d\u5f53\u524d\u4fe1\u53f7\u5f71\u54cd\u81ea\u5df1\u7684\u6bd4\u8f83\u57fa\u51c6\uff0c\u4ee3\u7801\u91c7\u7528 <code>bandWidthPct[1]<\/code> \u8ba1\u7b97\u5386\u53f2\u5747\u503c\uff0c\u660e\u786e\u6392\u9664\u6b63\u5728\u5224\u65ad\u7684 K \u7ebf\u3002<\/p>\n<p>\u9ed8\u8ba4\u628a<strong>\u6807\u51c6\u5316\u5e26\u5bbd\u6bd4\u503c \u2264 0.65<\/strong> \u5b9a\u4e49\u4e3a\u6536\u7f29\u72b6\u6001\u30020.65 \u662f\u53ef\u8c03\u6574\u7684\u7814\u7a76\u53c2\u6570\uff0c\u5e76\u4e0d\u662f\u6240\u6709\u5e02\u573a\u901a\u7528\u7684\u6570\u5b66\u5b9a\u5f8b\u3002<\/p>\n<figure style=\"margin:25px 0;padding:6px 0\"><img decoding=\"async\" src=\"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/11\/PS_TV_Bandwidth_CN_Fig1.png\" alt=\"PS_TV_Bandwidth_CN_Fig1.png\" title=\"\u56fe 1\uff1a\u4e0a\u534a\u90e8\u5206\u663e\u793a\u6bcd\u7ebf\u5f0f\u5e03\u6797\u5e26\u4e0a\u4e0b\u8f68\u53ca\u793a\u610f K \u7ebf\uff0c\u4e0b\u534a\u90e8\u5206\u663e\u793a\u6807\u51c6\u5316\u5e26\u5bbd\u6bd4\u503c\u3002\u4e0a\u4e00\u6839\u5df2\u6536\u76d8 K \u7ebf\u4ecd\u7136\u5904\u4e8e\u6536\u7f29\u72b6\u6001\uff0c\u6700\u540e\u4e00\u6839\u6536\u76d8\u65f6\u6bd4\u503c\u4e0a\u5347\u4e14\u4ef7\u683c\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68\u3002\u6570\u636e\u4e3a\u6559\u5b66\u793a\u610f\uff0c\u5e76\u975e\u771f\u5b9e\u884c\u60c5\u3002\" style=\"width:100%;max-width:900px;height:auto;display:block;margin:auto\"><figcaption style=\"margin-top:6px;color:#61748a;font-size:13px\">\u56fe 1\uff1a\u4e0a\u534a\u90e8\u5206\u663e\u793a\u6bcd\u7ebf\u5f0f\u5e03\u6797\u5e26\u4e0a\u4e0b\u8f68\u53ca\u793a\u610f K \u7ebf\uff0c\u4e0b\u534a\u90e8\u5206\u663e\u793a\u6807\u51c6\u5316\u5e26\u5bbd\u6bd4\u503c\u3002\u4e0a\u4e00\u6839\u5df2\u6536\u76d8 K \u7ebf\u4ecd\u7136\u5904\u4e8e\u6536\u7f29\u72b6\u6001\uff0c\u6700\u540e\u4e00\u6839\u6536\u76d8\u65f6\u6bd4\u503c\u4e0a\u5347\u4e14\u4ef7\u683c\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68\u3002\u6570\u636e\u4e3a\u6559\u5b66\u793a\u610f\uff0c\u5e76\u975e\u771f\u5b9e\u884c\u60c5\u3002<\/figcaption><\/figure>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u4e8c\u3001\u4e00\u6b21\u53ef\u4ee5\u624b\u5de5\u590d\u7b97\u7684\u6ce2\u52a8\u91ca\u653e<\/h2>\n<p>\u5047\u8bbe\u4e0a\u4e00\u6839\u5df2\u6536\u76d8 K \u7ebf\u7684\u4e2d\u8f68\u4e3a 100\uff0c\u4e0a\u8f68\u4e3a 103\uff0c\u4e0b\u8f68\u4e3a 97\uff0c\u90a3\u4e48\u5e26\u5bbd\u767e\u5206\u6bd4\u4e3a 100 \u00d7\uff08103\uff0d97\uff09\u00f7100\uff1d<strong>6%<\/strong>\u3002\u5982\u679c\u5b83\u4e4b\u524d 50 \u6839 K \u7ebf\u7684\u5e73\u5747\u5e26\u5bbd\u4e3a 10%\uff0c\u6807\u51c6\u5316\u5e26\u5bbd\u6bd4\u503c\u5c31\u662f 6\u00f710\uff1d<strong>0.60<\/strong>\u3002\u56e0\u4e3a 0.60 \u2264 0.65\uff0c\u6ee1\u8db3\u6536\u7f29\u6761\u4ef6\u3002<\/p>\n<p>\u5230\u4e86\u4e0b\u4e00\u6839 K \u7ebf\u6536\u76d8\u65f6\uff0c\u5047\u8bbe\u4e2d\u8f68\u4ecd\u4e3a 100\u3001\u4e0a\u8f68\u4e3a 104\u3001\u4e0b\u8f68\u4e3a 96\uff0c\u90a3\u4e48\u5f53\u524d\u5e26\u5bbd\u767e\u5206\u6bd4\u662f <strong>8%<\/strong>\u3002\u82e5\u8fd9\u4e00\u65f6\u70b9\u4e4b\u524d 50 \u6839 K \u7ebf\u7684\u5e73\u5747\u5e26\u5bbd\u4e3a 9.5%\uff0c\u65b0\u7684\u6bd4\u503c\u4e3a 8\u00f79.5\uff1d<strong>0.8421<\/strong>\u3002\u7531\u4e8e\u5b83\u5df2\u7ecf\u5927\u4e8e 0.65\uff0c\u8bf4\u660e\u6b64\u524d\u7684\u6536\u7f29\u72b6\u6001\u7ed3\u675f\uff0c\u8fdb\u5165\u5e26\u5bbd\u91ca\u653e\u9636\u6bb5\u3002<\/p>\n<p>\u4f46\u662f\uff0c\u4ec5\u6709\u91ca\u653e\u8fd8\u4e0d\u591f\u3002\u5047\u8bbe\u8fd9\u6839 K \u7ebf\u5f00\u76d8\u4e8e 103.00\u3001\u6536\u76d8\u4e8e 104.50\uff0c\u6536\u76d8\u4ef7\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68 104\uff0c\u4e14\u662f\u9633\u7ebf\uff0c\u90a3\u4e48\u4e09\u4e2a\u6761\u4ef6\u90fd\u6ee1\u8db3\uff0c\u53ef\u4ee5\u51fa\u73b0\u7eff\u8272\u7684\u5411\u4e0a\u91ca\u653e\u6807\u8bb0\u3002\u53cd\u4e4b\uff0c\u82e5\u6536\u76d8\u4ef7\u4e3a 103.50\uff0c\u867d\u7136\u6ce2\u52a8\u7387\u91ca\u653e\uff0c\u4f46\u6ca1\u6709\u7ad9\u4e0a\u5f53\u524d\u4e0a\u8f68\uff0c\u7a0b\u5e8f\u5c31<strong>\u4e0d\u4f1a<\/strong>\u7ed9\u51fa\u770b\u6da8\u7bad\u5934\u3002\u770b\u8dcc\u65b9\u5411\u91c7\u7528\u76f8\u53cd\u903b\u8f91\uff1a\u5fc5\u987b\u6536\u5728\u4e0b\u8f68\u4ee5\u4e0b\uff0c\u5e76\u6839\u636e\u8bbe\u7f6e\u68c0\u67e5\u9634\u7ebf\u5b9e\u4f53\u65b9\u5411\u3002<\/p>\n<figure style=\"margin:25px 0;padding:6px 0\"><img decoding=\"async\" src=\"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/11\/PS_TV_Bandwidth_CN_Fig2.png\" alt=\"PS_TV_Bandwidth_CN_Fig2.png\" title=\"\u56fe 2\uff1a\u6570\u503c\u51b3\u7b56\u793a\u4f8b\u3002\u4e0a\u4e00\u6839\u6bd4\u503c\u4e3a 0.60\u3001\u5f53\u524d\u6bd4\u503c\u5347\u81f3 0.84\uff0c\u4e14\u5df2\u6536\u76d8 K \u7ebf\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68\u3002\u4e09\u9879\u6761\u4ef6\u5747\u6ee1\u8db3\u624d\u663e\u793a\u5411\u4e0a\u6807\u8bb0\uff1b\u4ec5\u5e26\u5bbd\u91ca\u653e\u4f46\u6536\u5728\u5e26\u5185\u5c5e\u4e8e\u62d2\u7edd\u6848\u4f8b\u3002\" style=\"width:100%;max-width:900px;height:auto;display:block;margin:auto\"><figcaption style=\"margin-top:6px;color:#61748a;font-size:13px\">\u56fe 2\uff1a\u6570\u503c\u51b3\u7b56\u793a\u4f8b\u3002\u4e0a\u4e00\u6839\u6bd4\u503c\u4e3a 0.60\u3001\u5f53\u524d\u6bd4\u503c\u5347\u81f3 0.84\uff0c\u4e14\u5df2\u6536\u76d8 K \u7ebf\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68\u3002\u4e09\u9879\u6761\u4ef6\u5747\u6ee1\u8db3\u624d\u663e\u793a\u5411\u4e0a\u6807\u8bb0\uff1b\u4ec5\u5e26\u5bbd\u91ca\u653e\u4f46\u6536\u5728\u5e26\u5185\u5c5e\u4e8e\u62d2\u7edd\u6848\u4f8b\u3002<\/figcaption><\/figure>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u4e09\u3001\u4ec0\u4e48\u65f6\u5019\u663e\u793a\u4fe1\u53f7\uff1f<\/h2>\n<table style=\"width:100%;border-collapse:collapse;font-size:14px;margin:16px 0\">\n<tbody>\n<tr style=\"background:#eaf1f8\">\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u72b6\u6001<\/th>\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u6570\u5b66\u6761\u4ef6<\/th>\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u7a0b\u5e8f\u884c\u4e3a<\/th>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u6536\u7f29<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u5f53\u524d\u5e26\u5bbd\u6bd4\u503c \u2264 0.65<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u80cc\u666f\u6d45\u84dd\u8272\u63d0\u793a<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u91ca\u653e\u5019\u9009<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u4e0a\u4e00\u6839\u6bd4\u503c \u2264 0.65\uff0c\u5f53\u524d\u5df2\u6536\u76d8\u6bd4\u503c &gt; 0.65<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u4ec5\u4ee3\u8868\u6ce2\u52a8\u7387\u72b6\u6001\u8f6c\u6362<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u770b\u6da8\u786e\u8ba4<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u91ca\u653e\u5019\u9009\uff0c\u4e14\u6536\u76d8\u4ef7\u9ad8\u4e8e\u5f53\u524d\u4e0a\u8f68<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u7ed8\u5236\u7eff\u8272 UP \u6807\u8bb0\uff0c\u53ef\u89e6\u53d1\u63d0\u9192<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u770b\u8dcc\u786e\u8ba4<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u91ca\u653e\u5019\u9009\uff0c\u4e14\u6536\u76d8\u4ef7\u4f4e\u4e8e\u5f53\u524d\u4e0b\u8f68<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u7ed8\u5236\u7ea2\u8272 DN \u6807\u8bb0\uff0c\u53ef\u89e6\u53d1\u63d0\u9192<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u5e26\u5185\u91ca\u653e<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u6bd4\u503c\u8d8a\u8fc7\u9608\u503c\uff0c\u4f46\u6536\u76d8\u4ef7\u6ca1\u6709\u7a81\u7834\u4e0a\u4e0b\u8f68<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u4e0d\u7ed8\u5236\u65b9\u5411\u7bad\u5934\uff0c\u4e5f\u4e0d\u53d1\u9001\u65b9\u5411\u63d0\u9192<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u4e3a\u4e86\u964d\u4f4e\u5047\u4fe1\u53f7\uff0c\u4ee3\u7801\u9ed8\u8ba4\u8fd8\u8981\u6c42\u770b\u6da8\u7a81\u7834 K \u7ebf\u4e3a\u9633\u7ebf\u3001\u770b\u8dcc\u7a81\u7834 K \u7ebf\u4e3a\u9634\u7ebf\uff0c\u4f7f\u7528\u8005\u53ef\u4ee5\u5728\u53c2\u6570\u91cc\u5173\u95ed\u3002\u9700\u8981\u6ce8\u610f\u7684\u662f\uff1a\u672c\u6307\u6807\u663e\u793a\u5728<strong>\u72ec\u7acb\u526f\u56fe<\/strong>\u4e2d\uff0c\u4e3b\u8981\u7ed8\u5236\u5e26\u5bbd\u6bd4\u503c\u3001\u6536\u7f29\u9608\u503c\u4e0e\u65b9\u5411\u4fe1\u53f7\u3002\u5e03\u6797\u5e26\u4e0a\u8f68\u3001\u4e0b\u8f68\u53ca\u5e26\u5bbd\u6570\u503c\u88ab\u540c\u65f6\u8f93\u51fa\u5230 Data Window\uff0c\u65b9\u4fbf\u9010\u9879\u6838\u5bf9\uff0c\u800c\u4e0d\u662f\u76f4\u63a5\u5728\u4e3b\u56fe\u4e0a\u7ed8\u5236\u4ea4\u6613\u8ba2\u5355\u3002<\/p>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u56db\u3001\u5b8c\u6574 TradingView Pine Script v6 \u6e90\u4ee3\u7801<\/h2>\n<p>\u6253\u5f00 TradingView \u7684 Pine Editor\uff0c\u65b0\u5efa\u6307\u6807\uff0c\u5b8c\u6574\u590d\u5236\u4ee5\u4e0b\u4ee3\u7801\u3002\u82f1\u6587\u548c\u4e2d\u6587\u6587\u7ae0\u4f7f\u7528\u5b8c\u5168\u76f8\u540c\u7684\u4ee3\u7801\u3001\u53d8\u91cf\u540d\u3001\u516c\u5f0f\u3001\u9ed8\u8ba4\u53c2\u6570\u4e0e\u63d0\u9192\u903b\u8f91\u3002\u4ee3\u7801\u5e76\u4e0d\u8bf7\u6c42\u66f4\u9ad8\u5468\u671f\u6570\u636e\uff0c\u4e5f\u4e0d\u542f\u7528\u672a\u6765\u6570\u636e\u8bfb\u53d6\uff1b\u65b9\u5411\u4fe1\u53f7\u4f7f\u7528 <code>barstate.isconfirmed<\/code> \u8fdb\u884c\u6536\u76d8\u786e\u8ba4\u3002<\/p>\n<pre style=\"white-space:pre;background:#f1f5fa;border:1px solid #cdd9e7;color:#132f4b;padding:16px;font-family:Consolas,monospace;font-size:13px;line-height:1.45\"><code><a href=\"mailto:\/\/@version=6\">\/\/@version=6<\/a><br>\/\/ PatternSmart: Bollinger BandWidth squeeze and release<br>\/\/ Closed-bar directional confirmation; no future data requests.<br>indicator(\"PS BandWidth Squeeze Release\", shorttitle = \"PS BW Release\", overlay = false, precision = 2)<br><br>\/\/ All parameters are available in the indicator settings panel.<br>int bbLength = <a href=\"http:\/\/input.int\">input.int<\/a>(20, \"Bollinger length\", minval = 5)<br>float deviationMultiplier = input.float(2.0, \"Std. deviation multiplier\", minval = 0.1, step = 0.1)<br>int baselineLength = <a href=\"http:\/\/input.int\">input.int<\/a>(50, \"Prior BandWidth average length\", minval = 10)<br>float squeezeLevel = input.float(0.65, \"Squeeze ratio threshold\", minval = 0.1, maxval = 2.0, step = 0.05)<br>bool requireBodyDirection = input.bool(true, \"Require confirming candle body\")<br><br>\/\/ Calculate Bollinger Bands on the chart&#039;s own timeframe.<br>float basis = ta.sma(close, bbLength)<br>float deviation = deviationMultiplier * ta.stdev(close, bbLength)<br>float upperBand = basis + deviation<br>float lowerBand = basis - deviation<br><br>\/\/ BandWidth as a percent of absolute basis: no division by zero.<br>float bandWidthPct = not na(basis) and math.abs(basis) &gt; 0 ?<br>\u00a0\u00a0\u00a0\u00a0\u00a0100.0 * (upperBand - lowerBand) \/ math.abs(basis) : na<br><br>\/\/ Compare against older observations only. Current width is excluded.<br>float priorAvgWidth = ta.sma(bandWidthPct[1], baselineLength)<br>float widthRatio = not na(bandWidthPct) and not na(priorAvgWidth) and priorAvgWidth &gt; 0 ?<br>\u00a0\u00a0\u00a0\u00a0\u00a0bandWidthPct \/ priorAvgWidth : na<br><br>bool squeeze = not na(widthRatio) and widthRatio &lt;= squeezeLevel<br>bool release = barstate.isconfirmed and squeeze[1] and not na(widthRatio) and widthRatio &gt; squeezeLevel<br><br>\/\/ Direction is confirmed only after the chart candle has closed.<br>bool bullishRelease = release and close &gt; upperBand and<br>\u00a0\u00a0\u00a0\u00a0\u00a0(not requireBodyDirection or close &gt; open)<br>bool bearishRelease = release and close &lt; lowerBand and<br>\u00a0\u00a0\u00a0\u00a0\u00a0(not requireBodyDirection or close &lt; open)<br><br>\/\/ Lower-pane visual: normalized width, threshold and squeeze shading.<br>plot(widthRatio, title = \"BandWidth \/ previous average\", color = squeeze ? color.blue : color.teal, linewidth = 2)<br>plot(squeezeLevel, title = \"Squeeze threshold\", color = color.red, linewidth = 1)<br>bgcolor(squeeze ? <a href=\"http:\/\/color.new\">color.new<\/a>(color.blue, 92) : na, title = \"Squeeze background\")<br>plotshape(bullishRelease, title = \"Bullish release\", style = shape.triangleup,<br>\u00a0\u00a0\u00a0\u00a0\u00a0location = location.bottom, color = color.lime, size = size.small, text = \"UP\")<br>plotshape(bearishRelease, title = \"Bearish release\", style = shape.triangledown,<br>\u00a0\u00a0\u00a0\u00a0\u00a0location = location.top, color = color.red, size = size.small, text = \"DN\")<br><br>\/\/ Data-window diagnostics: inspect widths and reference values precisely.<br>plot(bandWidthPct, title = \"Raw BandWidth percent\", display = display.data_window)<br>plot(priorAvgWidth, title = \"Prior average BandWidth percent\", display = display.data_window)<br>plot(upperBand, title = \"Upper Bollinger Band\", display = display.data_window)<br>plot(lowerBand, title = \"Lower Bollinger Band\", display = display.data_window)<br><br>\/\/ Create alerts from the TradingView UI; choose Once Per Bar Close.<br>alertcondition(bullishRelease, title = \"PS BW bullish release\",<br>\u00a0\u00a0\u00a0\u00a0\u00a0message = \"Confirmed bullish BandWidth release: {{ticker}} \/ {{interval}}\")<br>alertcondition(bearishRelease, title = \"PS BW bearish release\",<br>\u00a0\u00a0\u00a0\u00a0\u00a0message = \"Confirmed bearish BandWidth release: {{ticker}} \/ {{interval}}\")<\/code><\/pre>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u4e94\u3001\u9ed8\u8ba4\u53c2\u6570\u4e0e\u5b89\u88c5\u65b9\u6cd5<\/h2>\n<table style=\"width:100%;border-collapse:collapse;font-size:14px;margin:16px 0\">\n<tbody>\n<tr style=\"background:#eaf1f8\">\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u53c2\u6570<\/th>\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u9ed8\u8ba4\u503c<\/th>\n<th style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u610f\u4e49<\/th>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">Bollinger length<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">20<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u8ba1\u7b97\u4e2d\u8f68\u53ca\u6807\u51c6\u5dee\u7684 K \u7ebf\u6570\u91cf<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">Std. deviation multiplier<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">2.0<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u4e0a\u4e0b\u8f68\u8ddd\u79bb\u4e3a\u6807\u51c6\u5dee\u7684\u500d\u6570<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">Prior BandWidth average length<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">50<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u8ba1\u7b97\u5386\u53f2\u5e73\u5747\u5e26\u5bbd\u7684\u7a97\u53e3\uff0c\u6392\u9664\u5f53\u524d K \u7ebf<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">Squeeze ratio threshold<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">0.65<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u6bd4\u503c\u4e0d\u9ad8\u4e8e\u8be5\u95e8\u69db\u65f6\u89c6\u4e3a\u6536\u7f29<\/td>\n<\/tr>\n<tr>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">Require confirming candle body<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">true<\/td>\n<td style=\"border:1px solid #d8e4ed;text-align:left;vertical-align:top;padding:8px 10px\">\u8981\u6c42\u5411\u4e0a\u7a81\u7834\u6536\u9633\u7ebf\u3001\u5411\u4e0b\u7a81\u7834\u6536\u9634\u7ebf<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>\u5728 TradingView \u6253\u5f00\u56fe\u8868\u4e0e <strong>Pine Editor<\/strong>\u3002<\/li>\n<li>\u7c98\u8d34\u5168\u90e8 Pine Script v6 \u6e90\u7801\uff0c\u4fdd\u5b58\u5e76\u9009\u62e9 <strong>Add to chart<\/strong>\u3002\u5177\u4f53\u7f16\u8bd1\u60c5\u51b5\u987b\u5728\u4f60\u7684 TradingView \u8d26\u6237\u9a8c\u8bc1\uff1b\u672c\u6587\u6ca1\u6709\u865a\u79f0\u5df2\u5728\u5728\u7ebf\u7ec8\u7aef\u5b8c\u6210\u7f16\u8bd1\u3002<\/li>\n<li>\u9996\u6b21\u4f7f\u7528\u4fdd\u6301\u9ed8\u8ba4\u53c2\u6570\uff0c\u67e5\u770b\u526f\u56fe\u4e2d\u7684\u6bd4\u503c\u7ebf\u662f\u5426\u8dcc\u5230 0.65 \u4ee5\u4e0b\u3002<\/li>\n<li>\u89c2\u5bdf\u6536\u76d8\u540e\u6bd4\u503c\u91cd\u65b0\u9ad8\u4e8e 0.65 \u7684 K \u7ebf\u3002\u5982\u679c\u6536\u76d8\u4ef7\u540c\u65f6\u9ad8\u4e8e\u4e0a\u8f68\u6216\u4f4e\u4e8e\u4e0b\u8f68\uff0c\u5c31\u53ef\u80fd\u51fa\u73b0\u7eff\u8272\u6216\u7ea2\u8272\u7bad\u5934\u3002<\/li>\n<li>\u5982\u679c\u9700\u8981 TradingView \u63d0\u9192\uff0c\u5728\u521b\u5efa Alert \u65f6\u9009\u62e9\u672c\u6307\u6807\u7684\u770b\u6da8\u6216\u770b\u8dcc\u6761\u4ef6\uff0c\u5e76\u91c7\u7528 <strong>Once Per Bar Close<\/strong>\uff0c\u907f\u514d\u76d8\u4e2d\u4e34\u65f6\u72b6\u6001\u5e72\u6270\u3002<\/li>\n<\/ol>\n<p>\u8ba1\u7b97\u9700\u8981\u8db3\u591f\u5386\u53f2\u6570\u636e\u3002\u5e03\u6797\u5e26\u672c\u8eab\u9700\u8981\u81f3\u5c11 20 \u6839\u5de6\u53f3\u7684 K \u7ebf\uff0c\u8ba1\u7b97\u6b64\u524d 50 \u6839\u5e26\u5bbd\u5747\u503c\u8fd8\u9700\u8981\u66f4\u591a\u6570\u636e\uff0c\u6240\u4ee5\u56fe\u8868\u6700\u65e9\u7684\u4e00\u90e8\u5206\u53ef\u80fd\u663e\u793a\u7a7a\u503c\uff08<code>na<\/code>\uff09\u3002\u8fd9\u662f\u6b63\u5e38\u7684\u9884\u70ed\u8fc7\u7a0b\uff0c\u4e0d\u80fd\u4e3a\u4e86\u8ba9\u4fe1\u53f7\u7acb\u5373\u51fa\u73b0\u5c31\u968f\u610f\u586b\u5145\u5386\u53f2\u6570\u503c\u3002<\/p>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u516d\u3001\u5173\u4e8e\u201c\u6536\u76d8\u786e\u8ba4\u201d\u4e0e\u91cd\u7ed8\u7684\u51c6\u786e\u7406\u89e3<\/h2>\n<p>\u8fd9\u91cc\u7684 <code>barstate.isconfirmed<\/code> \u8868\u793a\u65b9\u5411\u4fe1\u53f7\u53ea\u5728\u5f53\u524d K \u7ebf\u5b8c\u6210\u65f6\u6210\u7acb\u3002\u76d8\u4e2d\u4e0a\u8f68\u3001\u4e0b\u8f68\u3001\u5e26\u5bbd\u6bd4\u503c\u548c\u80cc\u666f\u989c\u8272\u4ecd\u53ef\u80fd\u968f\u6700\u65b0\u4ef7\u683c\u53d8\u5316\uff0c\u8fd9\u662f\u6b63\u5e38\u7684\u5b9e\u65f6\u8ba1\u7b97\u884c\u4e3a\u3002\u4e5f\u5c31\u662f\u8bf4\uff0c<strong>\u4e0d\u80fd\u628a\u76d8\u4e2d\u77ed\u6682\u8fdb\u5165\u91ca\u653e\u72b6\u6001\u8bef\u5224\u4e3a\u5df2\u6536\u76d8\u4fe1\u53f7<\/strong>\u3002<\/p>\n<p>\u6b64\u5916\uff0c\u5386\u53f2\u884c\u60c5\u7ecf\u8fc7\u62c6\u80a1\u590d\u6743\u3001\u7ecf\u7eaa\u5546\u6570\u636e\u66f4\u65b0\u3001\u4ea4\u6613\u6240\u7ea0\u9519\uff0c\u6216\u66f4\u6362\u56fe\u8868\u5468\u671f\u540e\uff0c\u5df2\u8ba1\u7b97\u7684\u5386\u53f2\u72b6\u6001\u53ef\u80fd\u53d1\u751f\u53d8\u5316\u3002\u4ee3\u7801\u6ca1\u6709\u4f7f\u7528\u672a\u6765 K \u7ebf\u6765\u201c\u63d0\u524d\u77e5\u9053\u201d\u7ed3\u679c\uff0c\u4f46\u8fd9\u4e0d\u7b49\u4e8e\u5728\u4efb\u4f55\u6570\u636e\u73af\u5883\u4e0b\u4fe1\u53f7\u6c38\u8fdc\u4e0d\u4f1a\u6539\u53d8\u3002\u5b83\u4e5f\u4e0d\u662f\u81ea\u52a8\u4ea4\u6613\u7b56\u7565\uff0c\u4e0d\u5305\u542b\u8fdb\u573a\u5355\u3001\u4ed3\u4f4d\u7ba1\u7406\u3001\u6b62\u635f\u6b62\u76c8\u548c\u56de\u6d4b\u6536\u76ca\u3002<\/p>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u4e03\u3001\u4e3a\u4ec0\u4e48\u6709\u4e9b\u91ca\u653e\u4fe1\u53f7\u4e0d\u503c\u5f97\u4ea4\u6613\uff1f<\/h2>\n<p>\u7b2c\u4e00\uff0c\u6ce2\u52a8\u6536\u7f29\u53ea\u662f\u4e00\u79cd\u7edf\u8ba1\u72b6\u6001\uff0c\u4e0d\u4ee3\u8868\u4e00\u5b9a\u4f1a\u5411\u67d0\u4e2a\u65b9\u5411\u7a81\u7834\u3002\u5373\u4f7f\u5e26\u5bbd\u91cd\u65b0\u6269\u5f20\uff0c\u4ef7\u683c\u4e5f\u53ef\u80fd\u4f9d\u65e7\u5904\u4e8e\u533a\u95f4\u4e4b\u5185\uff0c\u56e0\u6b64\u4ee3\u7801\u62d2\u7edd\u8fd9\u79cd\u6ca1\u6709\u65b9\u5411\u786e\u8ba4\u7684\u60c5\u51b5\u3002<\/p>\n<p>\u7b2c\u4e8c\uff0c\u5373\u4f7f\u6536\u76d8\u4ef7\u8d8a\u8fc7\u4e0a\u8f68\uff0c\u4e0b\u4e00\u6839 K \u7ebf\u4e5f\u53ef\u80fd\u5feb\u901f\u56de\u5230\u5e26\u5185\u3002\u8d22\u62a5\u516c\u5e03\u3001\u7ecf\u6d4e\u6570\u636e\u3001\u9694\u591c\u8df3\u7a7a\u3001\u70b9\u5dee\u6269\u5927\u4ee5\u53ca\u6210\u4ea4\u6e05\u6de1\u65f6\u6bb5\uff0c\u90fd\u53ef\u80fd\u4ea7\u751f\u770b\u8d77\u6765\u6f02\u4eae\u5374\u4e0d\u7a33\u5b9a\u7684\u56fe\u5f62\u3002\u5e03\u6797\u5e26\u4e5f\u4e0d\u80fd\u81ea\u52a8\u4ee3\u66ff\u6b62\u635f\u6216\u4ed3\u4f4d\u98ce\u9669\u9650\u5236\u3002<\/p>\n<p>\u7b2c\u4e09\uff0c\u53c2\u6570\u8fc7\u5ea6\u4f18\u5316\u4f1a\u5e26\u6765\u6837\u672c\u5185\u8868\u73b0\u597d\u3001\u6837\u672c\u5916\u5931\u6548\u7684\u95ee\u9898\u3002\u628a 0.65 \u63d0\u9ad8\u5230 0.80\uff0c\u4f1a\u589e\u52a0\u88ab\u5224\u5b9a\u4e3a\u6536\u7f29\u7684\u533a\u95f4\uff0c\u4f46\u4e0d\u4e00\u5b9a\u63d0\u9ad8\u4fe1\u53f7\u8d28\u91cf\u3002\u628a\u5386\u53f2\u7a97\u53e3\u4ece 50 \u6539\u6210 20 \u4f1a\u63d0\u9ad8\u53cd\u5e94\u901f\u5ea6\uff0c\u5374\u53ef\u80fd\u66f4\u5bb9\u6613\u53d7\u5230\u77ed\u671f\u6ce2\u52a8\u5e72\u6270\uff1b\u6539\u6210 100 \u5219\u66f4\u5e73\u6ed1\uff0c\u4f46\u53cd\u5e94\u66f4\u6162\u3002\u5efa\u8bae\u5728\u4e0d\u540c\u5e02\u573a\u548c\u5468\u671f\u4e0b\u6bd4\u8f83\u8fd9\u4e9b\u8bbe\u7f6e\uff0c\u800c\u4e0d\u662f\u53ea\u9009\u56de\u6d4b\u6700\u597d\u770b\u7684\u53c2\u6570\u3002<\/p>\n<h2 style=\"font-size:22px;color:#19324f;margin-top:28px\">\u516b\u3001\u5b9e\u7528\u6838\u5bf9\u6e05\u5355<\/h2>\n<p>\u5efa\u8bae\u5148\u6536\u96c6\u81f3\u5c11 30 \u6b21\u5386\u53f2\u201c\u4ece\u6536\u7f29\u5230\u91ca\u653e\u201d\u7684\u4e8b\u4ef6\uff0c\u4e3a\u6bcf\u6b21\u4e8b\u4ef6\u8bb0\u5f55\uff1a\u4e0a\u4e00\u6839\u7684\u5e26\u5bbd\u6bd4\u503c\u3001\u5f53\u524d\u6bd4\u503c\u3001\u5bf9\u5e94\u4e0a\u8f68\u4e0e\u4e0b\u8f68\u3001\u6700\u7ec8\u6536\u76d8\u4ef7\u3001\u662f\u5426\u901a\u8fc7\u5b9e\u4f53\u65b9\u5411\u68c0\u67e5\uff0c\u4ee5\u53ca\u968f\u540e 1\u30013\u30015 \u6839 K \u7ebf\u7684\u8d70\u52bf\u3002\u9664\u4e86\u6210\u529f\u4fe1\u53f7\uff0c\u4e5f\u8981\u7279\u522b\u8bb0\u5f55\u5e26\u5185\u91ca\u653e\u3001\u5047\u7a81\u7834\u3001\u91cd\u5927\u65b0\u95fb\u548c\u4f4e\u6d41\u52a8\u6027\u60c5\u5f62\uff0c\u5e76\u8003\u8651\u5b9e\u9645\u4ef7\u5dee\u3001\u6ed1\u70b9\u53ca\u8d44\u91d1\u7ba1\u7406\u6210\u672c\u3002\u793a\u4f8b\u56fe\u7247\u4e0d\u80fd\u5f53\u4f5c\u7b56\u7565\u80dc\u7387\u6216\u76c8\u5229\u8bc1\u660e\u3002<\/p>\n<p>\u5982\u679c\u4f60\u5bf9\u8fd9\u5957\u514d\u8d39\u6307\u6807\u6216\u4ea4\u6613\u5206\u6790\u601d\u8def\u611f\u5174\u8da3\uff0c\u5e0c\u671b\u52a0\u5165\u4e3b\u56fe\u53e0\u52a0\u3001\u7a81\u7834\u56de\u8e29\u68c0\u6d4b\u3001\u4e2a\u6027\u5316 Alert\/Webhook \u6216\u98ce\u9669\u63a7\u5236\u529f\u80fd\uff0c\u53ef\u4ee5\u4e86\u89e3\u6211\u4eec\u7684 <a href=\"https:\/\/www.patternsmart.com\/cn\/custom\/\">\u4ea4\u6613\u8f6f\u4ef6\u5b9a\u5236\u5f00\u53d1\u670d\u52a1<\/a>\uff0c\u6b22\u8fce\u8054\u7cfb\u6211\u4eec\u8ba8\u8bba\u5b9a\u5236\u9700\u6c42\u3002<\/p>\n<p style=\"color:#6b7c8c;font-size:13px\"><em>\u672c\u6587\u4ec5\u4f9b\u6280\u672f\u5b66\u4e60\uff0c\u4e0d\u6784\u6210\u6295\u8d44\u5efa\u8bae\uff0c\u4e5f\u4e0d\u4fdd\u8bc1\u4ea4\u6613\u6536\u76ca\u3002\u8bf7\u5148\u5728\u81ea\u5df1\u7684 TradingView \u8d26\u6237\u4e2d\u68c0\u67e5\u4ee3\u7801\u80fd\u5426\u7f16\u8bd1\u5e76\u786e\u8ba4\u884c\u60c5\u548c\u53c2\u6570\uff0c\u518d\u8003\u8651\u7528\u4e8e\u771f\u5b9e\u4ea4\u6613\u5206\u6790\u3002<\/em><\/p>\n<\/p><\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>TradingView Pine Script v6 \u5e03\u6797\u5e26\u5bbd\u5ea6\u6536\u7f29\u4e0e\u91ca\u653e\uff1a\u6536\u76d8\u786e\u8ba4\u7684\u6ce2\u52a8\u7387\u4fe1\u53f7\u6307\u6807 \u4ea4\u6613\u5165\u95e8 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2572,"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":[142,233,217],"tags":[516,512,432,517],"class_list":["post-2571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tradingview","category-233","category-217","tag-bollinger-bands","tag-512","tag-tradingview","tag-517"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/www.patternsmart.com\/cn\/wp-content\/uploads\/2026\/11\/PS_TV_Bandwidth_CN_Fig1.png","_links":{"self":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/2571","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=2571"}],"version-history":[{"count":0,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/posts\/2571\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media\/2572"}],"wp:attachment":[{"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/media?parent=2571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/categories?post=2571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.patternsmart.com\/cn\/wp-json\/wp\/v2\/tags?post=2571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}