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 |

Problem setting up custom percent true indicator of TSV 'vs it's MA Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
smb1970
Posted : Thursday, February 21, 2008 6:47:55 AM
Registered User
Joined: 1/19/2008
Posts: 8
Hi Guys,I'm trying to add a custom percent true indicator along the lines of tsv13 > AVG(tsv13)21However, it's giving me the boolean error.Any ideas what I might be doing wrong here?Regards Steve
Bruce_L
Posted : Thursday, February 21, 2008 8:51:47 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
AVG() is a function that takes two arguments with a comma in between them.

AVG(w,x) -> Simple Moving Average

Where w is the Number or Indicator to which a Function is applied.
- w cannot be a formula or function for AVG()
Where x is the Period of the Indicator or Function.

The arguments in functions are separated by commas.

So, assuming you want to know if Simple TSV13 is above its own 21-Period Simple Moving Average, you would want to try the following instead:

TSV13 > AVG(TSV13,21)

You may wish to review the following:

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
smb1970
Posted : Thursday, February 21, 2008 9:01:40 AM
Registered User
Joined: 1/19/2008
Posts: 8
Thanks very much
Bruce_L
Posted : Thursday, February 21, 2008 9:07: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.