How to get a value of the variable for debugging purposes

You can always plot a variable to see its value on each bar. Just add another plot() function and specify the name of the variable that has the values you want: 

plot(variable_name)

Next, add the script to the chart and you will see the value either in a legend or on the scale. The advantage of this method is the ability to match a variable value and the corresponding bar on a chart.

Laman Utama Penyaring Saham Penyaring Forex Penyaring Kripto Kalendar Ekonomi Bagaimana ia berfungsi Ciri-ciri Carta Harga Rujuk rakan Peraturan Dalaman Pusat Bantuan Laman web dan Penyelesaian Broker Widget Penyelesaian Pencartaan Perpustakaan Pencartaan yang Ringan Blog & Berita Twitter
Profil Tetapan Profil Akaun dan Pengebilan Rujuk rakan Tiket Sokongan Saya Pusat Bantuan Idea yang diterbitkan Pengikut Mengikuti Mesej Peribadi Sembang Daftar Keluar