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.
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.3K StockCharts
- 395 SharpCharts
- 146 Other Charting Tools
- 69 Saved Charts and ChartLists
- 1.5K Scanning
- 73 Data Issues
- 177 Other StockCharts Questions
- 218 Technical Analysis
- 155 Using Technical Analysis
- 2 InterMarket and International
- 19 Market and Breadth Indicators
- 42 Market Analysis
- 109 Trading
- 109 Trading Strategies
- 163 S.C.A.N the StockCharts Answer Network forum
- 65 Using this StockCharts Answer Network forum
- 98 s.c.a.n. archives
- 5 Off-Topic
- 6 The Cogitation & Rumination Emporium
- Forum Test Area