OPEN-SOURCE SCRIPT
Telah dikemas kini 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.
Nota Keluaran
Updated option to chose median or mean as the averaging calculationNota Keluaran
Added volume bars that change colors along with the chart.Nota Keluaran
Code clean up.Nota Keluaran
Updating formatting to condense the volume scaleNota Keluaran
Update to include more options for the standard deviation and bar colors as well as added the ability to chose the volume source.Nota Keluaran
Added protection if the ticker does not exist on the chosen chart.Nota Keluaran
Bugfix for error caused by invalid tickerIdSkrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.
Skrip sumber terbuka
Dalam semangat sebenar TradingView, pencipta skrip ini telah menjadikannya sumber terbuka supaya pedagang dapat menilai dan mengesahkan kefungsiannya. Terima kasih kepada penulis! Walaupun anda boleh menggunakannya secara percuma, ingat bahawa menerbitkan semula kod ini adalah tertakluk kepada Peraturan Dalaman kami.
Penafian
Maklumat dan penerbitan adalah tidak dimaksudkan untuk menjadi, dan tidak membentuk, nasihat untuk kewangan, pelaburan, perdagangan dan jenis-jenis lain atau cadangan yang dibekalkan atau disahkan oleh TradingView. Baca dengan lebih lanjut di Terma Penggunaan.