
A custom TradingView indicator that detects Bullish and Bearish Harami candlestick patterns with configurable timeframes and sensitivity settings for precise pattern recognition.
Explore complementary indicator rolesHow it works
The Harami pattern detector analyzes consecutive candlesticks to identify potential trend reversals by examining the relative size and positioning of candle bodies. It first checks the specified timeframe and compares current and previous candlesticks against predefined pattern criteria, looking for specific relationships between bullish and bearish candles.
The script uses custom input parameters to allow traders to adjust pattern detection sensitivity by defining the number of prior bearish or bullish candles to consider. When a valid Harami pattern is detected, the indicator plots visual labels on the chart, with green labels signaling bullish reversals and red labels indicating bearish reversals.
Why it may be useful
Candlestick pattern recognition provides traders with critical insights into potential market sentiment shifts and trend reversals. By systematically identifying Harami patterns, traders can gain a structured approach to anticipating potential price movements and making more informed trading decisions.
The customizable nature of this indicator allows traders to adapt the pattern detection to different market conditions and trading styles. Its flexibility enables users to fine-tune sensitivity and timeframe settings, making it a versatile tool for traders seeking to incorporate technical analysis and candlestick pattern recognition into their trading strategy.
When to explore it
The Harami pattern detector works best in markets with clear trending behaviors and moderate volatility, where candlestick patterns can provide meaningful insights into potential trend reversals. Traders should ideally use this indicator in conjunction with other technical analysis tools to confirm signals and reduce false positives.
It is particularly useful for traders who want to identify potential entry and exit points during market transitions, such as when a strong trend might be losing momentum. The indicator's adaptability makes it suitable for various financial instruments and timeframes, from forex and stocks to cryptocurrencies and commodities.
Keep exploring
What we’ve verified
Access, alerts and repainting behaviour have not been independently verified for this indicator. Check the creator’s current publication and settings.
General descriptions and classifications are recovered research. Verified details above identify the specific checks we have completed. Check the creator’s current publication for later changes.


![Inside Bar + Bullish and Bearish candlestick [Tarun] chart preview](https://s3.tradingview.com/t/Td2iebSA.png?v=1713957888)

