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: 


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.

Home Stock Screener Forex Screener Crypto Screener Economic Calendar How It Works Chart Features Pricing Refer a friend House Rules Help Center Website & Broker Solutions Widgets Charting Solutions Lightweight Charting Library Blog & News Twitter
Profile Profile Settings Account and Billing Refer a friend My Support Tickets Help Center Ideas Published Followers Following Private Messages Chat Sign Out