New Low Scan

Optuma Forums Optuma Scripting New Low Scan

Tagged: , , ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #65679
    Louis
    • Topics: 14
    • Replies: 21
    • Posts: 35

    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.

    #65687
    Matthew
    • Topics: 5
    • Replies: 421
    • Posts: 426

    Hi,

    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.

    Ex1

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

Pin It on Pinterest