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 |

I need help creating two pcf's for tsv and moneystream Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
jboogz2000
Posted : Sunday, July 13, 2008 1:46:02 PM
Registered User
Joined: 3/8/2008
Posts: 20
First one
1. Moneystream crossing below its 20 day mov avg and above its 20 day mov avg today and 5 days ago.

2. Tsv 23 crossing below and above it's 12 day mov avg today and 5 days ago and Tsv 23 crossing above 0 today and 5 days ago Tsv 23 crossing below 0 today and 5 days ago thank you.
diceman
Posted : Sunday, July 13, 2008 3:35:47 PM
Registered User
Joined: 1/28/2005
Posts: 6,049
Are these simple or exp.?


Thanks
diceman
jboogz2000
Posted : Monday, July 14, 2008 10:03:16 PM
Registered User
Joined: 3/8/2008
Posts: 20
SIMPLE
Bruce_L
Posted : Tuesday, July 15, 2008 8:05:21 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
jboogz2000,
Please try one or more of the following:

MS xUp its own SMA20:

MS > MS20 AND MS1.1 <= MS20.1

MS xDn its own SMA20:

MS < MS20 AND MS1.1 >= MS20.1

MS crossing its own SMA20 (either direction):

SGN(MS - MS20) <> SGN(MS1.1 - MS20.1)

MS xUp its own SMA20/5-Periods Ago:

MS1.5 > MS20.5 AND MS1.6 <= MS20.6

MS xDn its own SMA20/5-Periods Ago:

MS1.5 < MS20.5 AND MS1.6 >= MS20.6

MS crossing its own SMA20/5-Periods Ago (either direction):

SGN(MS1.5 - MS20.5) <> SGN(MS1.6 - MS20.6)

Simple TSV23 xUp its own SMA12:

TSV23 > AVG(TSV23,12) AND TSV23.1 <= AVG(TSV23.1,12)

Simple TSV23 xDn its own SMA12:

TSV23 < AVG(TSV23,12) AND TSV23.1 >= AVG(TSV23.1,12)

Simple TSV23 crossing its own SMA12 (either direction):

SGN(TSV23 - AVG(TSV23,12)) <> SGN(TSV23.1 - AVG(TSV23.1,12))

Simple TSV23 xUp its own SMA12/5-Periods Ago:

TSV23.5 > AVG(TSV23.5,12) AND TSV23.6 <= AVG(TSV23.6,12)

Simple TSV23 xDn its own SMA12/5-Periods Ago:

TSV23.5 < AVG(TSV23.5,12) AND TSV23.6 >= AVG(TSV23.6,12)

Simple TSV23 crossing its own SMA12/5-Periods Ago (either direction):

SGN(TSV23.5 - AVG(TSV23.5,12)) <> SGN(TSV23.6 - AVG(TSV23.6,12))

Simple TSV23 xUp Zero:

TSV23 > 0 AND TSV23.1 <= 0

Simple TSV23 xDn Zero:

TSV23 < 0 AND TSV23.1 >= 0

Simple TSV23 crossing Zero (either direction):

SGN(TSV23) <> SGN(TSV23.1)

Simple TSV23 xUp Zero/5-Periods Ago:

TSV23.5 > 0 AND TSV23.6 <= 0

Simple TSV23 xDn Zero/5-Periods Ago:

TSV23.5 < 0 AND TSV23.6 >= 0

Simple TSV23 crossing Zero/5-Periods Ago (either direction):

SGN(TSV23.5) <> SGN(TSV23.6)

You may wish to review the following:

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

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jboogz2000
Posted : Tuesday, July 15, 2008 8:56:43 PM
Registered User
Joined: 3/8/2008
Posts: 20
thanks
Bruce_L
Posted : Tuesday, July 15, 2008 9:05:58 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
jboogz2000,
You're welcome. Our pleasure.

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
jboogz2000
Posted : Wednesday, July 16, 2008 12:51:28 PM
Registered User
Joined: 3/8/2008
Posts: 20
i need one more pcf 

simple tsv 23 crossing below 0 today and has been above 0 last 10days

simple tsv38 crossing below 0 today and has been above 0 last 10 days
Bruce_L
Posted : Wednesday, July 16, 2008 12:54:37 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
QUOTE (jboogz2000)
simple tsv 23 crossing below 0 today and has been above 0 last 10days

TSV23 < 0 AND MIN(TSV23.1,10) > 0

QUOTE (jboogz2000)
simple tsv38 crossing below 0 today and has been above 0 last 10 days

TSV38 < 0 AND MIN(TSV38.1,10) > 0

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