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が提供または承認する金融、投資、取引、またはその他の種類の助言もしくは推奨であることを意図したものではなく、またこれらに該当するものでもありません。詳細は利用規約をご覧ください。