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)
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.
Script de código abierto
Fiel al espíritu de TradingView, el creador de este script lo ha convertido en código abierto, para que los traders puedan revisar y verificar su funcionalidad. ¡Enhorabuena al autor! Aunque puede utilizarlo de forma gratuita, recuerde que la republicación del código está sujeta a nuestras Normas internas.
Exención de responsabilidad
La información y las publicaciones no constituyen, ni deben considerarse como asesoramiento o recomendaciones financieras, de inversión, de trading o de otro tipo proporcionadas o respaldadas por TradingView. Más información en Condiciones de uso.