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 |

Could you write a formula for finding a security with the greatest change in price over the last 5 d Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jager52
Posted : Thursday, August 9, 2012 10:10:59 AM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 37

Thanks in advance

Bruce_L
Posted : Thursday, August 9, 2012 10:22:30 AM


Worden Trainer

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

You could do a sort by the 5-Period Price Percent Change:

100 * (C / C5 - 1)

The 5-Period Absolute Price Percent Change:

100 * ABS(C / C5 - 1)

The 5-Period Price Net Change:

C - C5

Or the 5-Period Absolute Price Net Change:

ABS(C - C5)

It all depends on what you want.

Setting Up WatchList Columns
PCF Formula Descriptions
Handy PCF example formulas to help you learn the syntax of PCFs!



-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jager52
Posted : Thursday, August 9, 2012 10:49:51 AM
Gold Customer Gold Customer

Joined: 10/7/2004
Posts: 37

When I went to save the sort by the 5-Period Price Percent Change as a condition, I got a message indicating it does not return a boolean result but will be saved as an indicator. Please explain what this means.

Bruce_L
Posted : Thursday, August 9, 2012 11:33:21 AM


Worden Trainer

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

The Personal Criteria Formulas I provided are Indicator Formulas. This means they return a numeric value. You will need to click on the Indicators tab to see them.

If they had been Condition Formulas they would have been boolean and returned either true or false. You would have needed to click on the Conditions tab to see them.



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