Coppock Curve scanning

I am trying to scan for stocks where the Coppock curve was negative last week and is positive for this week. Something like
[last week's 10-period WMA of 14-period RoC + 11-perod RoC < 0] and [this week's 10-period WMA of 14-period RoC + 11-perod RoC > 0]
The scanner will not approve this syntax. Any suggestion is appreciated.

Comments