I'm attempting to create a filter that will find stocks that have recently move above the 200 day SMA but the 200 day SMA is below the 400 day SMA.
I'd like to filter stocks that have moved above the 200 day SMA in the last x number of days. Any ideas on how to make a filter that will cover that scenario?