OPEN-SOURCE SCRIPT

Bullish On Neck Candlestick pattern

Explanation:
1. Bullish Large Candle: The first candle is defined as bullish, where the closing price is much higher than the opening price. It also needs to have a large body (at least 60% of the total candle height).
2. Small Bearish Candle: The second candle is bearish and closes near the high of the previous bullish candle, with a relatively small body.
3. Bullish On Neck Detection: The script looks for this pattern where the bullish large candle is followed by a smaller bearish candle that closes near the first candle's high, indicating potential for a bullish breakout.
4. Plot: When the pattern is detected, the script places a green triangle above the bar to signal the bullish on neck pattern.
Candlestick analysisChart patterns

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer