OPEN-SOURCE SCRIPT
Atualizado 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.
Notas de Lançamento
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
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
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.
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
The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.