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

pcf for specific date Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Quiktdr
Posted : Thursday, November 29, 2018 2:49:40 PM
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

Bruce_L
Posted : Thursday, November 29, 2018 2:55:27 PM


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
Quiktdr
Posted : Thursday, November 29, 2018 3:49:12 PM
Registered User
Joined: 10/7/2004
Posts: 794

Can't I add it to a scan to see what candidates would have been generated?

Bruce_L
Posted : Thursday, November 29, 2018 4:02:45 PM


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
Quiktdr
Posted : Thursday, November 29, 2018 4:25:22 PM
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?

Bruce_L
Posted : Thursday, November 29, 2018 4:38:17 PM


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
Quiktdr
Posted : Thursday, November 29, 2018 4:50:45 PM
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.

 

Bruce_L
Posted : Thursday, November 29, 2018 4:57:52 PM


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.