OPEN-SOURCE SCRIPT
Volume-Based Candle Shading

The [Top] Volume Shading indicator dynamically adjusts the color brightness of each price bar based on relative volume levels. It helps traders quickly identify whether a candle formed on low, average, or high volume without needing to reference a separate volume pane.
Candles are shaded dynamically as they form, so you can watch volume flow into them in real time. This indicator is designed to be as minimally intrusive as possible, allowing you to visualize volume levels without extra clutter on your charts.
The additional volume indicator in the preview above is there just for a point of reference to allow you to see how the shading on the bars correlates to the volume.
⸻
SETTINGS:
Candles with volume above average will appear darker or lighter depending on user preference, while those with average volume will be painted the chosen colors, giving an intuitive gradient that enhances volume awareness directly on the chart.
⸻
USES:
Candles are shaded dynamically as they form, so you can watch volume flow into them in real time. This indicator is designed to be as minimally intrusive as possible, allowing you to visualize volume levels without extra clutter on your charts.
The additional volume indicator in the preview above is there just for a point of reference to allow you to see how the shading on the bars correlates to the volume.
⸻
SETTINGS:
- Bullish and bearish base colors — These serve as the midpoint (average volume) for shading.
- Brightness mapping direction — Optionally invert the shading so that either high volume appears darker or lighter.
- Volume smoothing length — Defines how many bars are averaged to determine what constitutes “normal” volume.
Candles with volume above average will appear darker or lighter depending on user preference, while those with average volume will be painted the chosen colors, giving an intuitive gradient that enhances volume awareness directly on the chart.
⸻
USES:
- Confirming price action: Highlight when breakout candles or reversal bars occur with high relative volume, strengthening signal conviction.
- Spotting low-volume moves: Identify candles that lack volume support, potentially signaling weak continuation or false breakouts.
- Enhancing visual analysis: Overlay volume dynamics directly onto price bars, reducing screen clutter and aiding faster decision-making.
- Custom visual workflows: Adapt the visual behavior of candles to your trading style by choosing color direction and base tones.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.
Açık kaynak kodlu komut dosyası
Gerçek TradingView ruhuna uygun olarak, bu komut dosyasının oluşturucusu bunu açık kaynaklı hale getirmiştir, böylece yatırımcılar betiğin işlevselliğini inceleyip doğrulayabilir. Yazara saygı! Ücretsiz olarak kullanabilirsiniz, ancak kodu yeniden yayınlamanın Site Kurallarımıza tabi olduğunu unutmayın.
Feragatname
Bilgiler ve yayınlar, TradingView tarafından sağlanan veya onaylanan finansal, yatırım, işlem veya diğer türden tavsiye veya tavsiyeler anlamına gelmez ve teşkil etmez. Kullanım Şartları'nda daha fazlasını okuyun.