Stochastic show bad value not works T.T ..help pliss..

 

the question.. is than I try take the data of oscillator stochastic for the data than show .. is bad.. T.T

Example:. the data true an good is : %K = 47.9

the data of progrma is = %K 100

/* The value important is %K the %D not is important help.. I need the data good of oscillator for EA than do? */

D: T-T


Adjunt: program in mql4 (Sorry for bother)

Gad!! care you.
Files:
 
The standard Stochastic indicator isn't the problem. Post YOUR code.
 
heee... now fix the problem trahnks... for you help :)