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.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.