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.

5-Day Low

How do I add a criteria that looks for stocks that closed at a 5-Day low in price?

Comments

  • lmkwinlmkwin ✭✭
    edited March 7
    one way

    and [close <= yesterday's min(5,low)]
  • Not sure if you mean lowest close in 5 days, or at/below the lowest low in 5 days...

    If you mean lowest close in 5 days, then

    and [close = min(5, close)]

    However, if price has been falling, today's close could be both a 5 day low (the lowest in 5 days) and, say, a 10 day low (lowest in 10 days).

    So, if you want exactly a 5 day lowest close, you could test for

    and [close > min(6, close)]
Sign In or Register to comment.