OPEN-SOURCE SCRIPT
Cập nhật 50% Wick Detector + ATR Filter

This indicator highlights candles where the upper or lower wick is at least 50% of the candle’s total range. It is designed to help identify potential liquidity sweeps, rejection candles, and price action reversal zones.
To reduce noisy signals, the indicator also uses an ATR filter. By default, the candle must be at least 100% of ATR, meaning the full candle range must be equal to or greater than the Average True Range.
The ATR period automatically adjusts based on the chart timeframe:
Below 1 hour: ATR(100)
1 hour to 4 hours: ATR(50)
Above 4 hours: ATR(14)
In simple terms, the indicator adjusts the ATR period — the number of candles used in the ATR calculation — depending on the timeframe, so lower timeframes use more candles to smooth out noise, while higher timeframes use fewer candles to stay responsive.
To reduce noisy signals, the indicator also uses an ATR filter. By default, the candle must be at least 100% of ATR, meaning the full candle range must be equal to or greater than the Average True Range.
The ATR period automatically adjusts based on the chart timeframe:
Below 1 hour: ATR(100)
1 hour to 4 hours: ATR(50)
Above 4 hours: ATR(14)
In simple terms, the indicator adjusts the ATR period — the number of candles used in the ATR calculation — depending on the timeframe, so lower timeframes use more candles to smooth out noise, while higher timeframes use fewer candles to stay responsive.
Phát hành các Ghi chú
**50% Wick Detector + ATR Filter**This indicator highlights candles where the upper or lower wick is at least 50% of the candle's total range. It is designed to help identify potential liquidity sweeps, rejection candles, stop hunts, and price action reversal zones.
A wick representing at least half of a candle's total range often indicates strong rejection of price or liquidity being absorbed at that level.
To reduce noisy signals, the indicator also applies an ATR (Average True Range) filter. By default, a candle's total range must be at least equal to 100% of ATR before a signal is generated, helping filter out smaller, less significant candles.
The ATR filter is calculated using the previous completed candle so the current candle does not influence the volatility benchmark it is being measured against.
The ATR period automatically adjusts based on the chart timeframe:
* Below 1 hour: ATR(100)
* 1 hour to 4 hours: ATR(50)
* Above 4 hours: ATR(14)
This adaptive approach smooths out noise on lower timeframes while remaining responsive on higher timeframes.
The indicator includes TradingView alerts, allowing you to receive notifications whenever a qualifying upper or lower wick is detected.
This indicator is intended as a price action tool and works well alongside support and resistance, market structure, volume analysis, and other technical analysis techniques. It is not intended to be used as a standalone trading signal.
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.