OPEN-SOURCE SCRIPT
Mis à jour

Top N Candle Highlighter

80
Track highest candle sizes on current timeframes. This short script:

1. Tracks the **top N largest candles** on the current chart
2. Option to use **body size** or **full candle range**
3. Highlights candles using `box.new()` (fully v6 compatible)
4. Optionally shows **rank and size labels**
5. Handles red, green, and doji candles differently with color

Notes de version
Highlights the top N largest candles on the chart by body or full range. Supports optional body-only highlighting and displays labels with rank and size. Works reliably in Pine Script v6 and updates dynamically as new bars form.

Clause de non-responsabilité

Les informations et publications ne sont pas destinées à être, et ne constituent pas, des conseils ou recommandations financiers, d'investissement, de trading ou autres fournis ou approuvés par TradingView. Pour en savoir plus, consultez les Conditions d'utilisation.