OPEN-SOURCE SCRIPT

Double Inside Bar Finder

Updated
Highlights in blue when an inside bar follows an inside bar. Double inside bars (when used on the daily timeframe) are a way of easily finding equilibrium patterns (i.e. pennant shaped price action) on lower time frames. There is usually a strong move in whatever direction these patterns break, so good to have alerts set up for your favourite markets.
Release Notes
Fixed a code issue thanks to feedback from Indicator-Lover. Also added an option to change the relevant candle colours instead of having the vertical backgrounds as highlights.

In my experience OBV (or a similar volume-based indicator) is often a good technique to see which way an inside bar is going to break. If it's trending up over the past few bars go long, and vice versa for short
Release Notes
Fixed an offsetting issue
Release Notes
Fixed screenshot
Release Notes
Added an option to change highlight colour based on the second inside candle. If it's red then the highlight will be red and vice versa for green.
Candlestick Analysispricetrendtrading

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