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提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。