Download software Tutorial videos
Subscription & data-feed pricing Class schedule


New account application Trading resources
Margin rates Stock & option commissions

Attention: Discussion forums are read-only for extended maintenance until further notice.
Welcome Guest, please sign in to participate in a discussion. Search | Active Topics |

Stochastic Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
minidriver
Posted : Wednesday, December 25, 2013 4:57:38 PM
Gold Customer Gold Customer

Joined: 3/11/2005
Posts: 8

Can you tell me how to write a scan for a specific date, such as 10/11/13, using a stochastic, such as 12.5, with a value <20?  I've tried STOC12.5'10/11/13'<20 but that didn't work.

Bruce_L
Posted : Thursday, December 26, 2013 9:52:14 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

If the syntax requires a . when writing it was a numeric parameter, it still requires a . when using a date for that parameter. So you would want to write your Condition Formula as:

STOC12.5.'10/11/2013' < 20

PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
minidriver
Posted : Friday, December 27, 2013 3:14:41 PM
Gold Customer Gold Customer

Joined: 3/11/2005
Posts: 8

OK, thank you for that, but why is the value one day behind the date?  For example, I entered the PCF, C'10/09/13', but the close for 10/08 is shown in the sort value column.

Bruce_L
Posted : Friday, December 27, 2013 3:27:38 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138

It is an issue in TC2000 version 7 related to the Thanksgiving holiday. Anything after the Thanksgiving holiday is using the correct dates when referenced in PCFs but everything before the Thanksgiving holiday is off by one day.

The issue does not affect TC2000 version 12.4 and I do not know what is causing it in TC2000 version 7 (but both data and development are looking into the issue and attempting to fix it). It could be a bug in the TC2000 version 7 code or it could be a fake bar in the TC2000 version 7 for Thanksgiving which is corrected on the charts but is still affecting Personal Criteria Formula with date references.



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