This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community

Stochastic expert advisor in mode tick


Back to topics list
avatar
4
jaimegue 2009.08.27 21:13 

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

Attached files:
  david_basic_6_2_stocasticos.mq4 (9.94 KB)
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets