• 产品
  • 社区
  • 市场
  • 经纪商
  • 更多
开始
  • 社区
  • /指标和策略
  • /Rectanglepattern

Rectanglepattern

Pivot Pattern Boundaries [cajole] This script automatically detects horizontal support / resistance levels based on user-programmable criteria. For example, you can detect boundaries with >3 touches within 200 days, allowing a tolerance of 1/4*ATR. "Touches" are defined from pivots on the chart. The best way to search for larger/smaller patterns is to increase/decrease the pivot size.* Future versions will allow "exceptions (i.e. keep drawing the horizontal line even if it is breached once or twice). *TradingView's Pine script defines a Pivot as the highest point in a group. So, entering "2" means that a day's high needs to be above 2 days before and after (xxYxx) to be considered a high pivot. This script can be an aid in drawing multiple patterns with horizontal boundaries (rectangles, triangles, head and shoulders, cup & handles, VCPs). I have intentionally avoided trying to code detection of the "other side" of these patterns, as that is where the craft of charting becomes an art.
Pine Script®指标
由cajole提供
11

选择由ICE数据服务提供的市场数据。选择由FactSet提供的参考数据。版权所有 © 2025 FactSet Research Systems Inc. © 2025 TradingView, Inc.

不仅是产品
  • 超级图表
筛选器
  • 股票
  • ETFs
  • 债券
  • 加密货币
  • CEX对
  • DEX对
  • Pine
热图
  • 股票
  • ETFs
  • 加密货币
日历
  • 经济
  • 收益
  • 股利
更多产品
  • 收益率曲线
  • 期权
  • 新闻流
  • Pine Script®
应用程序
  • 移动版
  • 电脑版
社区
  • 社交网络
  • 爱心墙
  • 推荐朋友
  • 网站规则
  • 版主
观点
  • 交易
  • 教学
  • 编辑精选
Pine脚本
  • 指标和策略
  • 大师
  • 自由开发人员
工具和订阅
  • 功能特色
  • 价格
  • 市场数据
交易
  • 概览
  • 经纪商
特别优惠
  • CME集团期货
  • Eurex期货
  • 美国股票包
关于公司
  • 我们是谁
  • 太空任务
  • 博客
  • 职涯
  • 媒体工具包
商品
  • TradingView商店
  • 交易者塔罗牌
  • C63 TradeTime
政策和安全
  • 使用条款
  • 免责声明
  • 隐私政策
  • Cookies政策
  • 无障碍声明
  • 安全提示
  • 漏洞赏金计划
  • 状态页面
商业解决方案
  • 插件
  • 图表库
  • Lightweight Charts™
  • 高级图表
  • 交易平台
成长机会
  • 广告
  • 经纪业务集成
  • 合作伙伴计划
  • 教育计划
社区
  • 社交网络
  • 爱心墙
  • 推荐朋友
  • 网站规则
  • 版主
观点
  • 交易
  • 教学
  • 编辑精选
Pine脚本
  • 指标和策略
  • 大师
  • 自由开发人员
商业解决方案
  • 插件
  • 图表库
  • Lightweight Charts™
  • 高级图表
  • 交易平台
成长机会
  • 广告
  • 经纪业务集成
  • 合作伙伴计划
  • 教育计划
Look FirstLook First