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
|
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
|
Registered User Joined: 1/19/2008 Posts: 8
|
Thanks very much
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|