OPEN-SOURCE SCRIPT
Per-Candle High-Low Box + Midline

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.
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.
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。
开源脚本
秉承TradingView的精神,该脚本的作者将其开源,以便交易者可以查看和验证其功能。向作者致敬!您可以免费使用该脚本,但请记住,重新发布代码须遵守我们的网站规则。
免责声明
这些信息和出版物并非旨在提供,也不构成TradingView提供或认可的任何形式的财务、投资、交易或其他类型的建议或推荐。请阅读使用条款了解更多信息。