Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

new issues Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
figure8
Posted : Monday, November 12, 2012 5:48:56 PM
Registered User
Joined: 3/19/2011
Posts: 7

Is there a way to scan for stocks with less than say 2 years trading history?

Bruce_L
Posted : Tuesday, November 13, 2012 7:09:08 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

You could create a Custom Date Sort which is just slightly longer than 2 years to check for items that returned ... in the WatchList Column instead of returning a value. One issue is that you would have to use a Time Frame which is longer than Daily in TC2000 version 12.2 because only 500 bars of data are available in each Time Frame.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
figure8
Posted : Tuesday, November 13, 2012 9:39:51 PM
Registered User
Joined: 3/19/2011
Posts: 7

I couldn't get "custom date sort " to open. Can you write a pcf for me? Thank you. Phil

Bruce_L
Posted : Wednesday, November 14, 2012 8:06:52 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

No indicators or formulas can be made to return the number of bars of data available in a WatchList. A Custom PCF Cumulative Indicator can be made to do so on the chart, but it won't display in the WatchList.

This means you need to have something that requires at least a certain amount of data to calculate and way to check that it isn't calculating when there isn't enough data.

Doing something like C252 = C252 as a formula will check for a symbol having at least 253 bars of data but so would something useful like a 252-Period Price Percent Change formula:

100 * (C / C252 - 1)

Keep in mind that you are looking items which don't have values. I used one year in a Daily Time Frame as an example instead of two years because there are only 500 bars of data in any given time frame. You could use the same formulas with a 2-Day Time Frame to check for at least two years of data.

Custom Date Sort is probably still a cleaner approach. You can select Tools | Custom Date Sort (or use the "shift-T" hot key) to bring up the Custom Date Sort (although the "c" hot key will work if you have Use TeleChart 2007 Hot Keys selected under Tools | System Defaults).



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