OPEN-SOURCE SCRIPT
Reversal Candlestick Setups (Doji, Outside, Extreme, Wick)

Reversal Candlestick Setups – Doji, Outside, Extreme & Wick
This indicator identifies four high-probability reversal candlestick patterns across all timeframes: Doji Reversals, Outside Reversals, Extreme Reversals, and Wick Reversals. Each setup is based on clearly defined quantitative rules, allowing traders to filter noise and focus on strong reversal signals instead of relying on subjective visual interpretation.
The tool automatically scans every candle, highlights qualifying patterns on the chart, and provides alert options for both bullish and bearish versions of all four setups. This makes it suitable for intraday traders, swing traders, and positional traders seeking early reversal confirmation.
Included Setups
1. Doji Reversal Setup
Identifies candles with extremely small bodies relative to their range, combined with a smaller-than-average bar size. Useful for spotting market indecision before a directional shift.
2. Outside Reversal Setup
Flags candles that engulf the previous candle’s high–low range and exceed the average range by a multiplier. This is designed to capture strong momentum reversals driven by aggressive buying or selling.
3. Extreme Reversal Setup
Highlights large-bodied candles that dominate their overall range and exceed twice the average bar size. These signals aim to catch climactic exhaustion and institutional-level reversals.
4. Wick Reversal Setup
Detects candles with long rejection wicks, small bodies, and closes near an extreme of the range, supported by above-average bar size. Ideal for identifying sharp intrabar rejections.
Key Features
• Automatically detects all four reversal setups
• Works on all timeframes and symbols
• Customizable variables for deeper testing and optimization
• Clear bullish and bearish labels directly on the chart
• Fully integrated alert conditions for real-time notifications
• Suitable for crypto, stocks, indices, forex, and commodities
Who This Indicator Is For
• Traders who want objective, rule-based reversal detection
• Price action traders looking to enhance accuracy
• Systematic traders wanting quantifiable candlestick criteria
• Beginners learning reversal structures with visual guidance
• Professionals integrating reversal patterns into algorithmic or discretionary systems
How to Use
Add the indicator to your chart and enable alerts for the specific setups you want to track (e.g., “Bullish Wick Reversal”). Combine these signals with market structure, trend filters, volume analysis, or momentum indicators for increased conviction.
This indicator identifies four high-probability reversal candlestick patterns across all timeframes: Doji Reversals, Outside Reversals, Extreme Reversals, and Wick Reversals. Each setup is based on clearly defined quantitative rules, allowing traders to filter noise and focus on strong reversal signals instead of relying on subjective visual interpretation.
The tool automatically scans every candle, highlights qualifying patterns on the chart, and provides alert options for both bullish and bearish versions of all four setups. This makes it suitable for intraday traders, swing traders, and positional traders seeking early reversal confirmation.
Included Setups
1. Doji Reversal Setup
Identifies candles with extremely small bodies relative to their range, combined with a smaller-than-average bar size. Useful for spotting market indecision before a directional shift.
2. Outside Reversal Setup
Flags candles that engulf the previous candle’s high–low range and exceed the average range by a multiplier. This is designed to capture strong momentum reversals driven by aggressive buying or selling.
3. Extreme Reversal Setup
Highlights large-bodied candles that dominate their overall range and exceed twice the average bar size. These signals aim to catch climactic exhaustion and institutional-level reversals.
4. Wick Reversal Setup
Detects candles with long rejection wicks, small bodies, and closes near an extreme of the range, supported by above-average bar size. Ideal for identifying sharp intrabar rejections.
Key Features
• Automatically detects all four reversal setups
• Works on all timeframes and symbols
• Customizable variables for deeper testing and optimization
• Clear bullish and bearish labels directly on the chart
• Fully integrated alert conditions for real-time notifications
• Suitable for crypto, stocks, indices, forex, and commodities
Who This Indicator Is For
• Traders who want objective, rule-based reversal detection
• Price action traders looking to enhance accuracy
• Systematic traders wanting quantifiable candlestick criteria
• Beginners learning reversal structures with visual guidance
• Professionals integrating reversal patterns into algorithmic or discretionary systems
How to Use
Add the indicator to your chart and enable alerts for the specific setups you want to track (e.g., “Bullish Wick Reversal”). Combine these signals with market structure, trend filters, volume analysis, or momentum indicators for increased conviction.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.