OPEN-SOURCE SCRIPT
Candle Shape

Candle Shape
This indicator visualizes rolling candles that aggregate price action over a chosen lookback period, allowing you to see how OHLC dynamics evolve in real time.
Instead of waiting for a higher timeframe (HTF) bar to close, you can track its development directly from a lower timeframe chart.
For example, view how a 1-hour candle is forming on a 1-minute chart — complete with rolling open, high, low, and close levels, as well as colored body and wick areas.
---
🔹 How it works
- Lookback Period (n) → sets the bucket size, defining how many bars are merged into a “meta-candle.”
- The script continuously updates the meta-open, meta-high, meta-low, and meta-close.
- Body and wick areas are filled with color, making bullish/bearish transitions easy to follow.
---
🔹 Use cases
- Monitor the intra-development of higher timeframe candles.
- Analyze rolling OHLC structures to understand how price dynamics shift across different aggregation windows.
- Explore unique perspectives for strategy confirmation, breakout anticipation, and market structure analysis.
---
✨ Candle Shape bridges the gap between timeframes and uncovers new layers of price interaction.
This indicator visualizes rolling candles that aggregate price action over a chosen lookback period, allowing you to see how OHLC dynamics evolve in real time.
Instead of waiting for a higher timeframe (HTF) bar to close, you can track its development directly from a lower timeframe chart.
For example, view how a 1-hour candle is forming on a 1-minute chart — complete with rolling open, high, low, and close levels, as well as colored body and wick areas.
---
🔹 How it works
- Lookback Period (n) → sets the bucket size, defining how many bars are merged into a “meta-candle.”
- The script continuously updates the meta-open, meta-high, meta-low, and meta-close.
- Body and wick areas are filled with color, making bullish/bearish transitions easy to follow.
---
🔹 Use cases
- Monitor the intra-development of higher timeframe candles.
- Analyze rolling OHLC structures to understand how price dynamics shift across different aggregation windows.
- Explore unique perspectives for strategy confirmation, breakout anticipation, and market structure analysis.
---
✨ Candle Shape bridges the gap between timeframes and uncovers new layers of price interaction.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。