• 產品
  • 社群
  • 市場
  • 經紀商
  • 更多
立即開始
  • 社群
  • /指標和策略
  • /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 Data提供的市場數據。選擇由FactSet提供的參考數據。版權所有©2025FactSet Research Systems Inc.©2025TradingView, Inc.

不僅是產品
  • 超級圖表
篩選器
  • 股票
  • ETF
  • 債券
  • 加密貨幣
  • 加密貨幣對
  • CEX對
  • DEX對
  • Pine
熱圖
  • 股票
  • ETF
  • 加密貨幣
日曆
  • 經濟
  • 收益
  • 股息
更多產品
  • 殖利率曲線
  • 期權
  • 新聞流
  • Pine Script®
  • 精選股
App
  • 行動裝置
  • 電腦版
工具與訂閱
  • 功能特色
  • 價格
  • 市場數據
特別優惠
  • CME期貨
  • Eurex期貨
  • 美國股票包
關於公司
  • 我們是誰
  • 宣言
  • 運動員
  • 部落格
  • 職涯
  • 媒體工具包
商品
  • TradingView商店
  • 交易者塔羅牌
政策與安全
  • 使用條款
  • 免責聲明
  • 隱私政策
  • Cookies政策
  • 無障礙聲明
  • 安全漏洞
  • 狀態頁面
社群
  • 社交網路
  • 愛心牆
  • 推薦朋友
  • 網站規則
  • 版主
投資想法
  • 交易
  • 教育
  • 編輯精選
Pine腳本
  • 指標與策略
  • 大師
  • 自由開發人員
企業解決方案
  • 小工具
  • 圖表庫
  • Lightweight Charts™
  • 高級圖表
  • 交易平台
成長機會
  • 廣告
  • 經紀商整合
  • 夥伴計畫
  • 教育計劃
Look FirstLook First