OPEN-SOURCE SCRIPT

Volume-Based Candle Shading

174
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:
  • 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.

免責聲明

這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。