New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
is there syntax to scan for an event that happened between two dates in the past...
ie, looking to scan for 30% gain in 5 days that happened between 3 weeks and 4 weeks ago
Thanks
0
Answers
1 - write the scan as if it is first occurring today, then use the calendar option (Starting x days from today) to run the scan as of some date in the past - .e.g. close > 4 days ago close *1.3, with a selected scan date 3 weeks ago.
2 - use "days ago" modifiers that are five days apart - e.g. 20 days ago close > 24 days ago close *1.3 and run the scan as of today.
[PctChange(5,close) > 30]
Here's the page where they are all defined:
https://support.stockcharts.com/doku.php?id=scans:functions
I walk in your shadow. It's very nice back here. Not too hot. Not too cold.
lol, as the kids say. Thanks.