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 |

MA and MACD PCF Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
megler
Posted : Sunday, November 6, 2005 5:10:36 PM
Registered User
Joined: 6/3/2005
Posts: 20
Hello,

I'm trying create a PCF that does the following:

1. XAVGC26 > the week before 26 week exp MA is higher than previous week. I'm just stuck on the right side of the equation. I don't think it's XAVG27, but XAVG26.1 doesn't seem to cut it either.

2. Is there a way to create a formula that follows MACD? Like MACD is below the 0 line and has now started to trend up. I use MACD-H and look for long signals when the bars are below the zero line and the latest bar is now higher than the previous bar (weekly chart). I'd love to create a PCF that searches for that.

thanks!!

Marceia
megler
Posted : Sunday, November 6, 2005 6:10:37 PM
Registered User
Joined: 6/3/2005
Posts: 20
Sorry, should have read some of the other posts. I see for MACD Crossing up above the zero line to use:

((XAVG(XAVGC16,3) - XAVG(XAVGC16,10))>0)AND((XAVG(XAVGC16.1,3) - XAVG(XAVGC16.1,10))<0)

If I am using a 10, 30, 5 MACD - in which order would I insert my numbers to the above formula?

thanks!
Craig_S
Posted : Sunday, November 6, 2005 6:42:16 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
I am not sure where that formula came from but....
Use this formula:


If your MACD is simple:

(AVGC10-AVGC30)>0 AND (AVGC10.1-AVGC30.1)<0

If your MACD is exponential:
(XAVGC10-XAVGC30)>0 AND (XAVGC10.1-XAVGC30.1)<0

Here is a video (with PCFs) you should check out:

Understanding MACD

- Craig
Here to Help!
megler
Posted : Sunday, November 6, 2005 6:49:49 PM
Registered User
Joined: 6/3/2005
Posts: 20
Thanks! I also figured out that my MA issue is XAVG26 > XAVG26.5

As always, I appreciate the 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.