Show View using Moving Average Bands

Hi,

I’m trying to create a Show View where Volume crosses above the MAB().UpperLine using this script.

VOL() CrossesAbove MAB().UpperLine

However it is not working. I had done a similar script with Bollinger Bands which works fine.

Tim

Hi Tim,

You need to nest VOL() in the MAB() function as otherwise it will use the price data:

VOL() CrossesAbove MAB(VOL()).UpperLine

Capture

Hi Darren,

Thanks but I am still not getting the Show View displaying.

Screenshot 2023-03-16 180258

Hi Tim,

It looks like the Show View tool has been applied to the Volume indicator, not the chart directly. For the script to work you need to apply the Show View to the chart, once that’s done you should see the expected results.