Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Issue with PCF code Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
GSA15
Posted : Friday, July 29, 2011 9:56:47 AM
Registered User
Joined: 9/27/2010
Posts: 17
Hi Bruce, I am not sure if there is a data issue with TC2000. Here is an example. The following code which I inserted into a chart as an indicator spits out a value on the chart that is not the same as when I go into the pcf and select the test formula button. ((C - C60) / (ABS(C - C1) + ABS(C1 - C2) + ABS(C2 - C3) + ABS(C3 - C4) + ABS(C4 - C5) + ABS(C5 - C6) + ABS(C6 - C7) + ABS(C7 - C8) + ABS(C8 - C9) + ABS(C9 - C10) + ABS(C10 - C11) + ABS(C11 - C12) + ABS(C12 - C13) + ABS(C13 - C14) + ABS(C14 - C15) + ABS(C15 - C16) + ABS(C16 - C17) + ABS(C17 - C18) + ABS(C18 - C19) + ABS(C19 - C20) + ABS(C20 - C21) + ABS(C21 - C22) + ABS(C22 - C23) + ABS(C23 - C24) + ABS(C24 - C25) + ABS(C25 - C26) + ABS(C26 - C27) + ABS(C27 - C28) + ABS(C28 - C29) + ABS(C29 - C30) + ABS(C30 - C31) + ABS(C31 - C32) + ABS(C32 - C33) + ABS(C33 - C34) + ABS(C34 - C35) + ABS(C35 - C36) + ABS(C36 - C37) + ABS(C37 - C38) + ABS(C38 - C39) + ABS(C39 - C40) + ABS(C40 - C41) + ABS(C41 - C42) + ABS(C42 - C43) + ABS(C43 - C44) + ABS(C44 - C45) + ABS(C45 - C46) + ABS(C46 - C47) + ABS(C47 - C48) + ABS(C48 - C49) + ABS(C49 - C50) + ABS(C50 - C51) + ABS(C51 - C52) + ABS(C52 - C53) + ABS(C53 - C54) + ABS(C54 - C55) + ABS(C55 - C56) + ABS(C56 - C57) + ABS(C57 - C58) + ABS(C58 - C59) + ABS(C59 - C60) + 0.001))
Bruce_L
Posted : Friday, July 29, 2011 10:05:36 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The Custom PCF Indicator has given me the exactly the same value on the chart as for the test for every symbol and time frame I have tried in TC2000 version 12. Can you provide an example?

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
GSA15
Posted : Friday, July 29, 2011 10:15:13 AM
Registered User
Joined: 9/27/2010
Posts: 17
Sure. Try AAPL. On my chart the value shows as zero. When I test the formula I get .17 Can I email you a screen grab?
Bruce_L
Posted : Friday, July 29, 2011 10:20:16 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
In a Daily Time Frame, the current value for both the test and chart for AAPL on my computer are 0.17. Make sure your chart is scrolled all the way to the right so that you are not viewing past data instead of current data.

If this does not resolve the issue, please contact technical support.

All e-mail communication sent to support@worden.com during business hours (Monday through Friday 9AM-11PM and Saturday and Sunday 9AM-3PM ET) should be answered within 20 minutes of arrival.

For an even quicker response to tech support questions, we recommend calling our voice line at (919) 408-0542 (there is no phone support on Sundays, some Market Holidays or after 9PM ET on weekdays).

You can also contact us using Live Chat Support during business hours.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
GSA15
Posted : Friday, July 29, 2011 10:40:09 AM
Registered User
Joined: 9/27/2010
Posts: 17
Hi Bruce, I have figured it out. I had the period at 60. The value of .17 is tested with a period of 1. Which brings up another question. When period is set to 1, what does that mean for my formula, which spans 30 days of data? What os the relation between the period field and the formula?
Bruce_L
Posted : Friday, July 29, 2011 10:48:48 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
The Period is a moving average applied to the results of the formula. The type of moving average being applied is specified by the Average Type parameter.

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