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 |

PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
krieger
Posted : Thursday, September 14, 2006 8:34:10 PM
Platinum Customer Platinum Customer

Joined: 3/29/2005
Posts: 16
Hey guys, I tried the search function,but didn't find what I was looking for.I need a few PCF's written.

1. price crossing from below to above it's 10 day ema,using the closing price.

2.TSV(exp) crossing the zero line , below to above..

3.TSV(exp) 20 day,crossing its 10day ema from below.

thanks for your time
Craig_S
Posted : Thursday, September 14, 2006 8:56:14 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
1) C>XAVGC10 AND C1<XAVGC10.1

What is the period for your TSV?



- Craig
Here to Help!
krieger
Posted : Thursday, September 14, 2006 9:38:05 PM
Platinum Customer Platinum Customer

Joined: 3/29/2005
Posts: 16
Thanks Craig, 20 day TSV with a 10 day ema
Craig_S
Posted : Thursday, September 14, 2006 10:18:29 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
2) XAVG(TSV1,20)>0 AND XAVG(TSV1.1,20)<0

3) XAVG(TSV1,10)>XAVG(TSV1,20) AND XAVG(TSV1.1,10)<XAVG(TSV1.1,20)

- Craig
Here to Help!
krieger
Posted : Thursday, September 14, 2006 11:21:53 PM
Platinum Customer Platinum Customer

Joined: 3/29/2005
Posts: 16
Thanks for your timely response.
Craig_S
Posted : Friday, September 15, 2006 7:06:15 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
My pleasure!

- Craig
Here to Help!
gatis1230
Posted : Friday, September 15, 2006 3:58:17 PM
Registered User
Joined: 9/3/2006
Posts: 6
Hi, how can I write formula that keeps 1st day outcome for next day and add 2nd day outcome and then all this outcome keeps for 3rd day and add 3rd day outcome etc. Thanks.
Craig_S
Posted : Friday, September 15, 2006 4:00:20 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I am not sure what you mean... Do you want the PCF to catch any cross in the last three days?

If so try this:

(XAVG(TSV1,20)>0 AND XAVG(TSV1.1,20)<0) OR
(XAVG(TSV1.1,20)>0 AND XAVG(TSV1.2,20)<0) OR
(XAVG(TSV1.2,20)>0 AND XAVG(TSV1.3,20)<0)

- Craig
Here to Help!
gatis1230
Posted : Friday, September 15, 2006 6:41:55 PM
Registered User
Joined: 9/3/2006
Posts: 6
No I just have a formula wich needs to be calculated every day and it outcome got to be added to previous day outcome for example:
1st day (C-O)/(H-L)=X
2nd day (C-O)/(H-L)+X=Y //X - previous day outcome//
3rd day (C-O)/(H-L)+Y=Z //Y - previous day outcome//
4th day (C-O)/(H-L)+Z=P //Z - previous day outcome//
...
n-th day (C-O)/(H-L)+(n-1)=n //(n-1) - previous day outcome// and so on.
Craig_S
Posted : Friday, September 15, 2006 6:44:52 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
You are looking for a Custom Cumulative Indictator.

Right-click your chart.
Add Indicator |Custom| Cumulative

Use these settings:

Up condition:

C=C

Down condition

C>C

Formula add/subtract:

(C-O)/(H-L)


- Craig
Here to Help!
gatis1230
Posted : Friday, September 15, 2006 6:50:21 PM
Registered User
Joined: 9/3/2006
Posts: 6
OK Thanks.
Craig_S
Posted : Saturday, September 16, 2006 5:49:47 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
My pleasure.

- Craig
Here to Help!
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.