Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
Registered User Joined: 10/7/2004 Posts: 794
|
How can I write a custom PCF to add to a scan for October 10,2018, I have various scans and want see
how they would have acted on that date.?
Thanks
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You can replace the bars ago paremeter for indicators (but not one ofd the arguments in a function) with a date using the 'mm/dd/yy' format.
For example:
H
Would become:
H'10/10/18'
And:
MAXH10
Would become:
MAXH10.'10/10/18'
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 794
|
Can't I add it to a scan to see what candidates would have been generated?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
Most of the conditions in new versions of TC2000 have a True setting which can be changed x bars ago, but the only way to set a specific date for a condition is if it is a formula.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 794
|
Can I add the above date as a condition in a scan and only get reults for said date?
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You would have to adjust all of the bars ago parameters in all of the conditions in the scan (assuming they are all formulas).
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Registered User Joined: 10/7/2004 Posts: 794
|
Thanks Bruce !
That makes sense, if there are three conditions I would have to add the bars ago to all three conditions.
|
|
Worden Trainer
Joined: 10/7/2004 Posts: 65,138
|
You're welcome.
-Bruce Personal Criteria Formulas TC2000 Support Articles
|
|
Guest-1 |