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.

Scanning stocks with PE ratio between 0 and 50? How do I write this in a scan?

Scanning stocks with PE ratio between 0 and 50? How do I write this in a scan?

Best Answer

  • markdmarkd mod
    edited January 2023 Answer ✓
    On the scan workbench, open the drop down "Ticker Properties", click on PE ratio and click "Add".

    The default code for PE ratio will appear in the scan writing window. You can modify it to your preference.

    Since there are no negative PE ratios, you can just write

    and [PE ratio < 51]

    But if you wanted say, more than 10 and less than 50, there is no "between" operator, so you have to write out greater than and less than, each on its own line:

    and [PE ratio >9]
    and [PE ratio < 51]

    or you could write

    and [PE ratio >= 10]
    and [PE ratio <= 50]

Answers

Sign In or Register to comment.