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

Error on example for iStochastic


Back to topics list
avatar
15
turcol 2005.06.09 21:16 
if(iStochastic(NULL,0,0,5,3,3,MODE_SMA,MODE_MAIN,0)>iStochastic(NULL,0,0,5,3,3,MODE_SMA,MODE_SIGNAL,0)) return(0);

According with the documentation should be:
if(iStochastic(NULL,0,5,3,3,MODE_SMA,0,MODE_MAIN,0)>iStochastic(NULL,0,5,3,3,MODE_SMA,0,MODE_SIGNAL,0)) return(0);
Back to topics list  
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets