First, you need a clear and precise defintion of a channel and how its formed, how it ends and how channels in the opposite direction overlap. Once you establish this with great certaintly, you could probably code up your own indicator.
What time frame are we talking?