New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.

What am I doing wrong in this "OR" Scan ?

RodgerRodger
edited January 2016 in Scanning
When I run this scan... [type = stock] and [ADX line(14) > 40.0 ] and [ PPO Line(12,26,9) < -3.0 ] and [ Volume > 999,999 ] and [today's close > 15 ] and [ exchange = nasd ] or [ exchange = nyse ] or [ exchange = amex ] .... I get 999+ "results" including adx lines all over the place, ppo lines all over the place, stocks with volumes under and over 999,999, and penny stocks along with those over $15??? The only thing working are the exchanges and stocks ? I used a "published" scan with no problems... Any advice would be welcomed... Thanx Rodger

Answers

  • Common mistake, you just need an extra set of brackets to contain the "OR" conditions. Without the extra brackets the scan looks for your criteria in the NASD, but then will accept any stock in the NYSE or any stock in the AMEX.


    [type = stock]
    and [ADX line(14) > 40.0 ]
    and [ PPO Line(12,26,9) < -3.0 ]
    and [ Volume > 999,999 ]
    and [today's close > 15 ]
    and [ [ exchange = nasd ] or [ exchange = nyse ] or [ exchange = amex ] ]
  • Thank You I will sure give this a try.
Sign In or Register to comment.