Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

time frames with imported data Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
robconley
Posted : Friday, May 1, 2009 2:22:01 PM
Registered User
Joined: 3/10/2005
Posts: 28
I've imported a lot of data with varying tme frames - daily, weekly, monthly, and even quarterly.  I've noticed  a few quirks in the way the data is displayed and am hopeful you can shed some light on the situation.

While this is a minor issue and probably more a data than a design issue, I've found that the time frame selected within the chart has little or no effect on the chart with most of this data.  For instance, if I have weekly data, it won't display monthly or quarterly time frames.

Also, if I create a real code indicator using data with different intervals it doesn't display - presumably due to the differing time frames.  For instance, I had monthly and quarterly data and attempted to create an indicator that displayed the ratio of these two sets of data.  While it worked using the block diagram, it won't display in real code.

I'm not certain about this but it also APPEARS to be affecting ROC indicator (and perhaps others?) in that it doesn't display accurately - presumably again, due to the differing tme frames.

First, can you explain how the data is displayed when using data having weekly, monthly, or quarterly intervals?

Second, can you offer a suggestion - short of filling in the "holes" in my data - to improve this situation?

I apologize if this has been covered elsewhere.

Thanks  -Rob
Bruce_L
Posted : Friday, May 1, 2009 3:04:25 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
If you use the Market Date Reader or RealCode File Reader, you aren't using the the built in Time Frames at all. You aren't even actually importing data. You are outputting the data you are reading at the date and times being specified using the AddToOutput function.

You can force your data to use the Time Frame of the Chart to some extent by creating a Block Diagram based Indicator that runs the output of your RealCode Indicator through a Time Frame Bar-Builder Block that uses the Main Time Frame as its Interval Input.

Something like a ROC Indicator is generally going to use Bars, not dates. If you use a ROC Indicator on a RealCode Indicator using the Market Date Reader or RealCode File Reader, its Bars are going to line up with your RealCode Indicator, not with the Time Frame of the Chart.

If the data you are using lines up with StockFinder's Active Time Frame, the built in Loop will generally line up the data for you when making comparisons between Price, Volume and your Dragged and Dropped Indicators.

If you are going to use data using RealCode where the data from the Indicators don't line up with the Time Frame of the Chart, you are generally going to need to use AutoLoop = False to build your own loops and manipulate the data yourself.

If you are using AutoLoop = False, you are generally going to need to line up the times of multiple Indicators yourself to make sure the dates being compared are appropriate. This may involve rebuilding the data within your RealCode so the arrays for each of the Indicators you are using have the same number of data points with the same dates at each point in the array (you would need to interpolate the intermediate values to artificially generate the missing data points) or it might involve incrementing your references to the Dragged and Dropped Indicators in such a way that one Indicator doesn't get ahead of the other. In any case, when AutoLoop = False, StockFinder isn't making sure the dates being compared make sense for you, that is being done by the RealCode you are writing.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
robconley
Posted : Friday, May 1, 2009 3:41:39 PM
Registered User
Joined: 3/10/2005
Posts: 28

Bruce, I appreciate the quick response.  Makes total sense - bad data in, bad data out.  Look's like I have a little work ahead of me.  I guess that's why we pay data providers so much money -- for thier clean data!! 

On a totally unrelated issue, is there any plan to make Don Worden's daily report from Telechart available to StockFinder users?  I posed this question quite some time ago and was given a link for an archival of his report.  Unfortunately, it wasn't updated on a tmely basis and really wasn't useful.

Again, thanks.  -Rob

Bruce_L
Posted : Friday, May 1, 2009 4:12:49 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
I do not know when or if the Daily Worden Report will be added to StockFinder.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Users browsing this topic
Guest-1

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.