OPEN-SOURCE SCRIPT

Volume Chart

145
This Pine Script indicator, written in TradingView’s version 6, visualizes trading volume as a custom candlestick chart instead of a standard histogram. Rather than plotting volume bars, it constructs synthetic candles where each candle’s "open" is set to the previous candle’s "close" (stored in prevClose). The "close" of the synthetic candle moves upward by the volume value if the actual price candle was bullish (close > open) and downward by the volume value if it was bearish, with the "high" and "low" both fixed to the open to create a flat candle body line. This transforms volume into a price-like cumulative visual flow, color-coded green for bullish and red for bearish periods, allowing traders to intuitively track whether volume pressure is accumulating upward or downward over time, as though volume itself were moving like a market price series.

면책사항

이 정보와 게시물은 TradingView에서 제공하거나 보증하는 금융, 투자, 거래 또는 기타 유형의 조언이나 권고 사항을 의미하거나 구성하지 않습니다. 자세한 내용은 이용 약관을 참고하세요.