OPEN-SOURCE SCRIPT
已更新 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
版本注释
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
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。