time frames
Answers
-
Two ways:
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.
0 -
If your requirement is that it has to be up over 30% from day 1 to day 5, the PctChange is also an option.
[PctChange(5,close) > 30]
0 -
That's even better. I keep forgetting about those functions.
Here's the page where they are all defined:
https://support.stockcharts.com/doku.php?id=scans:functions0 -
Nothing to add to this topic, but wanted to thank 'markd'. I've never posted on here before now, but you've helped me many times already. Thank you.0
-
@markd Thank you for your kind words. I echo @dtkrause, and most everyone else on these boards, in saying thank you for your devotion to helping people learn and understand things in a way that is, dare I say, perfect in tone and presentation.
I walk in your shadow. It's very nice back here. Not too hot. Not too cold.0
Categories
- All Categories
- 2.4K StockCharts
- 397 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 74 Data Issues
- 177 Other StockCharts Questions
- 224 Technical Analysis
- 155 Using Technical Analysis
- 6 InterMarket and International
- 19 Market and Breadth Indicators
- 44 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 162 S.C.A.N the StockCharts Answer Network forum
- 64 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 7 Off-Topic
- 7 The Cogitation & Rumination Emporium
- Forum Test Area

