Using a Time Frame Condition in a Scan


New member
Hello all,
I have a quick question, if this is not the correct place to post the question please let me know. I want to create a scan that will provide % change over a defined period of time. For example, I want to see all stocks that have increased by 20% over the last 30 days. I have added the % change filter to the scan but now I want to add filter/study that defines the time period. Simple right? If so, I have not been able to find the time part if this. I do apologize if this is a silly question. Thank you in advance.


Active member
@brianJ Does this do what you want? I tried this against the S&P 100 and received three results, but didnt verify that they had increased 20% in the last 30 days. Run it on a daily aggregation and see if it works.

#choose a daily aggregation in scanner
plot scan = close>(1.20*close[30]);

Similar threads