OPEN-SOURCE SCRIPT
已更新 Strong Bullish And Bearish Engulfing Pattern

CONDITIONS:
🔹 1st Condition — Bullish Engulfing ➜ BUY
Previous Candle (Red): close[1] < open[1]
Current Candle (Green): close > open
Opens below previous red candle’s close: open < close[1]
Closes above previous red candle’s open: close > open[1]
➡️ Plot BUY below the green candle
🔸 2nd Condition — Bearish Engulfing ➜ SELL
Previous Candle (Green): close[1] > open[1]
Current Candle (Red): close < open
Opens above previous green candle’s close: open > close[1]
Closes below previous green candle’s open: close < open[1]
➡️ Plot SELL above the red candle
What this Script Does:
Detects Bullish Engulfing patterns ➜ plots BUY below the green candle.
Detects Bearish Engulfing patterns ➜ plots SELL above the red candle.
🔹 1st Condition — Bullish Engulfing ➜ BUY
Previous Candle (Red): close[1] < open[1]
Current Candle (Green): close > open
Opens below previous red candle’s close: open < close[1]
Closes above previous red candle’s open: close > open[1]
➡️ Plot BUY below the green candle
🔸 2nd Condition — Bearish Engulfing ➜ SELL
Previous Candle (Green): close[1] > open[1]
Current Candle (Red): close < open
Opens above previous green candle’s close: open > close[1]
Closes below previous green candle’s open: close < open[1]
➡️ Plot SELL above the red candle
What this Script Does:
Detects Bullish Engulfing patterns ➜ plots BUY below the green candle.
Detects Bearish Engulfing patterns ➜ plots SELL above the red candle.
發行說明
1st Condition — Bullish Engulfing (BUY):close[1] < open[1] (previous candle red)
close > open (current candle green)
open < close[1] (opens below red close)
close > open[1] (closes above red open)
volume >= user input (default: 2,000,000)
🔽 Plot "BUY" below green candle
2nd Condition — Bearish Engulfing (SELL):
close[1] > open[1] (previous candle green)
close < open (current candle red)
open > close[1] (opens above green close)
close < open[1] (closes below green open)
volume >= user input (default: 2,000,000)
🔼 Plot "SELL" above red candle
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。