Bullish Engulfing Low is an overlay indicator that marks a two-candle pattern: a bullish bar whose close is above the prior bar open and whose low stays above the prior low, after a bearish bar.
1Copy the scriptPress Copy script above, or the copy button on the code below.
2Open the Pine EditorOpen a TradingView chart and choose Pine Editor at the bottom of the screen.
3Paste over the templateCreate a new indicator, select all of the template text and paste. Press Save and give it a name.
4Add it to the chartPress Add to chart, then adjust the settings with the gear icon next to its name.
Source Code
44 lines of Pine Script v6 from Pine Scripts/Bullish Engulfing Low v2.txt, published under MPL-2.0 (file header). Keep the author's credit and licence lines when you reuse it.
Bullish Engulfing Low v2.txt
// This Pine Script™ code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// Originally by syndotc, modified by The_Dennish
//@version=6
indicator("Bullish Engulfing Low", overlay=true)
//// Check if the previous candle is bullish
isBullish = close > open
// Check if the current candle is bearish
isPreviousBearish = close[1] < open[1]
// Additional conditions
// isEngulfing = close < open[1] and high > high[1]
isEngulfing = close > open[1] and low > low[1]
// Detect bearish engulfing pattern
isBearishEngulfing = isBullish and isPreviousBearish and isEngulfing
// Plot horizontal line at the highest point of the engulfing candle
var line[] engulfingLines = array.new_line()
// Function to update line colors
updateLineColors() =>
for lineId in engulfingLines
linePrice = line.get_y1(lineId)
if close > linePrice
line.set_color(lineId, color.green)
else
line.set_color(lineId, color.red)
// Detect bearish engulfing pattern and create line
if isBearishEngulfing
newLine = line.new(x1=bar_index[1], y1=low[1], x2=bar_index + 1, y2=low[1],
color=close > high[1] ? color.green : color.red,
width=1,
extend=extend.right)
array.push(engulfingLines, newLine)
// Optional: Limit the number of stored lines to prevent memory issues
if array.size(engulfingLines) > 50 // Adjust this number as needed
line.delete(array.shift(engulfingLines))
// Update colors of all existing lines
updateLineColors()
Overview
When that condition is true it draws a right-extended horizontal line at the prior candle low. Line color turns green when price is above the level and red when it is below. At most fifty lines are kept. There are no inputs, alerts, or trade rules, and the pattern can change on the still-forming bar.
Third-party code. ForexR did not write, test or endorse this script, and the summary above was generated automatically from its code and README. Indicators describe the past, and a strategy's backtest can look better than live trading, especially when a script repaints. Check it in the Strategy Tester and on a demo account before you rely on it.
This indicator overlays up to five higher-timeframe candlestick groups on the price chart. For each enabled timeframe it requests open, high, low, and close and can show up to five candles, offset by a spacing setting. The main inputs set the candle count, the
This indicator plots optional candlestick pattern signals on the price chart. It detects engulfing bars, inside bars, HOLP and LOHP, kicker patterns, body-mass extremes, higher highs and lower lows, ATR warnings, and four-bar fractals. Optional pivot marks use
The Strat Assistant indicator identifies candlestick patterns from the STRAT methodology on the price chart. It detects inside bars, 2-candle directional bars, 3-candle outside bars, and sequences like 212 and 222 for continuations and reversals. Shapes such a
This overlay indicator highlights candles with a body smaller than 50% of their total range by coloring them white on the price chart. Simultaneously, it calculates and plots horizontal lines for open prices across multiple higher timeframes, such as daily, we
This Pine Script indicator identifies liquidity sweeps and confirms signals using a close-back candle pattern directly on the price chart. It tracks recent swing highs and lows over a customizable lookback period. A bullish signal forms when a prior bar sweeps
This overlay indicator draws 80/20 price levels and optional 40-point zone bands on the price chart. It marks repairs, cross sections, and forks with optional letter labels, and can highlight confluence when those marks sit near a level. Separate options shade