OPEN-SOURCE SCRIPT
Candle Rush Pro

Candle Rush Pro highlights strong directional price moves formed by consecutive candles of the same direction.
The indicator tracks runs of bullish or bearish candles and measures the total price displacement of each run.
When the movement exceeds a user-defined threshold (in ticks/pipettes), it marks the chart with a clear visual signal.
🔹 Core features:
• Detects consecutive bullish and bearish candle runs
• Measures total displacement using Open–Close or High–Low range
• Signals only once per run (no repeated spam)
• Optional doji handling (ignore or break the run)
• Clean triangle markers anchored to candles
• Optional display of bar count per run
• Adjustable marker and text size
• Works on any timeframe and any symbol
• Non-repainting
🔹 Doji handling:
Users can choose whether doji candles should:
• Break the run
• Or be ignored (treated as neutral)
🔹 Typical use cases:
• Momentum detection
• Impulse move identification
• Breakout confirmation
• Trade filtering
• Market structure analysis
🔹 How it works:
A signal is plotted when:
• A minimum number of consecutive candles move in the same direction
• The total price displacement of the run exceeds the selected threshold
• The run has not already been signaled
This indicator does not predict direction.
It visually highlights significant directional price movement already in progress.
Best used together with:
• Trend filters
• Support & resistance
• Moving averages
• Market structure tools
The indicator tracks runs of bullish or bearish candles and measures the total price displacement of each run.
When the movement exceeds a user-defined threshold (in ticks/pipettes), it marks the chart with a clear visual signal.
🔹 Core features:
• Detects consecutive bullish and bearish candle runs
• Measures total displacement using Open–Close or High–Low range
• Signals only once per run (no repeated spam)
• Optional doji handling (ignore or break the run)
• Clean triangle markers anchored to candles
• Optional display of bar count per run
• Adjustable marker and text size
• Works on any timeframe and any symbol
• Non-repainting
🔹 Doji handling:
Users can choose whether doji candles should:
• Break the run
• Or be ignored (treated as neutral)
🔹 Typical use cases:
• Momentum detection
• Impulse move identification
• Breakout confirmation
• Trade filtering
• Market structure analysis
🔹 How it works:
A signal is plotted when:
• A minimum number of consecutive candles move in the same direction
• The total price displacement of the run exceeds the selected threshold
• The run has not already been signaled
This indicator does not predict direction.
It visually highlights significant directional price movement already in progress.
Best used together with:
• Trend filters
• Support & resistance
• Moving averages
• Market structure tools
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.