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 |

Custom PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
traderlady
Posted : Sunday, September 23, 2012 2:15:02 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

I'd like to create a custom PCF.  It would show a peak when the Price Percent Change 3-Month is greater than the Price Percent Change 1-Year. 

I am hoping this is possible.  Thanks in advance.

traderlady
Posted : Sunday, September 23, 2012 6:24:09 PM
Registered User
Joined: 10/7/2004
Posts: 1,178

I should have stipulated that the Price Percent Change 3-Month be annualized (multiplied by 4) to contrast it with the Price Percent Change 1-Year.

Traderlady

ChampionCoach
Posted : Sunday, September 23, 2012 11:30:37 PM
Registered User
Joined: 3/20/2011
Posts: 25

QUOTE (traderlady)

I'd like to create a custom PCF.  It would show a peak when the Price Percent Change 3-Month is greater than the Price Percent Change 1-Year. 

I am hoping this is possible.  Thanks in advance.

Condition: (C-C66)>(C-C240)

 

ChampionCoach
Posted : Sunday, September 23, 2012 11:33:08 PM
Registered User
Joined: 3/20/2011
Posts: 25

QUOTE (traderlady)

I should have stipulated that the Price Percent Change 3-Month be annualized (multiplied by 4) to contrast it with the Price Percent Change 1-Year.

Traderlady

Sorry. Condition: (C-C66)/C66 > (C-C244)/C244

 

Bruce_L
Posted : Monday, September 24, 2012 8:00:25 AM


Worden Trainer

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

Multiplying the three month results by four would not correctly annualize the results:

4 * (C / C63 -1) > C / C252 - 1

You would need to raise the three month results to the power of four instead:

((C / C63) ^ 4 - 1) > C / C252 - 1

As the correct formula for annualizing results would be:

((((100 + % change) / 100) ^ (1 year / time held)) * 100) - 100

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



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