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
0
Comments
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.