OPEN-SOURCE SCRIPT
Atualizado Bullish/Bearish Engulf Candle Detector

Bullish/Bearish Engulf Candle Detector
What is an Engulfing Pattern?
An engulfing pattern is a two-candle reversal signal where the second candle's body completely engulfs the first candle's body, indicating a strong shift in market sentiment.
Bullish Engulfing — A large green candle's body fully engulfs the prior red candle's body, signaling a potential upside reversal
Bearish Engulfing — A large red candle's body fully engulfs the prior green candle's body, signaling a potential downside reversal
How to Use
Teal label below candle — Bullish engulfing detected, potential long opportunity
Red label above candle — Bearish engulfing detected, potential short opportunity
Trend Detection
Each engulfing candle's high or low acts as a key structural level. As long as price respects these levels, the trend remains intact. When price breaks above a prior bearish BE candle's high or below a prior bullish BE candle's low, it signals a trend change — reassess bias and look for entries in the new direction.
Trade Direction
During a bearish trend — only consider short entries on bearish BE candles. Ignore bullish BE signals until a prior bearish BE high is broken
During a bullish trend — only consider long entries on bullish BE candles. Ignore bearish BE signals until a prior bullish BE low is broken
Best Timeframes
Works on all timeframes. Most reliable on 5min
What is an Engulfing Pattern?
An engulfing pattern is a two-candle reversal signal where the second candle's body completely engulfs the first candle's body, indicating a strong shift in market sentiment.
Bullish Engulfing — A large green candle's body fully engulfs the prior red candle's body, signaling a potential upside reversal
Bearish Engulfing — A large red candle's body fully engulfs the prior green candle's body, signaling a potential downside reversal
How to Use
Teal label below candle — Bullish engulfing detected, potential long opportunity
Red label above candle — Bearish engulfing detected, potential short opportunity
Trend Detection
Each engulfing candle's high or low acts as a key structural level. As long as price respects these levels, the trend remains intact. When price breaks above a prior bearish BE candle's high or below a prior bullish BE candle's low, it signals a trend change — reassess bias and look for entries in the new direction.
Trade Direction
During a bearish trend — only consider short entries on bearish BE candles. Ignore bullish BE signals until a prior bearish BE high is broken
During a bullish trend — only consider long entries on bullish BE candles. Ignore bearish BE signals until a prior bullish BE low is broken
Best Timeframes
Works on all timeframes. Most reliable on 5min
Notas de Lançamento
Bullish/Bearish Engulf Candle DetectorWhat is an Engulfing Pattern?
An engulfing pattern is a two-candle reversal signal where the second candle's body completely engulfs the first candle's body, indicating a strong shift in market sentiment.
Bullish Engulfing — A large green candle's body fully engulfs the prior red or doji candle's body, signaling a potential upside reversal
Bearish Engulfing — A large red candle's body fully engulfs the prior green or doji candle's body, signaling a potential downside reversal
How to Use
Teal label below candle — Bullish engulfing detected, potential long opportunity
Red label above candle — Bearish engulfing detected, potential short opportunity
Trend Detection
Each engulfing candle's high or low acts as a key structural level. As long as price respects these levels, the trend remains intact. When price closes above a prior bearish BE candle's high or closes below a prior bullish BE candle's low, it signals a trend change — reassess bias and look for entries in the new direction.
Trade Direction
During a bearish trend — only consider short entries on bearish BE candles. Ignore bullish BE signals until a prior bearish BE high is broken
During a bullish trend — only consider long entries on bullish BE candles. Ignore bearish BE signals until a prior bullish BE low is broken
Dashboard
The built-in dashboard displays the current trend direction and valid trade side in real time, updating only on confirmed closed candles.
Best Timeframes
Works on all timeframes. Most reliable on 5min
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.
Script de código aberto
Em verdadeiro espírito do TradingView, o criador deste script o tornou de código aberto, para que os traders possam revisar e verificar sua funcionalidade. Parabéns ao autor! Embora você possa usá-lo gratuitamente, lembre-se de que a republicação do código está sujeita às nossas Regras da Casa.
Aviso legal
As informações e publicações não se destinam a ser, e não constituem, conselhos ou recomendações financeiras, de investimento, comerciais ou de outro tipo fornecidos ou endossados pela TradingView. Leia mais nos Termos de Uso.