OPEN-SOURCE SCRIPT

Cris0x7 - two consecutive engulfing

Updated
Cris0x7 - two consecutive engulfing

Explanation of Changes:
bullish_engulfing_signal and bearish_engulfing_signal now check for two consecutive engulfing pairs, meaning they look back over four candles.

The script identifies a "Buy" label (for bullish) and a "Sell" label (for bearish) when both conditions for two engulfing pairs are met.

This should work to detect and label four-candle patterns on the chart. Let me know if you need additional adjustments!
Release Notes
Explanation of Changes:
bullish_engulfing_signal and bearish_engulfing_signal now check for two consecutive engulfing pairs, meaning they look back over four candles.

The script identifies a "Buy" label (for bullish) and a "Sell" label (for bearish) when both conditions for two engulfing pairs are met.

This should work to detect and label four-candle patterns on the chart. Let me know if you need additional adjustments!
Release Notes
Cris0x7 - two consecutive engulfing
Candlestick analysisChart patternsPine utilities

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer