Indicator looks for inside candle on 3 timeframes. Chart's default timeframe and 2 higher timeframes to spot Inside candle on any of these timeframes.
Main purpose was to look at multiple inside candle at multiple timeframes to identify consolidation within consolidation and implement intraday, hence for 15min chart timeframe.
However, code works for all timeframes from 5 min to quarterly and higher timeframes will be picked automatically.