Workshop 7 is just a sequence of highs, lows , close, independant of size, the aim is to identify patterns of high, low, close sequence with a prediction power of three days.
It also states "BTW, this strategy does not work", it is just an example.

So of course you can also do something more exact, e.g. with ranges, if(priceHigh()-priceLow() > ATR(4)) and so on.
One thing is rice candle patterns, the other thing is "patterns".

Patterns can be anything, it can also be, if price on wednesday is lower than on tuesday but higher than on monday.

BTW, the patterns in TA-LIB have the definition as they are delivered by the TA-LIB developers.
Of course you may still code your script to only take the one bigger than, or smaller than ... into account, or just the ones above or below a moving average, and so on.

Last edited by danatrader; 12/27/20 00:49.