Here's mine, it's only for if you're comfortable editing the indicator and recompiling. It figures if the bar is black (close lower than open) or white (close higher than open), you can type in patterns to test against.
- open in editor
- find CodePatterns at top
- follow guidelines in comments
When pattern is found, indicator draws a blue spike over histogram. Dynamic info will show which pattern was found as 0-based index (unfortunately will show a "-" if it's the first because the indicator components do that instead of 0).
Enter as 1 or -1, and it will convert to the opposite for shorts. If you enter "1,1,1,-1,-1,-1" (w,w,w,b,b,b) for long entry, it will also include "-1,-1,-1,1,1,1" (b,b,b,w,w,w) for short entry.
To test naturally occurring patterns, click the "Search Mode" box, set the Length parameter to how many bars you want in your pattern. Then, use the Index parameter to step forward. This takes a sample from your dataset and tests against that pattern and its opposite. If clicking the stepper takes too long, you can also use the Optimizer with it, I tried it a couple of times, it seemed to work. But then if you like the pattern, have to look at the histogram to figure it out, I couldn't think of a way for it to display what the pattern is.
Mostly the same type of idea as Jagmanmick's, hopefully this approach saves some typing and makes the patterns easier to read. These are patterns of black - white bars, not comparing highs, lows and closes like ahmedalhoseny's idea.