OPEN-SOURCE SCRIPT

Per-Candle High-Low Box + Midline

262
Draws a translucent box from each candle’s high to low over a configurable lookback, plus a dotted horizontal line at the midpoint (high + low) / 2.

Each box extends indefinitely to the right so prior candle ranges stay visible as price develops. Midlines use a long finite extension so the dotted style renders correctly.

Inputs

Lookback bars — how many recent candles get a box and midline
Midline extend (bars) — how far the dotted midlines reach into future space
Colors and line width for boxes and midlines
Useful for seeing each bar’s range and equilibrium level at a glance, and how later price interacts with those levels.

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.