OPEN-SOURCE SCRIPT
Average Candle Body (24h Rolling)

This indicator calculates the average size of candle bodies (|Close – Open|) over the last 24 hours, regardless of your current chart timeframe.
Unlike ATR or ADR, which measure total range (High – Low) or day-to-day volatility, this tool focuses purely on the real body size of candles — a more accurate representation of in-session price momentum and liquidity activity.
🔍 How it works
The script automatically determines how many candles represent the last 24 hours based on your current timeframe (e.g. 288 candles on a 5-minute chart).
It then computes a Simple Moving Average (SMA) of the absolute candle body size across that rolling 24-hour window.
Optionally, the script also plots the current candle body size as a grey histogram for quick comparison.
⚙️ Use cases
Gauge intraday volatility based on average body movement rather than wicks.
Build dynamic stop-loss models (e.g., Stop = 1.2 × AverageBodySize).
Detect periods of compression or expansion in price action.
Filter or confirm setups (e.g., only trade when candle bodies exceed their 24 h average).
📈 Displayed elements
Orange line: average candle body size (rolling 24 hours)
Grey histogram: current candle body size for each bar
Works automatically across all timeframes and assets (crypto, forex, indices, etc.)
💡 Pro tip
This indicator pairs exceptionally well with:
EMA-based momentum systems (e.g. EMA 8/21 crosses)
Session-based reversal or sweep strategies (Asia-London transitions)
VWAP or liquidity-based frameworks where candle compression matters
📘 How to Interpret
When the orange line (24h average candle body) is rising, it indicates that average body sizes are expanding — signaling increasing intraday momentum and participation. This often aligns with periods of higher volatility, stronger trends, or major session opens (London/New York).
When the orange line is falling, it shows contracting body sizes, meaning the market is entering consolidation, reduced volatility, or indecision. Such periods often precede major breakouts or reversals.
Use this reading to:
Avoid false breakouts during low-body periods.
Tighten or widen stops based on real-time market compression or expansion.
Confirm reversals: a shrinking average body after a strong impulse can signal momentum exhaustion.
Unlike ATR or ADR, which measure total range (High – Low) or day-to-day volatility, this tool focuses purely on the real body size of candles — a more accurate representation of in-session price momentum and liquidity activity.
🔍 How it works
The script automatically determines how many candles represent the last 24 hours based on your current timeframe (e.g. 288 candles on a 5-minute chart).
It then computes a Simple Moving Average (SMA) of the absolute candle body size across that rolling 24-hour window.
Optionally, the script also plots the current candle body size as a grey histogram for quick comparison.
⚙️ Use cases
Gauge intraday volatility based on average body movement rather than wicks.
Build dynamic stop-loss models (e.g., Stop = 1.2 × AverageBodySize).
Detect periods of compression or expansion in price action.
Filter or confirm setups (e.g., only trade when candle bodies exceed their 24 h average).
📈 Displayed elements
Orange line: average candle body size (rolling 24 hours)
Grey histogram: current candle body size for each bar
Works automatically across all timeframes and assets (crypto, forex, indices, etc.)
💡 Pro tip
This indicator pairs exceptionally well with:
EMA-based momentum systems (e.g. EMA 8/21 crosses)
Session-based reversal or sweep strategies (Asia-London transitions)
VWAP or liquidity-based frameworks where candle compression matters
📘 How to Interpret
When the orange line (24h average candle body) is rising, it indicates that average body sizes are expanding — signaling increasing intraday momentum and participation. This often aligns with periods of higher volatility, stronger trends, or major session opens (London/New York).
When the orange line is falling, it shows contracting body sizes, meaning the market is entering consolidation, reduced volatility, or indecision. Such periods often precede major breakouts or reversals.
Use this reading to:
Avoid false breakouts during low-body periods.
Tighten or widen stops based on real-time market compression or expansion.
Confirm reversals: a shrinking average body after a strong impulse can signal momentum exhaustion.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.
오픈 소스 스크립트
진정한 트레이딩뷰 정신에 따라 이 스크립트 작성자는 트레이더가 기능을 검토하고 검증할 수 있도록 오픈소스로 공개했습니다. 작성자에게 찬사를 보냅니다! 무료로 사용할 수 있지만 코드를 다시 게시할 경우 하우스 룰이 적용된다는 점을 기억하세요.
면책사항
이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.