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

MACD about to cross-over Rate this Topic:
Previous Topic · Next Topic Watch this topic · Print this topic ·
tbulat
Posted : Tuesday, May 23, 2006 8:46:02 PM
Registered User
Joined: 7/13/2005
Posts: 6
Can you pls post a formula that will find stocks with MACD that is about to cross over from POS to NEG and vice-versa. My MACD settings are 12,26,26.

Also, is there a formula that will find cross-overs that happened 1 day ago?

Thanks
Craig_S
Posted : Wednesday, May 24, 2006 6:45:58 AM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
We cannot scan for anything "about to cross". We don't know if anything WILL cross, we can only know if it did cross.

If you want to find stocks where the MACD is close to zero, I only need to know how close. If you want to find stocks where the MACD is moving towards zoro, I only need to know the number of days it needs to move towards zero.

This PCF will find your MACD crossing zero yesterday. I assume you are using a simple MACD and not a histogram.

(AVGC12.1-AVGC26.1>0 AND AVGC12.2-AVGC26.2<0) OR (AVGC12.1-AVGC26.1<0 AND AVGC12.2-AVGC26.2>0)

- Craig
Here to Help!
tbulat
Posted : Wednesday, May 24, 2006 12:07:30 PM
Registered User
Joined: 7/13/2005
Posts: 6
Thanks, Craig. But this formula does not return proper results. I am using both simple and histo MACD 12.26.26. Can you pls give me a histo formula?
Bruce_L
Posted : Wednesday, May 24, 2006 12:15:38 PM


Worden Trainer

Joined: 10/7/2004
Posts: 65,138
Please try one of the following:

Simple MACD Histogram (12,26,26) Crossed up through Zero Between Today and Yesterday:

SGN(AVGC12 - AVGC26 - AVG(AVGC12,26) + AVG(AVGC26,26)) - SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,26) + AVG(AVGC26.1,26)) > 0

Simple MACD Histogram (12,26,26) Crossed up through Zero Between Yesterday and the day before:

SGN(AVGC12.1 - AVGC26.1 - AVG(AVGC12.1,26) + AVG(AVGC26.1,26)) - SGN(AVGC12.2 - AVGC26.2 - AVG(AVGC12.2,26) + AVG(AVGC26.2,26)) > 0

-Bruce
Personal Criteria Formulas
TC2000 Support Articles
Craig_S
Posted : Wednesday, May 24, 2006 12:26:02 PM


Worden Trainer

Joined: 10/1/2004
Posts: 18,819
The formula provided the proper results for a MACD non-histogram. Now that we know you are using a histogram you should find Bruce's formula matches the MACD you are using.

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