Market Structure Identifier

Classify structure from sequence of highs and lows.

Higher highs + higher lows imply bullish structure; inverse implies bearish.