OPEN-SOURCE SCRIPT

Pullback Marker (Inside Bars Ignored) by Shadow Quant Trader

2 302
Pullback Marker (Inside Bars Ignored)

This indicator is designed to identify pullback highs and pullback lows while completely ignoring inside bars.

How it works:

Every inside bar is skipped from the counting logic.
If multiple candles remain inside the range of the mother candle, all of them are ignored until a real breakout candle appears.
The indicator then evaluates only the real candles, not the inside bars.
Pullback high logic:

A pullback high is marked when the middle real candle forms the highest high compared to the candles before and after it.
If the next candle has the same high, the indicator waits.
If a later real candle then forms a lower high, the first candle of that equal-high sequence is marked as the pullback high.
Pullback low logic:

A pullback low is marked when the middle real candle forms the lowest low compared to the candles before and after it.
If the next candle has the same low, the indicator waits.
If a later real candle then forms a higher low, the first candle of that equal-low sequence is marked as the pullback low.
Features:

Ignores all inside bars in a mother-candle chain
Marks only valid pullback highs and lows
Handles equal-high and equal-low cases correctly
Uses arrows placed close to candles for clear chart reading

Haftungsausschluss

Die Informationen und Veröffentlichungen sind nicht als Finanz-, Anlage-, Handels- oder andere Arten von Ratschlägen oder Empfehlungen gedacht, die von TradingView bereitgestellt oder gebilligt werden, und stellen diese nicht dar. Lesen Sie mehr in den Nutzungsbedingungen.