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

MACD crossing today above zero Topic Rating:
Previous Topic · Next Topic Watch this topic · Print this topic ·
ronbary
Posted : Tuesday, October 16, 2007 6:46:38 PM
Registered User
Joined: 5/27/2005
Posts: 35
Hello  Support ,

can you help me in writing   PCF for detecting   :


MACD   ( 10 ,30 , 5  )    crossing today  above the zero  level  .



thanks


Ron

Craig_S
Posted : Tuesday, October 16, 2007 7:27:02 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
By crossing do you mean the MACD line crossing its moving average line?

Is your MACD simple or exponential?

- Craig
Here to Help!
ronbary
Posted : Wednesday, October 17, 2007 6:42:27 PM
Registered User
Joined: 5/27/2005
Posts: 35
Hi Craig ,

i want to detect  when   MACD  ( 10,30,5 )   Simple is turn to be positive ,    i have MACD Histogram
and i want to find stocks the just turn positive (  crossing the  zero line )

My MACD is (   10 -Short  , 30 Long , Period -5   )    Average type is Simple .


thanks


Ron
Craig_S
Posted : Wednesday, October 17, 2007 6:54:30 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
This should work:

AVG(AVGC10,5)>AVG(AVGC30,5) AND
AVG(AVGC10.1,5)<AVG(AVGC30.1,5)

- Craig
Here to Help!
ronbary
Posted : Thursday, October 18, 2007 6:43:26 PM
Registered User
Joined: 5/27/2005
Posts: 35

Thanks Craig for your help

that what i'm look for

 

ron

griego
Posted : Saturday, November 10, 2007 8:33:57 PM
Registered User
Joined: 1/14/2005
Posts: 7

Craig:

What would the pcf formula be if it were exponential?


JVG

Bruce_L
Posted : Monday, November 12, 2007 10:30:50 AM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
griego,
You would just add an X to each of the AVGs in the formula:

XAVG(XAVGC10,5) > XAVG(XAVGC30,5) AND XAVG(XAVGC10.1,5) < XAVG(XAVGC30.1,5)

You may wish to review the following:

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

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