OPEN-SOURCE SCRIPT
Atualizado

Current Fractal High/Low (Dynamic)

2 871
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.
Notas de Lançamento
Width lines fixed
Notas de Lançamento
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.
Notas de Lançamento
# 📝 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)
Notas de Lançamento
# 📝 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)
Notas de Lançamento
⚠️ 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.

Aviso legal

As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.