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

Using dates in PCFs - How do I find the max high and min low during the month of February 2010. Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
Kermitp
Posted : Monday, March 14, 2011 12:58:20 PM
Registered User
Joined: 10/7/2004
Posts: 364
I must be getting dumber in my old age. I use to know how to do these things. 

I want to find the max high and min low during the month of February 2010.
Bruce_L
Posted : Monday, March 14, 2011 1:14:28 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
You pretty much can't unless you know both the number of Trading Days in the month of February 2010 and the Date of the last Trading Day in the month of February 2010. So the formula for the MaxHigh would be:

MAXH19.'02/26/2010'

While the formula for the MinLow would be:

MINL19.'02/26/2010'

PCF Formula Descriptions
How to create a Personal Criteria Forumula (PCF)
Handy PCF example formulas to help you learn the syntax of PCFs!

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Kermitp
Posted : Monday, March 14, 2011 3:05:32 PM
Registered User
Joined: 10/7/2004
Posts: 364
Thanks, Bruce

my problem is I really want to do it for all 12 months for the last 12 years. 

I just used February as an example. 

Guess I'll goes to StockFinder and just use a monthly calendar. I think that will work. SF5 is true weekly and monthly isn't it? 

Kermitp
Bruce_L
Posted : Monday, March 14, 2011 3:23:29 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Yeah, that would take a lot of work to determine the dates and number Trading Day for all 144 periods to do this in TeleChart (although you could do it in the Monthly Time Frame in the TC2000.com version 11 beta without specifying dates).

As you mentioned, StockFinder also has Calendar Months available.

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