OPEN-SOURCE SCRIPT
Bob Clean Signals

Bob Clean Signals marks pullback entries into market structure and into two
user-defined session ranges.
HOW IT WORKS
1. Structure zone: the script tracks the most recent confirmed pivot high and
pivot low (ta.pivothigh / ta.pivotlow, symmetrical length). When price closes
beyond one of them, that break defines a zone spanning the two pivots, and
the trend is set bullish or bearish. The zone is discarded when price closes
through the opposite side, or after N bars.
2. Session zones: at two configurable New York times (default 09:00 and 15:00),
the high and low of that bar become a range. The range only arms once price
has closed outside it.
3. Entry: price must retrace back into a zone between the Min and Max Pullback
levels (measured as a fraction of the zone's height), and the bar must close
as a rejection candle in the trend direction. A cooldown enforces a minimum
bar spacing between signals.
SETTINGS
Pivot Length — lookback each side for pivot confirmation.
Min / Max Pullback % — the retracement band that counts as a valid entry.
Invalidate Zone After N Bars — age limit on a structure zone.
First Touch Only — allow one signal per structure zone.
Zone 1 / Zone 2 Hour and Minute — session times in New York time.
Only Session Signals — suppress structure-based signals.
Min Bars Between Signals — cooldown.
NOTES
Session zones require an intraday chart. Pivots confirm Pivot Length bars after
they form, so a zone appears only after that confirmation; signals are evaluated
on the live bar and are final at bar close.
This is an indicator, not a strategy, and it does not backtest or measure
performance. It is for study and chart annotation only and is not financial
advice.
user-defined session ranges.
HOW IT WORKS
1. Structure zone: the script tracks the most recent confirmed pivot high and
pivot low (ta.pivothigh / ta.pivotlow, symmetrical length). When price closes
beyond one of them, that break defines a zone spanning the two pivots, and
the trend is set bullish or bearish. The zone is discarded when price closes
through the opposite side, or after N bars.
2. Session zones: at two configurable New York times (default 09:00 and 15:00),
the high and low of that bar become a range. The range only arms once price
has closed outside it.
3. Entry: price must retrace back into a zone between the Min and Max Pullback
levels (measured as a fraction of the zone's height), and the bar must close
as a rejection candle in the trend direction. A cooldown enforces a minimum
bar spacing between signals.
SETTINGS
Pivot Length — lookback each side for pivot confirmation.
Min / Max Pullback % — the retracement band that counts as a valid entry.
Invalidate Zone After N Bars — age limit on a structure zone.
First Touch Only — allow one signal per structure zone.
Zone 1 / Zone 2 Hour and Minute — session times in New York time.
Only Session Signals — suppress structure-based signals.
Min Bars Between Signals — cooldown.
NOTES
Session zones require an intraday chart. Pivots confirm Pivot Length bars after
they form, so a zone appears only after that confirmation; signals are evaluated
on the live bar and are final at bar close.
This is an indicator, not a strategy, and it does not backtest or measure
performance. It is for study and chart annotation only and is not financial
advice.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.
오픈 소스 스크립트
트레이딩뷰의 진정한 정신에 따라, 이 스크립트의 작성자는 이를 오픈소스로 공개하여 트레이더들이 기능을 검토하고 검증할 수 있도록 했습니다. 작성자에게 찬사를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 코드를 재게시하는 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
해당 정보와 게시물은 금융, 투자, 트레이딩 또는 기타 유형의 조언이나 권장 사항으로 간주되지 않으며, 트레이딩뷰에서 제공하거나 보증하는 것이 아닙니다. 자세한 내용은 이용 약관을 참조하세요.