OPEN-SOURCE SCRIPT
ที่อัปเดต: Current Fractal High/Low (Dynamic)

https://www.tradingview.com/x/u1e7ld4o/
This indicator dynamically tracks the most recent confirmed Fractal High and Fractal Low across any timeframe using custom left/right bar configurations.
🔍 Key Features:
Detects Fractal Highs and Lows based on user-defined pivot settings.
Draws a green line and label ("FH") at the most recent Fractal High.
Draws a red line and label ("FL") at the most recent Fractal Low.
All lines extend from the confirmation bar to the current candle.
Automatically removes old lines and labels for a clean, uncluttered chart.
🛠️ Customizable Inputs:
Left & Right bars for pivot sensitivity
Line width for visibility
📌 Use Cases:
Identifying structure shifts
Recognizing key swing points
Supporting liquidity and breakout strategies
💡 Fractals are confirmed only after the full formation of the pattern (left and right bars). This ensures reliability over reactivity.
This script is designed for intraday to swing traders who want a reliable way to visualize market turning points with minimal noise.
This indicator dynamically tracks the most recent confirmed Fractal High and Fractal Low across any timeframe using custom left/right bar configurations.
🔍 Key Features:
Detects Fractal Highs and Lows based on user-defined pivot settings.
Draws a green line and label ("FH") at the most recent Fractal High.
Draws a red line and label ("FL") at the most recent Fractal Low.
All lines extend from the confirmation bar to the current candle.
Automatically removes old lines and labels for a clean, uncluttered chart.
🛠️ Customizable Inputs:
Left & Right bars for pivot sensitivity
Line width for visibility
📌 Use Cases:
Identifying structure shifts
Recognizing key swing points
Supporting liquidity and breakout strategies
💡 Fractals are confirmed only after the full formation of the pattern (left and right bars). This ensures reliability over reactivity.
This script is designed for intraday to swing traders who want a reliable way to visualize market turning points with minimal noise.
เอกสารเผยแพร่
Width lines fixedเอกสารเผยแพร่
This script dynamically plots the most recent fractal high and low with labeled lines that adjust to the latest confirmation bar. Ideal for traders looking for structure shifts, liquidity levels, or intraday confluence setups. No repainting.เอกสารเผยแพร่
# 📝 Current Fractal High/Low (Dynamic) v2.3 – Changelog## ➕ Additions
- ✅ New option: **Enable Historical Fractals** – Displays past FH/FL levels using dashed lines.
- ✅ **Breakout Alert Conditions**: Alerts added for breakout of the most recent Fractal High and Low.
- ✅ **Inline Labels**: FH/FL labels now appear directly on the fractal lines.
- ✅ **Single Alert Toggle**: Option to trigger alerts only once per breakout.
- ✅ Codebase prepared for future features (e.g. fractal tagging, count limits).
## 🔧 Improvements
- 🔄 Fractal levels now update **only after a valid breakout**, not just when a new pivot is formed.
- 🧱 Improved variable scope handling (no redeclaration issues).
- 📦 Ready for migration to **Pine Script v6**.
## 🛠 Known Limitations / To-Do
- 🔹 No current option to limit historical fractals (e.g. show last 5 only).
- 🔹 FH/FL labels currently use text ("FH"/"FL") — numerical values may be added in a future update.
---
📌 Free to use with attribution. Developed by: [@astairwaytoprofit](stairwaytoprofit.com)
เอกสารเผยแพร่
# 📝 Current Fractal High/Low (Dynamic) v2.3 – Changelog## ➕ Additions
- ✅ New option: **Enable Historical Fractals** – Displays past FH/FL levels using dashed lines.
- ✅ **Breakout Alert Conditions**: Alerts added for breakout of the most recent Fractal High and Low.
- ✅ **Inline Labels**: FH/FL labels now appear directly on the fractal lines.
- ✅ **Single Alert Toggle**: Option to trigger alerts only once per breakout.
- ✅ Codebase prepared for future features (e.g. fractal tagging, count limits).
## 🔧 Improvements
- 🔄 Fractal levels now update **only after a valid breakout**, not just when a new pivot is formed.
- 🧱 Improved variable scope handling (no redeclaration issues).
- 📦 Ready for migration to **Pine Script v6**.
## 🛠 Known Limitations / To-Do
- 🔹 No current option to limit historical fractals (e.g. show last 5 only).
- 🔹 FH/FL labels currently use text ("FH"/"FL") — numerical values may be added in a future update.
---
📌 Free to use with attribution. Developed by: [@astairwaytoprofit](stairwaytoprofit.com)
เอกสารเผยแพร่
⚠️ This free version is now legacy and no longer maintained.Please use the new “Current Fractal High/Low (Dynamic) v2.3 (PRO)” script instead.
Search it in Indicators → Invite-only scripts and follow my profile for future updates.
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน
สคริปต์โอเพนซอร์ซ
ด้วยเจตนารมณ์หลักของ TradingView ผู้สร้างสคริปต์นี้ได้ทำให้เป็นโอเพนซอร์ส เพื่อให้เทรดเดอร์สามารถตรวจสอบและยืนยันฟังก์ชันการทำงานของมันได้ ขอชื่นชมผู้เขียน! แม้ว่าคุณจะใช้งานได้ฟรี แต่โปรดจำไว้ว่าการเผยแพร่โค้ดซ้ำจะต้องเป็นไปตาม กฎระเบียบการใช้งาน ของเรา
คำจำกัดสิทธิ์ความรับผิดชอบ
ข้อมูลและบทความไม่ได้มีวัตถุประสงค์เพื่อก่อให้เกิดกิจกรรมทางการเงิน, การลงทุน, การซื้อขาย, ข้อเสนอแนะ หรือคำแนะนำประเภทอื่น ๆ ที่ให้หรือรับรองโดย TradingView อ่านเพิ่มเติมใน ข้อกำหนดการใช้งาน