Registered User Joined: 12/10/2009 Posts: 35
|
For TC2000 v.12.4, is there a PCF formula for tracking the maximum close since the date I entered the stock, up to the current date moving forward?.
It should rise, obviously, as a new MAXC is reached, be it 3 days ago or any number of days back, since the date of entry..
I tried:
MAXC.03.13.14, but it brings back the wrong MAXC amount. I tried MAXC.'03/13/14' but get a syntax error, due to the quote marks (I think). I've also tried numerous other variations with parenthesis as well.
I simply want to keep track of the maximum close since the date I entered a stock moving forward in time to the current date by way of a MAXC - "entry date" PCF.
Is this possible?
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
It is not possible to create a formula which will automatically update to return the correct values whenever there is a new trading day.
The format of the maximum close indicator in TC2000's Personal Criteria Formula Language is as follows.
MAXCx.z
Where x is the Period of the Indicator or Function.
Where z is the number of Periods Ago.
- z can also be a date. May 3, 2007 would be (single quotes required): '05/03/07'
So only Z can be replaced by a date and this date would be the date of the end of the period and not the beginning of the period covered by the maximum close indicator.
Since x is going to change each day, you will need to change the formula each day.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
Registered User Joined: 12/10/2009 Posts: 35
|
OK... besides, the more I thought about it, there's a less time consuming solution to work around this while spacing through my open trades list anyway.
Thanks Bruce
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome. I am happy to read you figured out a better workflow that works for you.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|