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.
How do I write a scan for a Macd histogram crossing it's ema line? i.e. the Macd crossed above it's ema(20). TIA
and [MACD Hist(12,26,9) x ema(20, MACD Hist(12,26,9))]
So if the Hist bars in the MACD Hist indicator (not the MACD) are below zero, they cross above the ema by getting shorter. If the Hist bars are above zero, the cross the ema by getting taller.
Is that what you want?