OPEN-SOURCE SCRIPT
Gabriel Falling & Rising Wedge Detector w/Breakout Price Target

How it works:
Resistance line (red dashed) from last 2 pivot highs; support line (blue dashed) from last 2 pivot lows — both must slope the same direction and converge (min convergence % tunable)
Breakout marker: purple "▲ BREAKOUT" label on close above resistance (falling wedge) or "▼ BREAKDOWN" below support (rising wedge)
Target zone: orange box + price label, projected either by wedge height at its widest point or back to the pattern start (selectable); zone width adjustable
Alerts fire with ticker, timeframe, breakout price, and target; wedge invalidates on wrong-side escape, apex reached without breakout, or age limit
Tunables: pivot length, min/max wedge width in bars, convergence %, per-direction toggles.
Resistance line (red dashed) from last 2 pivot highs; support line (blue dashed) from last 2 pivot lows — both must slope the same direction and converge (min convergence % tunable)
Breakout marker: purple "▲ BREAKOUT" label on close above resistance (falling wedge) or "▼ BREAKDOWN" below support (rising wedge)
Target zone: orange box + price label, projected either by wedge height at its widest point or back to the pattern start (selectable); zone width adjustable
Alerts fire with ticker, timeframe, breakout price, and target; wedge invalidates on wrong-side escape, apex reached without breakout, or age limit
Tunables: pivot length, min/max wedge width in bars, convergence %, per-direction toggles.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน