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 |

Maximum Close since entry date formula Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
gregs2
Posted : Tuesday, August 5, 2014 3:28:45 PM
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?

 

Bruce_L
Posted : Tuesday, August 5, 2014 3:35:05 PM


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
gregs2
Posted : Wednesday, August 6, 2014 5:34:52 AM
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

Bruce_L
Posted : Wednesday, August 6, 2014 11:53:40 AM


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