molecules mal 1 posts msg #162003 - Ignore molecules mal modified |
10/29/2025 2:04:25 AM
I want to code a filter for stocks that have been going up green multiple days in a row, and just today are red and broke below red/green. Preferably the stock opened green, and then over the course of the day dropped below red/green. How can I do this?
This code gives stocks that have gone up 4 days in a row:
show stocks where count(close is above open,4) equals 4
but I only want the previous days to be green, not the current day.
Thanks
|