Therefore I need a confirmation from experienced coders as to the implementability of my criteria with pine script.
Here's a couple of candlestick pattern signals I want to see in an indicator.
LONG signal #1: a printed green candle's tail crossing the preceding red's low price (i.e. green candle's low is equal to or below red candle's low => alert on close.
LONG signal #2: a printed green candle with tail crossing preceding green's open or low price => alert on close.