OPEN-SOURCE SCRIPT
Peak Rejection Levels

Peak Rejection Levels is a price-action–based indicator designed to automatically identify strong rejection levels at swing highs and swing lows.
It highlights areas where price attempted to move further but was firmly rejected, often acting as key support or resistance zones.
The indicator is especially useful for:
📈 What Is a “Peak Rejection”?
A peak rejection is defined using strict price-action rules:
🔺 Swing High Rejection (Resistance)
A swing high is marked as a rejection when:
🔻 Swing Low Rejection (Support)
A swing low is marked as a rejection when:
🧠 Key Features
It highlights areas where price attempted to move further but was firmly rejected, often acting as key support or resistance zones.
The indicator is especially useful for:
- Intraday and swing trading
- Identifying high-probability rejection zones
- Support/resistance mapping based on pure price action
- Confluence with trend, structure, or indicator-based strategies
📈 What Is a “Peak Rejection”?
A peak rejection is defined using strict price-action rules:
🔺 Swing High Rejection (Resistance)
A swing high is marked as a rejection when:
- The candle is a confirmed swing high
- The candle has an upper wick
- The upper wick is larger than the candle body
- The wick represents the highest price of the swing
- This indicates strong selling pressure and rejection from higher prices
🔻 Swing Low Rejection (Support)
A swing low is marked as a rejection when:
- The candle is a confirmed swing low
- The candle has a lower wick
- The lower wick is larger than the candle body
- The wick represents the lowest price of the swing
- This indicates strong buying pressure and rejection from lower prices
- When these conditions are met, the indicator draws a horizontal level at the rejection wick.
🧠 Key Features
- ✅ Works on any timeframe
- ✅ Non-repainting (uses confirmed swings)
- ✅ Automatically removes broken levels
- ✅ Automatically removes old levels based on time
- ✅ Clean and uncluttered chart output
- ✅ Pure price-action logic (no indicators, no lag)
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。
開源腳本
秉持TradingView一貫精神,這個腳本的創作者將其設為開源,以便交易者檢視並驗證其功能。向作者致敬!您可以免費使用此腳本,但請注意,重新發佈代碼需遵守我們的社群規範。
免責聲明
這些資訊和出版物並非旨在提供,也不構成TradingView提供或認可的任何形式的財務、投資、交易或其他類型的建議或推薦。請閱讀使用條款以了解更多資訊。