bollinger band crossover

I have put a bollinger band around accumlation distribution line on particular stocks. I would like to scan for stocks in which the accumulation distribution line has crossed over upper or lower bollinger bands. I wrote it like this [AccDist x upper bb(20,2)] However I get no results. Even though I have stocks that I know have the acc line above bollinger bands. Can anyone tell me what I am doing wrong? Thank you.

Tom

Comments

  • Try it this way:

    and [AccDist x upper bb(20,2, AccDist)]

    By default, BB will look at price. If you want it to look at something else, you have to specify it as the last term of the BB parameters.

    As far as I know, this feature is undocumented, or at least I can't find it, so it's something you learn by coming across it.