As the title suggests, I’m getting inaccurate results when scanning for a MACD Line crossing (above or below) the MACD Signal line.
I created a scan without any other variables (see image) and it still returned inaccurate results.
This is an important scan for me so I would really appreciate the help to have it corrected, please?
Thank you,
David
Something is wrong you are right. Could you please send a ticket report, reffering to this topic please? I’ll do the same.
In the meantime, you can use this accurate version which is using codes to calculate the MACD:
linecode = average[12,1]-average[26,1]
signalcode = average[9,1](linecode)
testcode = linecode crosses over signalcode
screener[testcode]
for the record, the version that is not working is:
iline = MACDline[12,26,9](close)
signal = MACDSignal[12,26,9](close)
test = iline crosses over signal
screener[test]
Here is an email reply from tech support regarding the problem.
David.
“Following your request, please note first of all that the code which is generated by the simplified programming of the ProScreener is correct (MACD Line crosses over the MACD Signal).
However, there is a problem with the calculation of the MACD Signal in the ProScreener, but it is due to an internal calculation problem of the engine.
We have identified the problem and our technical team is currently working on a correction, which will be implemented as soon as possible.
Please note that depending on the complexity of the correction needed, it may take up to several weeks for the problem to be corrected.”