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 |

Filter out symbols with little or now bars. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
haroldv1
Posted : Friday, June 24, 2011 4:50:41 PM
Registered User
Joined: 11/20/2006
Posts: 14
Is there a way to filter symbols with little or now data. Say I only want to list symbos with 2 or more years worth of bars. Seems simple but I get weird results. Usually one or two symbols show up.
Thanks for the help.
Bruce_L
Posted : Friday, June 24, 2011 5:00:47 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The following Condition should only return True if there are at least 252-Bars of data available. You would want to use the Condition with a Daily Bar Interval.

Writing Conditions in RealCode
Scanning with Conditions
Filtering Lists

'# Cumulative
If Price.Count >= 252 Then Pass

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
haroldv1
Posted : Friday, June 24, 2011 5:40:42 PM
Registered User
Joined: 11/20/2006
Posts: 14

That was to simple.  Thank you

Bruce_L
Posted : Thursday, July 7, 2011 9:01:24 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You're welcome.

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