Stochastic Oscillator indicator, native code

 
Hi, would it be possible to get the .mq4 code for the native Stochastic oscillator. There is a dfference between the Stochastic indicator available in the experts/indicator folder and the inbuilt stochastic indicator. This can be seen when plotted on a chart. i am using only the %K with %D set to 1. The native indicator is superior to the one in the indicator folder. Can you please help. Thank You