OPEN-SOURCE SCRIPT
Ciera- Sweep Target Panel + Countdown PRO

This indicator is designed to help traders quickly understand how much movement may be left after a bullish or bearish sweep occurs. It combines sweep detection, target tracking, and a visual countdown system into one simple panel so you can make faster, more informed decisions without cluttering your chart.
How it works
In Auto Sweep mode, the script identifies sweeps using a simple and consistent rule:
Bullish sweep: price trades below the previous candle’s low and closes back above it
Bearish sweep: price trades above the previous candle’s high and closes back below it
Once a sweep is detected, the indicator:
references the candle before the sweep
sets a target (high for bullish, low for bearish)
calculates how many ticks or points remain to that target
displays a countdown bar showing how much of the move is left
This allows you to quickly judge whether there is still opportunity in the move or if price is already close to its target.
Countdown feature
The countdown bar provides a visual representation of remaining distance:
more filled blocks = more room left
fewer blocks = move is nearing completion
This helps reduce chasing entries and improves timing by showing when a move is almost finished.
Manual Mode (Full Control)
If you prefer to define your own levels, switch to Manual Levels mode.
You can manually input:
bullish reference and target levels
bearish reference and target levels
custom labels (example: “6 PM candle”, “session high”)
This is useful when your personal analysis differs from the script’s automatic sweep detection.
Important note about sweep detection
This indicator uses a previous-candle-based sweep, which is intentionally sensitive. Because of this, some detected sweeps may appear smaller or less obvious than traditional swing-based liquidity sweeps.
For best results, always verify the sweep visually before using the directional bias from the panel.
Features
Auto and Manual modes
Bullish and Bearish tracking
Remaining ticks / points calculation
Visual countdown bar
Clean panel layout for quick decision-making
Optional sweep markers and target lines
Chart bullish or bearish signals reset, after the target is met
Purpose
The goal of this tool is not to predict direction, but to help you understand how much opportunity is left in a move after a sweep, so you can avoid entering trades late and improve execution timing.
How it works
In Auto Sweep mode, the script identifies sweeps using a simple and consistent rule:
Bullish sweep: price trades below the previous candle’s low and closes back above it
Bearish sweep: price trades above the previous candle’s high and closes back below it
Once a sweep is detected, the indicator:
references the candle before the sweep
sets a target (high for bullish, low for bearish)
calculates how many ticks or points remain to that target
displays a countdown bar showing how much of the move is left
This allows you to quickly judge whether there is still opportunity in the move or if price is already close to its target.
Countdown feature
The countdown bar provides a visual representation of remaining distance:
more filled blocks = more room left
fewer blocks = move is nearing completion
This helps reduce chasing entries and improves timing by showing when a move is almost finished.
Manual Mode (Full Control)
If you prefer to define your own levels, switch to Manual Levels mode.
You can manually input:
bullish reference and target levels
bearish reference and target levels
custom labels (example: “6 PM candle”, “session high”)
This is useful when your personal analysis differs from the script’s automatic sweep detection.
Important note about sweep detection
This indicator uses a previous-candle-based sweep, which is intentionally sensitive. Because of this, some detected sweeps may appear smaller or less obvious than traditional swing-based liquidity sweeps.
For best results, always verify the sweep visually before using the directional bias from the panel.
Features
Auto and Manual modes
Bullish and Bearish tracking
Remaining ticks / points calculation
Visual countdown bar
Clean panel layout for quick decision-making
Optional sweep markers and target lines
Chart bullish or bearish signals reset, after the target is met
Purpose
The goal of this tool is not to predict direction, but to help you understand how much opportunity is left in a move after a sweep, so you can avoid entering trades late and improve execution timing.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.