OPEN-SOURCE SCRIPT

Gabriel Pennant Pattern Detector w/Breakout Target

91
Flagpole (teal line + label): sharp move ≥ min % detected directly before consolidation
Pennant: converging trendlines (falling red upper from 2 pivot highs, rising blue lower from 2 pivot lows), labeled, with compactness check vs flagpole
Bullish: "▲ BREAKOUT" above upper line; bearish mirror: "▼ BREAKDOWN" below lower line
Target: classic flagpole-height projection (or pennant height, selectable) — orange zone + price label + alert
Tunables: pole length/move %, pivot length, min/max pennant width, max depth %, zone width. Invalidates on wrong-side escape, apex without breakout, or age-out.

คำจำกัดสิทธิ์ความรับผิดชอบ

ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน