I have found this recipe to be too limiting with it’s use if you are looking for very specific number of days. The recipe calculates based on “calendar” days versus “trading days”.
For example, if you buy an option on Friday and have a check for 1 day since open, which currently really means T+1 since the day the position is open is zero days. On Monday the days would be currently set to 3, not 1.
I suggest that the existing recipe be renamed to “Position has been open less than X calendar days” and a new version of it would be “Position has been open X trading days”.