Stochastic expert advisor in mode tick

 

Hi

I was programing a Expert advisor with Stochastic function. I note that when a put tick mode = true in expert properties the next function sent 0 value in all the tickts. In mode Bar tick=false, works correct.

double StockSiguienteLentoS = iStochastic(NULL, 0, 21, 9, 9, MODE_EMA, 0, MODE_SIGNAL, Current-1);

Could any one tell me what's wrong int this explain?

Thank you very much

Sorry for my english

Reason: