CDC RSI Divergence 15-10-2016

An updated version of CDC             RSI Divergence
The last version have fixed reversal amount to weed out false signal.
The reversal amount, however, needs to be calibrated to different chart.
The new one uses ATR instead, user can customize the ATR multiplier.


though it can be used in such a way it is not designed to.
The system helps identify Bullish and Bearish Divergence to help trader change their bias accordingly and should be used in conjunction with a trend following signal.

BULLISH DIVERGENCE is displayed with a green fill over 50 line.
BEARISH DIVERGENCE is displayed with a red fill under 50 line.
The indicator start on the bar where divergence is detected and persists for another 25 bars for easy regcognition.
Remove from Favorite Scripts Add to Favorite Scripts
thank you for ur works. ur indicator seems useful how can i use this? shall i create a new indicator mql4 file in edtor? thank u for support
I personally use this to assist my MACD system.
I would take the prebuy and presell (macd cross signal line) only if a divergence is present , otherwise, stick to 2ma (macd cross zero)
i create new indicator file in editor and it didnt work. i checked it and there two error lines 66 error is ")" and 2 error is "study".
Have you tried just duplicating the code and edit them?