New Low Scan

Optuma Forums Optuma Scripting New Low Scan

Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #65679
    • Topics: 38
    • Replies: 65
    • Posts: 103

    Hi. I am trying to write a scan, but I have an issue with my script. Please help.

    I want to return results where the ADX > 30 and the stock has made a new 63 day closing  low. I want both of these to have happened sometime in the last 21 days. Here is what I have that is not working:

    In the scanning manager I did change the date range to: last year.
    Thank you, Louis.

    • Topics: 5
    • Replies: 625
    • Posts: 630


    The issue is with the Lowest Low line, you have the Close crossing below a Low which is set to include the current day, so the criteria would never be met. Once this was changed to Low() == instead of close, the script returned the expected results.

    Full Script

    One of the codes that passed was ATVI, and when checked manually on the chart you can see the criteria have been met.


Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.

Pin It on Pinterest