OPEN-SOURCE SCRIPT
Auto-Anchored Pitchfork PRO [Point algo]

Auto-Anchored Pitchfork PRO
Auto-Anchored Pitchfork PRO automatically detects swing pivots and builds an Andrew’s Pitchfork structure without manual anchor selection. The script dynamically updates as new pivots form and supports multiple pitchfork variants.
Designed for traders who use market geometry and median line theory.
Core Features
1. Automatic Pivot Detection
2. Fork Variants Supported
Handle placement adjusts automatically depending on selected variant.
3.Projection Engine
Geometry Components:
The script plots:
A, B, and C pivot points are labeled automatically.
Alerts:
Optional alert conditions include:
Tolerance is configurable using ATR-based distance.
Inputs :
All parameters are adjustable.
Notes:
Pitchforks update when new pivots are confirmed.
Disclaimer:
Signals and alerts are informational only.
This script does not provide financial advice.
Users should test thoroughly before applying in live markets.
Auto-Anchored Pitchfork PRO automatically detects swing pivots and builds an Andrew’s Pitchfork structure without manual anchor selection. The script dynamically updates as new pivots form and supports multiple pitchfork variants.
Designed for traders who use market geometry and median line theory.
Core Features
1. Automatic Pivot Detection
- Uses configurable pivot lookback
- Continuously tracks recent swing highs and lows
- Builds pitchfork from the latest valid A-B-C structure
2. Fork Variants Supported
- Original Pitchfork
- Schiff
- Modified Schiff
Handle placement adjusts automatically depending on selected variant.
3.Projection Engine
- Extends fork lines forward by user-defined projection bars
- Width multiplier allows channel expansion or contraction
Geometry Components:
The script plots:
- Median Line (Handle → midpoint of B-C)
- Upper & Lower Parallel Lines
- Base Line (B → C)
- Optional Quartile Lines (0.5 levels)
- Optional Warning Lines (1x outside fork)
- Optional Trigger Lines (Handle → B and Handle → C)
A, B, and C pivot points are labeled automatically.
Alerts:
Optional alert conditions include:
- Touch Median (ATR tolerance based)
- Touch Upper / Lower
- Cross Above / Below Median
- Break Above Upper / Below Lower
Tolerance is configurable using ATR-based distance.
Inputs :
- Pivot Lookback
- Fork Variant
- Projection Length
- Width Multiplier
- Quartile / Warning / Trigger toggles
- ATR Length and Touch Tolerance
All parameters are adjustable.
Notes:
Pitchforks update when new pivots are confirmed.
Disclaimer:
Signals and alerts are informational only.
This script does not provide financial advice.
Users should test thoroughly before applying in live markets.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Unlock powerful tools & indicators → pointalgo.com
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Unlock powerful tools & indicators → pointalgo.com
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.