This indicator detects three kinds of price action patterns:
ii - consecutive inside bars ( high and low inside of the previous bar), triangle on a lower timeframe
oo - consecutive outside bars ( high above the high of the previous bar and the low below the low of the previous bar), expanding triangle on a lower timeframe
ioi - inside outside inside, diamond...