OPEN-SOURCE SCRIPT

Volume Z-Score Bar Color

已更新
A simple script help you identify significant upticks in volume for a particular candle.

Using the standard z-score calculation you can change the bar color based on the user selected standard deviation range.

Calculation
z = (x - μ) / σ, where:
z: is the z-score
x: is the current volume
μ: is the mean volume
σ: is the standard deviation

Options include setting the bottom and top end of the deviation range. This will allow you to see a moderated uptick in volume as well as an extreme uptick. You can also choose the colors for the moderate bull/bear volume and extreme bull/bear volume.
版本注释
Updated option to chose median or mean as the averaging calculation
版本注释
Added volume bars that change colors along with the chart.
版本注释
Code clean up.
版本注释
Updating formatting to condense the volume scale
Volume

开源脚本

本着真正的TradingView精神,此脚本的作者已将其开源,以便交易者可以理解和验证它。向作者致敬!您可以免费使用它,但在出版物中重复使用此代码受网站规则约束。 您可以收藏它以在图表上使用。

想在图表上使用此脚本?

免责声明