OPEN-SOURCE SCRIPT

Quasimodo

This indicator helps traders spot certain patterns on a price chart that might indicate a change in price direction. These patterns are known as "engulfing patterns."

How It Works1.
Bullish Engulfing Patterns:- The current bar (or candle) closes higher than it opens (it's a green or white candle).- The previous bar closed lower than it opened (it was a red or black candle).- The current bar's high is higher than the previous bar's high, and its low is lower than the previous bar's low.- There's another variation where both the current and previous bars are green, but the current bar is still higher and lower than the previous one.

2. Bearish Engulfing Patterns:- The current bar closes lower than it opens (it's a red or black candle).- The previous bar closed higher than it opened (it was a green or white candle).- The current bar's low is lower than the previous bar's low, and its high is higher than the previous bar's high.- There's another variation where both the current and previous bars are red, but the current bar is still higher and lower than the previous one.

What It Shows-

When the indicator spots one of these patterns, it colors the previous candle:-
Yellow for a bullish pattern (price might go up).-
Pink for a bearish pattern (price might go down).

Alerts- The indicator can also send an alert to let you know when it finds one of these patterns, so you don't miss it.
Candlestick AnalysisChart patterns

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