OPEN-SOURCE SCRIPT

Streak-Range Probability

1 304
Streak × Range Probability tracks two things simultaneously for every candle: how long the current green/red streak is, and how large the candle's range is relative to price.
The range is bucketed into 4 configurable size categories (S/M/L/H) based on the full high-low range as a percentage of price. The thresholds are user-defined, so the indicator adapts to any instrument and timeframe.
Looking back up to 500 candles, it builds a historical probability table showing how often a streak of a given length continued after candles of each range size — broken down as 2→3, 3→4, and 4→5+ continuation rates per bucket.
The purpose is purely observational — to explore whether there is a measurable relationship between candle range size and streak continuation behavior. It is not a trading or betting strategy, and the probabilities shown are historical patterns only so prediction is only hypothetical as suggestion.

Wyłączenie odpowiedzialności

Informacje i publikacje nie stanowią i nie powinny być traktowane jako porady finansowe, inwestycyjne, tradingowe ani jakiekolwiek inne rekomendacje dostarczane lub zatwierdzone przez TradingView. Więcej informacji znajduje się w Warunkach użytkowania.