PROTECTED SOURCE SCRIPT
Cập nhật Confirmation Filter

Confirmation Filter – BOS + Follow-Through
Confirmation Filter is a structure tool that only marks validated shifts in price delivery, not every break of structure.
The script:
Builds swing structure from pivots
Identifies the swing low that carried the last bullish leg and the swing high that carried the last bearish leg
Waits for a close through that key swing (your usual BOS)
Then requires follow-through:
Bearish: within N bars, price makes a new low below the break candle’s low
Bullish: within N bars, price makes a new high above the break candle’s high
Only when this follow-through occurs does the indicator print a Confirmation Bullish / Confirmation Bearish line from the originating swing.
Why use it
Filters out many “one-bar” fake BOS moves
Highlights only those breaks that actually extend in the same direction
Keeps the chart clean by tracking a single confirmed state at a time
Inputs
Pivot length – sensitivity of swing detection
Line extension bars – how far the confirmation level is projected
Max bars for follow-through – window (in bars) within which price must extend beyond the break candle
Show labels – toggle on-chart text tags
Best used together with your own BOS / structure tools:
BOS = first break
Confirmation Filter = breaks that proved themselves with follow-through.
Confirmation Filter is a structure tool that only marks validated shifts in price delivery, not every break of structure.
The script:
Builds swing structure from pivots
Identifies the swing low that carried the last bullish leg and the swing high that carried the last bearish leg
Waits for a close through that key swing (your usual BOS)
Then requires follow-through:
Bearish: within N bars, price makes a new low below the break candle’s low
Bullish: within N bars, price makes a new high above the break candle’s high
Only when this follow-through occurs does the indicator print a Confirmation Bullish / Confirmation Bearish line from the originating swing.
Why use it
Filters out many “one-bar” fake BOS moves
Highlights only those breaks that actually extend in the same direction
Keeps the chart clean by tracking a single confirmed state at a time
Inputs
Pivot length – sensitivity of swing detection
Line extension bars – how far the confirmation level is projected
Max bars for follow-through – window (in bars) within which price must extend beyond the break candle
Show labels – toggle on-chart text tags
Best used together with your own BOS / structure tools:
BOS = first break
Confirmation Filter = breaks that proved themselves with follow-through.
Phát hành các Ghi chú
Description“Confirmation + Stop-Loss” identifies true structural breaks and filters out fake BOS signals.
The script detects a valid confirmation only when price both breaks a swing level and delivers beyond it. After confirmation, it plots an objective, structure-based stop-loss taken from the meaningful extreme of the break-leg.
No noise, no guessing. Just clean confirmation and a precise invalidation level.
Mã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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ã được bảo vệ
Tập lệnh này được đăng dưới dạng mã nguồn đóng. Tuy nhiên, bạn có thể sử dụng tự do và không giới hạn – tìm hiểu thêm tại đây.
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.