OPEN-SOURCE SCRIPT
Updated Bull/Bear Engulf High Low Lookup

Allows to specify the high and low look-back period for both Bullish and Bearish engulfing candles. In essence, it is an extension of the classical engulf pattern. By default lookback period is set to 3.
Can be used on any time-frame and any instrument. Previous candle is irrelevent.
An engulfing candle is defined as follows:
Bullish: Must trade BELOW prior candle LOW and close ABOVE prior candle HIGH
Bullish: Must trade ABOVE prior candle HIGH and close BELOW prior candle LOW
Can be used on any time-frame and any instrument. Previous candle is irrelevent.
An engulfing candle is defined as follows:
Bullish: Must trade BELOW prior candle LOW and close ABOVE prior candle HIGH
Bullish: Must trade ABOVE prior candle HIGH and close BELOW prior candle LOW
Release Notes
Updated CommentaryRelease Notes
This version has been deprecated. Use the new version provided above.Release Notes
...Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
Disclaimer
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.