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.
scanning on different timeframe
Hello,
I am hitting a wall !! how do you scan per timeframe. Each time frame give different results.
For example, a MACD cross or STO moving above 20, would be different if it is weekly, daily and 60mm chart.
The below would be a for daily cross: [Slow Stoch %K(14,3) x 20.0] – How can I scan for 60mm chart. I am not looking at scanning intraday but only 60mm at the end of the day.
Thanks a lot.
T
I am hitting a wall !! how do you scan per timeframe. Each time frame give different results.
For example, a MACD cross or STO moving above 20, would be different if it is weekly, daily and 60mm chart.
The below would be a for daily cross: [Slow Stoch %K(14,3) x 20.0] – How can I scan for 60mm chart. I am not looking at scanning intraday but only 60mm at the end of the day.
Thanks a lot.
T
0
Comments
-
The scan engine only works with daily data and higher. So you can't scan for hourly, 15 min, 10 min, etc. data even when the market is closed.
The default time frame is daily.
So, if you write
and [sma(10, close) x sma(50, close)]
you will get a result for daily data.
If you want weekly data you would write
and [weekly sma(10, weekly close) x weekly sma(50, weekly close)]
So for weekly data, you have to put the modifier "weeklY" in front of everything that has a time frame - in this case, both "sma" and "close".
The results for each time frame will be very different because the data is different. If you have a daily indicator looking at 10 weeks of closes, the calculation will use 50 data points (5 days x 10 weeks). If you use the same indicator, but in a weekly time frame, also looking at 10 weeks of closes, the calculation will use only 10 data points (just the Friday closes). The results will normally be similar but almost never identical.
0 -
Thanks a lot for your help. Much appreciated0
-
Hi Mark. Can you clarify something for me please. Is the expression [sma(20,close) > 10] the same as [daily sma(20, daily close) > 10] ? I haven't found any examples that clarify this. Thanks0
-
Yes, your two expressions are equivalent. You can always include the modifier daily if it helps with clarity when you are writing a scan, but it's not necessary, since the scan engine assumes daily if no modifier is specified.0
-
Thank you.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