The indicator searches for the "Inside Bar" pattern and marks it on a chart. In the Inside Bar candlestick pattern, the right candlestick is inside the right candlestick, which is the determinant candlestick. It searches for formations, in which the internal candlestick of the pattern is not more than half the size of the determinant candlestick.
The formula for the bullish setup:
The formula for the bearish setup:
The indicator has no configurable parameters, since the pattern is determined based on the price action.
