OPEN-SOURCE SCRIPT
Updated

Equal High and Low Finder

1 821
The Matching Close / Equal High Low Finder indicator identifies candles within a specified lookback period that have matching close prices while satisfying specific conditions:

Matching Candle Types:

Only matches bullish candles (close > open) with other bullish candles.
Only matches bearish candles (close < open) with other bearish candles.
Intermediate Candle Condition:

Bullish matches: No intermediate candle between the two matching candles can have a higher close price than the first candle.
Bearish matches: No intermediate candle between the two matching candles can have a lower close price than the first candle.
Gap Between Matches: Ensures at least one intermediate candle exists with a close price different from the matched candles.

Customizable Features:

Adjustable lookback period.
Configurable line style, width, and colors for bullish and bearish matches.
This indicator visually connects the matching candles with lines, offering a clear visual cue for price behavior.
Release Notes
The Matching Close or Equal High Low Finder indicator identifies candles within a specified lookback period that have matching close prices while satisfying specific conditions:

Matching Candle Types:

Only matches bullish candles (close > open) with other bullish candles.
Only matches bearish candles (close < open) with other bearish candles.
Intermediate Candle Condition:

Bullish matches: No intermediate candle between the two matching candles can have a higher close price than the first candle.
Bearish matches: No intermediate candle between the two matching candles can have a lower close price than the first candle.
Gap Between Matches: Ensures at least one intermediate candle exists with a close price different from the matched candles.

Customizable Features:

Adjustable lookback period.
Configurable line style, width, and colors for bullish and bearish matches.
This indicator visually connects the matching candles with lines, offering a clear visual cue for price behavior.

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.