I've made the necessary modification for the indicator to support MT4 v.7.6.5.
Probably this Stochastic Divergence.mq4 might help to give you a quick view of price & stochastic difference (although it's not perfect).
Here's the version of atstraderRecentCandles.mq4 which is compatible with Metatrader Version 4 Build 7.1.1 after some minor amendment. Good luck