Get %k and %d value of stochastic

 

HI i'm a new user. I created an EA that use a iStochastic indicator. When I get the value of signal with copybuffer, this is different to graph.

Anyone hep me?

 
Marco Sarti:

HI i'm a new user. I created an EA that use a iStochastic indicator. When I get the value of signal with copybuffer, this is different to graph.

Anyone hep me?

You have a bug in your code.

Reason: