OPEN-SOURCE SCRIPT

3-Candle HH/HL or LH/LL (Number Labels Over Candles)

125
What This Script Does:
This Pine Script detects 3 consecutive candlesticks that show:

Higher Highs and Higher Lows → a bullish structure

Lower Highs and Lower Lows → a bearish structure

When such a pattern is found, the script:

Marks each of the 3 candles with a number: 1, 2, and 3

Labels appear centered on each candle (at the close price)

You can adjust:

Label size (tiny → huge)

Background color (bullish/bearish)

Text color

Example:
If candles form:

Candle A: higher high & higher low

Candle B: higher than A

Candle C: higher than B

Then you’ll see 1, 2, 3 labels on those candles in green (or your selected color).

Same goes for a bearish pattern in red.

Feragatname

Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.