OPEN-SOURCE SCRIPT
已更新

Current Fractal High/Low (Dynamic)

2 892
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.
發行說明
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提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。