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.
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發行說明
Update to include more options for the standard deviation and bar colors as well as added the ability to chose the volume source.發行說明
Added protection if the ticker does not exist on the chosen chart.發行說明
Bugfix for error caused by invalid tickerId免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。