Page 1 of 1

MACD divergence detection indicator

Posted: 14 Jun 2008
by Tresor
Hi,

I am posting an idicator that detects regular divergence between the price and MACD. Just insert it onto your chart, then insert it again and change the plotseries to 2 ( this will then display the MACD itself with Trendlines ).

Regards

Posted: 03 Jun 2009
by irishkev
Great work. I was trying to learn how to do this. Thank you.

Kevin

Re: MACD divergence detection indicator

Posted: 26 Jul 2012
by RWDickinson
I am posting an indicator that detects regular divergence between the price and MACD. Just insert it onto your chart, then insert it again and change the plotseries to 2 ( this will then display the MACD itself with Trendlines ).
I know this is an old thread, but in case anyone else picks this up, I'd like to point out that the divergence should be between the price and the MacdVal, not MacdDiff. Pretty easy to change, but as-is you get strange divergence hits rather than the ones you want.

Re: MACD divergence detection indicator

Posted: 01 Aug 2012
by sptrader
I am posting an indicator that detects regular divergence between the price and MACD. Just insert it onto your chart, then insert it again and change the plotseries to 2 ( this will then display the MACD itself with Trendlines ).
I know this is an old thread, but in case anyone else picks this up, I'd like to point out that the divergence should be between the price and the MacdVal, not MacdDiff. Pretty easy to change, but as-is you get strange divergence hits rather than the ones you want.
*******************************************************************
Could you please post the updated(fixed) code or show exactly where the change needs to be made ?