can I scan for engulfing pattern which is formed in btw the last 10 candle
@Streak can you.
You can scan for engulfing pattern if it is the current candle or the 5th last candle or the 50th last candle. But the position of the pattern needs to be specified.
Currently, you cannot create a condition that is to be checked with a range of candles where the offset is unknown.