Hi all. So I have an idea I'd like to test out, but I'm not sure how to put it together into a working thing.
I basically want to scan for premarket price spikes that have happened say up to 30 days ago. I want the scanner to return the list of tickers and some basic info (how many days back the premarket price spike was, how big a percentage did it spike from from the close of the day prior, etc).
I know you can use the AfterHours_Percent_Change study for the current day, but how would you go about scanning the last 30 days to return a list of stocks that spiked to an extended hours high for some after hours/premarket session within those 30 days, with that high being greater than some defined percentage from the close prior to the spike?
I basically want to scan for premarket price spikes that have happened say up to 30 days ago. I want the scanner to return the list of tickers and some basic info (how many days back the premarket price spike was, how big a percentage did it spike from from the close of the day prior, etc).
I know you can use the AfterHours_Percent_Change study for the current day, but how would you go about scanning the last 30 days to return a list of stocks that spiked to an extended hours high for some after hours/premarket session within those 30 days, with that high being greater than some defined percentage from the close prior to the spike?