MACD Cross Exploration

I am trying to find an adjustment or an effective MACD exploration that produces a MACD cross closer to the actual day.
Every MACD exploration I have used is always three or four days late. There may be a change in the parameters I am missing or something.
I have looked at the problem for so long I am not seeing a solution.

@Greg9042, as a longer time member of the site I am surprised by your question being so vague.

To get a good result, you need to explain your question/intent better. How can a MACD exploration be three or four days late? The MACD cross happens when it happens. You can change the Short and Long average lengths, but other than that, it is just a mathematical calculation.

So, think a bit more about what you are trying to do, and tell us, as well as show us your code (use code blocks).

Hopefully when you are trying to figure out how to explain yourself better, you will see some potential solutions, or you can tell us, and we can contribute.


You are absolutely right and I apologize.

I have a MACD crossover exploration. I want the scan to tell me the crossovers from yesterdaygreg1234
I run the scan on the 3rd or 4th day of the month and what I get back is the cross from the 28th, 29th or 30th. By that time the stock has already made its primary move up.
My goal is to have a HOT list of stocks that I scan each morning for a MACD crossover the following day. Even that following afternoon, if possible.
I hope this is a clear request.

What do you mean?

Get a HOT list of stocks after a morning scan! We can get the list based on crossovers that just happened on the previous day or on the basis of any other past condition.

But what do you mean when you say, "for a MACD crossover the following day"? Then you say:

Are you trying to predict future MACD crossover that might happen next day? Sorry still not clear.

If that is the case, then your query is a duplicate one - this has been discussed in the past extensively. A simple search would have got you to:

Having that said, it would be an anticipation only which might hold true or might not - still uncertain like!

1 Like

1st of all , please tell us what kind of data you are using?
You do know that you need IntraDay data (Not just Daily Bars) for what you say you are trying to accomplish , don't you?