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

S&P500 syntax in a PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
warrenshepherd
Posted : Wednesday, May 13, 2009 10:12:37 PM
Gold Customer Gold Customer

Joined: 12/21/2004
Posts: 13
I'm wanting to develop a PCF which gives a value for the relative strength of a stock relative to the S&P500 30 days ago.  So, it would look something like:

((C/SP500)/(C30/SP500.30))*100

that is, the Close of the stock now divided by the S&P now, all divided by the Close of the stock 30 days go divided by the S&P500 close 30 days ago,, all times 100.  I've tried several notations for the S&P500 value 30 days ago, but they don't seem to compute.

thanks.....
StockGuy
Posted : Wednesday, May 13, 2009 10:33:54 PM

Administration

Joined: 9/30/2004
Posts: 9,187
Warren,

You cannot reference the price of another symbol with a PCF.
Bruce_L
Posted : Thursday, May 14, 2009 7:36:47 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
warrenshepherd,
While I do not know of a practical automated method of writing Relative Strength PCFs in TeleChart., you may wish to review the following for a semi-automated technique for creating Relative Strength in a Personal Criteria Formula:

Indexes in PCF's
RSMA 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.