Welcome Guest, please sign in to participate in a discussion. | Search | Active Topics | |
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
|
|
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!
|
|

 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!
|
|
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!
|
|
Guest-1 |