OPEN-SOURCE SCRIPT
Top Bottom Reversal Entries + Clean Timeframe TP

Top Bottom Reversal Entries + Clean Timeframe TP is a reversal-focused overlay designed to identify potential market tops and bottoms using a multi-factor scoring engine.
The script combines RSI behavior, wick rejection, swing liquidity sweeps, Bollinger Band extremes, candle structure, ATR-based range validation, optional volume filtering, and EMA context into one clean reversal framework.
It is built for traders who want a visual entry map for possible reversal zones, including clean ATR-based take-profit and stop-loss levels that automatically adapt to the active chart timeframe.
Key Features
Top & Bottom Reversal Detection
The indicator searches for possible reversal conditions after price reaches local extremes. It evaluates both long and short setups using a structured score system.
Multi-Factor Score Engine
Long and short signals are based on a combination of:
RSI overbought / oversold behavior
Wick rejection
Swing high or swing low sweeps
Bollinger Band extremes
Engulfing candle structure
Previous candle confirmation
ATR-based candle range validation
A signal is only triggered once the required score threshold is reached.
Liquidity Sweep Logic
The script detects when price takes out a previous swing high or swing low and then closes back inside the range, highlighting potential trap or reversal areas.
Wick Rejection Filter
Strong upper or lower wicks are used to identify rejection candles near potential tops or bottoms.
Bollinger Band Context
Optional Bollinger Bands help show when price is trading near statistical extremes.
EMA 200 Context Filter
The EMA can be displayed for trend context.
It can also be used as a soft or hard filter depending on the settings.
Optional Volume Filter
A volume filter can be enabled to require above-average volume during reversal setups.
Cooldown & Alternating Signals
To reduce chart noise, the indicator includes cooldown logic and an optional long/short alternation mode.
Clean TP / SL System
The script includes a clean visual take-profit and stop-loss system based on ATR.
When a long or short setup appears, the indicator can draw:
Entry line
TP1
TP2
TP3
Stop Loss
The TP and SL distances can be calculated in two ways:
Auto Timeframe Mode
Automatically adjusts ATR multipliers depending on the active chart timeframe.
Lower timeframes use tighter targets, while higher timeframes use wider targets.
Manual Mode
Allows full control over TP1, TP2, TP3, and SL ATR multipliers.
Old TP/SL levels can be cleared automatically when a new entry appears or once TP3 / SL is reached.
Signal Labels
The chart displays simple and clean labels:
L for possible bottom long setups
S for possible top short setups
Each label includes a tooltip with ticker, entry price, and setup score.
Alerts
The indicator includes alert conditions for:
Possible Bottom Long
Possible Top Short
It also triggers built-in alert messages once a confirmed setup appears on bar close.
How to Use
This indicator is designed as a reversal entry assistant, not as a fully automated trading system.
It can help traders identify areas where price may be forming a potential top or bottom, especially when multiple reversal factors align.
Typical use cases include:
Spotting possible bottom reversals after liquidity sweeps
Identifying possible top reversals after overextended moves
Mapping ATR-based profit targets and stop zones
Combining reversal labels with higher-timeframe context
Filtering trades using EMA 200, Bollinger Bands, or volume
For best results, use this tool together with your own market structure, session timing, liquidity, and risk management rules.
Notes
Signals are generated only after bar confirmation.
The TP/SL system is visual and based on ATR from the signal candle.
The indicator does not execute trades and does not guarantee that any target or stop will be reached.
The reversal score is designed to highlight confluence, not certainty.
Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice, trading recommendations, or guaranteed results. Always manage risk carefully and perform your own analysis before entering any trade.
The script combines RSI behavior, wick rejection, swing liquidity sweeps, Bollinger Band extremes, candle structure, ATR-based range validation, optional volume filtering, and EMA context into one clean reversal framework.
It is built for traders who want a visual entry map for possible reversal zones, including clean ATR-based take-profit and stop-loss levels that automatically adapt to the active chart timeframe.
Key Features
Top & Bottom Reversal Detection
The indicator searches for possible reversal conditions after price reaches local extremes. It evaluates both long and short setups using a structured score system.
Multi-Factor Score Engine
Long and short signals are based on a combination of:
RSI overbought / oversold behavior
Wick rejection
Swing high or swing low sweeps
Bollinger Band extremes
Engulfing candle structure
Previous candle confirmation
ATR-based candle range validation
A signal is only triggered once the required score threshold is reached.
Liquidity Sweep Logic
The script detects when price takes out a previous swing high or swing low and then closes back inside the range, highlighting potential trap or reversal areas.
Wick Rejection Filter
Strong upper or lower wicks are used to identify rejection candles near potential tops or bottoms.
Bollinger Band Context
Optional Bollinger Bands help show when price is trading near statistical extremes.
EMA 200 Context Filter
The EMA can be displayed for trend context.
It can also be used as a soft or hard filter depending on the settings.
Optional Volume Filter
A volume filter can be enabled to require above-average volume during reversal setups.
Cooldown & Alternating Signals
To reduce chart noise, the indicator includes cooldown logic and an optional long/short alternation mode.
Clean TP / SL System
The script includes a clean visual take-profit and stop-loss system based on ATR.
When a long or short setup appears, the indicator can draw:
Entry line
TP1
TP2
TP3
Stop Loss
The TP and SL distances can be calculated in two ways:
Auto Timeframe Mode
Automatically adjusts ATR multipliers depending on the active chart timeframe.
Lower timeframes use tighter targets, while higher timeframes use wider targets.
Manual Mode
Allows full control over TP1, TP2, TP3, and SL ATR multipliers.
Old TP/SL levels can be cleared automatically when a new entry appears or once TP3 / SL is reached.
Signal Labels
The chart displays simple and clean labels:
L for possible bottom long setups
S for possible top short setups
Each label includes a tooltip with ticker, entry price, and setup score.
Alerts
The indicator includes alert conditions for:
Possible Bottom Long
Possible Top Short
It also triggers built-in alert messages once a confirmed setup appears on bar close.
How to Use
This indicator is designed as a reversal entry assistant, not as a fully automated trading system.
It can help traders identify areas where price may be forming a potential top or bottom, especially when multiple reversal factors align.
Typical use cases include:
Spotting possible bottom reversals after liquidity sweeps
Identifying possible top reversals after overextended moves
Mapping ATR-based profit targets and stop zones
Combining reversal labels with higher-timeframe context
Filtering trades using EMA 200, Bollinger Bands, or volume
For best results, use this tool together with your own market structure, session timing, liquidity, and risk management rules.
Notes
Signals are generated only after bar confirmation.
The TP/SL system is visual and based on ATR from the signal candle.
The indicator does not execute trades and does not guarantee that any target or stop will be reached.
The reversal score is designed to highlight confluence, not certainty.
Disclaimer
This indicator is for educational and analytical purposes only.
It does not provide financial advice, trading recommendations, or guaranteed results. Always manage risk carefully and perform your own analysis before entering any trade.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.
Script open-source
Nello spirito di TradingView, l'autore di questo script lo ha reso open source, in modo che i trader possano esaminarne e verificarne la funzionalità. Complimenti all'autore! Sebbene sia possibile utilizzarlo gratuitamente, ricordiamo che la ripubblicazione del codice è soggetta al nostro Regolamento.
Declinazione di responsabilità
Le informazioni e le pubblicazioni non sono intese come, e non costituiscono, consulenza o raccomandazioni finanziarie, di investimento, di trading o di altro tipo fornite o approvate da TradingView. Per ulteriori informazioni, consultare i Termini di utilizzo.