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 |

Question about typing a pcf line and "spacing"? Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Wickcity
Posted : Sunday, December 13, 2009 5:03:53 PM
Registered User
Joined: 2/21/2009
Posts: 13
If I'm typing something simple as Prices between the 20-80 price per share. C>=20ANDC<=80 Would this be correct? Or does it have to have spacing like the one below C>=20 AND C<=80 Is this one correct?
Wickcity
Posted : Sunday, December 13, 2009 5:16:48 PM
Registered User
Joined: 2/21/2009
Posts: 13
I probably needed to add. In the second example, I added a space after "20" and after "AND". I'm not sure if I'm explaining myself well enough but I'm trying to find out if I need to type out my code with or without "spaces"?
Bruce_L
Posted : Monday, December 14, 2009 9:47:59 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You can generally take out spaces from a Personal Criteria Formula without any problems, but adding spaces where they shouldn't be can cause problems. Once the PCF has been updated at least once, it should be "corrected" with the spacing as seen by TeleChart when you edit the formula. The corrected spacing for your example PCF would be:

C >= 20 AND C <= 80

How to create a Personal Criteria Forumula (PCF)
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Wickcity
Posted : Monday, December 14, 2009 3:36:33 PM
Registered User
Joined: 2/21/2009
Posts: 13
Thanks Bruce. I copied it and saved it.
Bruce_L
Posted : Monday, December 14, 2009 3:39:47 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.