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
MACD divergence detection indicator
MACD divergence detection indicator
- Attachments
-
- MACD DIVERGENCE.ELD
- (7.67 KiB) Downloaded 1381 times
-
- Posts: 43
- Joined: 01 Dec 2008
- Has thanked: 2 times
- Been thanked: 2 times
Re: MACD divergence detection indicator
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.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 ).
-
- Posts: 742
- Joined: 09 Apr 2010
- Location: Texas
- Has thanked: 483 times
- Been thanked: 274 times
- Contact:
Re: MACD divergence detection indicator
*******************************************************************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.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 ).
Could you please post the updated(fixed) code or show exactly where the change needs to be made ?