In the bar plot panel, I would like to have the value of positive and negative bars added together and displayed above each bar. For example, if the positive bar is +100 and the negative bar is -80, then the value to be displayed above the bars would be +20. I would put the value in a text drawobject and attach it to the bars series.
My problem is that when 'DrawOnPricePanel = true' then I cannot figure out how to draw a text box in the bar plot panel. It naturally wants to draw in the price panel.
Would anyone know how to keep 'DrawOnPricePanel = true' and still draw to the bar plot panel (aka indicator panel beneath the price panel)?
I have attached a sample script that shows what I am trying to do. The script has DrawOnPricePanel = false so that I can show how I want the end result to appear, which is to have the netted values of each bar labeled above the bar. I used the BuySellPressure stock indicator as the base.
Thank you for any help or information you can provide!
Thank you,
traderUS
Comment