OPEN-SOURCE SCRIPT
Volume Candle Coloring v5 (BARCOLOR STABLE)

Volume Candle Coloring v5 (Barcolor Stable) is a TradingView indicator that dynamically colors price candles based on relative volume intensity and candle direction.
The indicator compares the current volume to a moving average of volume and classifies it into five distinct levels: Low, Normal, High, Extreme, and Ultra. Each level is mapped to a clear, stable color scheme, ensuring excellent readability and no repainting or color flickering.
Bullish and bearish candles are colored separately, allowing traders to instantly identify:
Strong buying pressure
Strong selling pressure
Volume exhaustion
Low-interest / ranging conditions
The color priority is strictly ordered to guarantee stable bar coloring across all market conditions.
🔧 Key Features
Volume-based candle coloring using a moving average reference
Five volume intensity levels (Low → Ultra)
Separate color sets for bullish and bearish candles
Stable barcolor logic (no repainting, no shifting)
Fully customizable volume thresholds
Works on all markets and timeframes
🎯 Use Cases
Identify high-conviction breakouts
Spot volume climaxes and exhaustion
Confirm trend strength
Improve price action and volume analysis
⚙️ Inputs
Volume MA Period
Low / High / Extreme / Ultra volume multipliers
The indicator compares the current volume to a moving average of volume and classifies it into five distinct levels: Low, Normal, High, Extreme, and Ultra. Each level is mapped to a clear, stable color scheme, ensuring excellent readability and no repainting or color flickering.
Bullish and bearish candles are colored separately, allowing traders to instantly identify:
Strong buying pressure
Strong selling pressure
Volume exhaustion
Low-interest / ranging conditions
The color priority is strictly ordered to guarantee stable bar coloring across all market conditions.
🔧 Key Features
Volume-based candle coloring using a moving average reference
Five volume intensity levels (Low → Ultra)
Separate color sets for bullish and bearish candles
Stable barcolor logic (no repainting, no shifting)
Fully customizable volume thresholds
Works on all markets and timeframes
🎯 Use Cases
Identify high-conviction breakouts
Spot volume climaxes and exhaustion
Confirm trend strength
Improve price action and volume analysis
⚙️ Inputs
Volume MA Period
Low / High / Extreme / Ultra volume multipliers
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.
Mã nguồn mở
Theo đúng tinh thần TradingView, tác giả của tập lệnh này đã công bố nó dưới dạng mã nguồn mở, để các nhà giao dịch có thể xem xét và xác minh chức năng. Chúc mừng tác giả! Mặc dù bạn có thể sử dụng miễn phí, hãy nhớ rằng việc công bố lại mã phải tuân theo Nội quy.
Thông báo miễn trừ trách nhiệm
Thông tin và các ấn phẩm này không nhằm mục đích, và không cấu thành, lời khuyên hoặc khuyến nghị về tài chính, đầu tư, giao dịch hay các loại khác do TradingView cung cấp hoặc xác nhận. Đọc thêm tại Điều khoản Sử dụng.