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 |

MAXC500 returns no value Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
sreys327
Posted : Friday, April 27, 2012 9:06:03 AM
Registered User
Joined: 7/31/2009
Posts: 3

I'm trying to do a simple scan for either all time highs (1st choice), or at least closing at the highest of the 500 bars on the chart (2nd choice). MAXC500 seemed easy enough, but it doesn't return a value if there are less than 500 bars of history, like an IPO. Suggestions?

pargo2
Posted : Friday, April 27, 2012 12:47:49 PM
Registered User
Joined: 10/2/2008
Posts: 14

MAXC500 cannot return a value if there are not 500 bars of data to calculate. I don't know any way around this.

cpolaritz
Posted : Saturday, April 28, 2012 9:50:20 AM
Registered User
Joined: 12/30/2004
Posts: 123

There is a limit on the number of bars used on screens and that may be the limit in calculations also.  I think I remember a support person saying it was 200 bars, but I am sure they will clarify this. In TC2000 v12 you can specify daily, weekly, monthly as your length. So less bars with a longer time signal might do just what you want.

sreys327
Posted : Tuesday, May 1, 2012 11:21:25 AM
Registered User
Joined: 7/31/2009
Posts: 3

The question here is the simple screen I was looking for. How do I get the all-time high for WHATEVER number of bars happens to be available?  Once again - suggestions please.

Bruce_L
Posted : Tuesday, May 1, 2012 11:25:57 AM


Worden Trainer

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

You could do this in StockFinder, but I cannot think of a practical automated method of doing this in TC2000. The Personal Criteria Formula Language doesn't have a way to check for the number of bars available and then adjust the formula to check only that number of bars. If a PCF is written to check for a certain number of bars, it will not calculate if there isn't enough data available.



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
sreys327
Posted : Tuesday, May 1, 2012 12:11:24 PM
Registered User
Joined: 7/31/2009
Posts: 3

Alas, what should be so simple indeed proves to be not simple at all. Thanks for confirming Bruce, at least I can quit racking my brain. Work-around will be to import symbols from someplace that does have the capability.

Bruce_L
Posted : Tuesday, May 1, 2012 12:19:14 PM


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.