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

Customer Indicator Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
zpring
Posted : Sunday, February 12, 2006 11:03:46 PM
Registered User
Joined: 8/11/2005
Posts: 18
Hi, Is there a way I can program the following indicators:

1. Indicator 1= VOLUME:today * ( ClOSE:today - CLOSE:yesterday )

2. Indicator 2 = HIGH:today - EMA:today ( use EMA of 13 days )

3. Indicator 3 = LOW:today - EMA:today

Thank you for your help
Craig_S
Posted : Monday, February 13, 2006 6:02:20 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
#1 is the formula for On Balance Volume (assuming you would want this as a cumulative indicator). You can add this to any chart and don't need to create a custom indicator.

Here are the formulas for your all three indicators (if #1 is not to be a cumulative indicator):

(C-C1)*V

H-XAVGC13

L-XAVGC13

I would check the ZERO LINE option for each of these.

Here is a video on how to create a custom indicator:

Plotting Custom Indicators with Examples

Here are some formula examples. Hopefully you noticed how easy the language is:

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

- Craig
Here to Help!
bustermu
Posted : Monday, February 13, 2006 7:46:00 AM
Registered User
Joined: 1/1/2005
Posts: 2,645
QUOTE (Craig_S)
#1 is the formula for On Balance Volume (assuming you would want this as a cumulative indicator). You can add this to any chart and don't need to create a custom indicator.

Here are the formulas for your all three indicators (if #1 is not to be a cumulative indicator):

(C-C1)*V


Craig,

The increment for OBV is:

V*SGN(C0-C1)

Elder's Force Index is:

V*(C0-C1)

Thanks,
Jim Murphy
Craig_S
Posted : Monday, February 13, 2006 8:26:43 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Yep... you are correct. Mix up in the mind.

- Craig
Here to Help!
zpring
Posted : Monday, February 13, 2006 7:18:59 PM
Registered User
Joined: 8/11/2005
Posts: 18
Here are the formulas for your all three indicators (if #1 is not to be a cumulative indicator):

(C-C1)*V

H-XAVG13

L-XAVG13

I would check the ZERO LINE option for each of these.

Thank you for your help. For the force index, I had successfully plotted it.

For H-XAVG13 AND L-XAVG13, I got the message "Formula error: missing argument".

Kindly help.
zpring
Posted : Monday, February 13, 2006 8:23:12 PM
Registered User
Joined: 8/11/2005
Posts: 18
QUOTE (zpring)
Here are the formulas for your all three indicators (if #1 is not to be a cumulative indicator):

(C-C1)*V

H-XAVG13

L-XAVG13

I would check the ZERO LINE option for each of these.

Thank you for your help. For the force index, I had successfully plotted it.

For H-XAVG13 AND L-XAVG13, I got the message "Formula error: missing argument".

Kindly help.



I think I got it. The formula should be H-xaggc13. The C is missing.
Craig_S
Posted : Monday, February 13, 2006 11:24:32 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Yep. I fixed them above. Sorry about that.

- Craig
Here to Help!
zpring
Posted : Tuesday, February 14, 2006 12:32:37 AM
Registered User
Joined: 8/11/2005
Posts: 18
QUOTE (Craig_S)
Yep. I fixed them above. Sorry about that.


Thank you. May I ask another question.

Do you have the formula for ATR - average true range?
Craig_S
Posted : Tuesday, February 14, 2006 6:28:23 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
Here is a post to check out:

AVERAGE TRUE RANGE PCF

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