New Members: Be sure to confirm your email address by clicking on the link that was sent to your email inbox. You will not be able to post messages until you click that link.
Scanning for MACD-H divergences
I am trying to establish a scan for MACD-H Divergences looking back 40 periods.
[type = stock] and [close >10.0] and [volume > 400000] and [close > yesterday's max (40,close)] and [MACDH < yesterday's min (40,MACDH)]
Why does this not work? I can't find a syntax guide or a way to correct.
Thanks
0
Comments
I'm guessing you want MACD Hist. So open the Technical Indicators drop down and click on the MACD Hist option, then click Insert. It will show up at the BOTTOM of the scan window (you may have to scroll down to see it).
You will see "and [MACD Hist(12,26,9) > 0.0]"
Cut and paste that version of MACD Hist everywhere you have MACDH in your scan and see if that helps.
The reason is, the scan engine allows you to substitute the parameters 12,26,9 with any combination you want, but it needs to know what they are.