From what I can tell from this screenshot and your screenshot of the parameters, it looks like you're trying to use the "Engulfing" candlestick pattern that's built into TOS. If you right-click and select "view" on that study, you'll see this:
Code:
def BodyMax = Max(open, close);
def BodyMin = Min(open, close);
def IsEngulfing = BodyMax > BodyMax[1] and
BodyMin < BodyMin[1];
def IsWhite = open < close;
def IsBlack = open > close;
def IsPrevDoji = IsDoji(length)[1];
plot Bearish = IsAscending(close, trendSetup)[1] and
(IsWhite[1] or IsPrevDoji) and
IsBlack and
IsEngulfing;
plot Bullish = IsDescending(close, trendSetup)[1] and
(IsBlack[1] or IsPrevDoji) and
IsWhite and
IsEngulfing;
If you look at the definition of the IsEngulfing parameter, it requires a bearish engulfing candle to have an open greater than the open of the previous candle, and a close lower than the previous close.
Your screenshot is very zoomed in so I can't tell for sure but it looks like the open of the engulfing candle that you want is lower than the open of the candle before it, which is why it's not getting flagged here. If you wanted to fix this, you'd have to copy the code in the study and adjust it yourself or look at some of the existing studies on this website that detect engulfing candles.