View Single Post
  #3 (permalink)  
Old 06-03-2006, 06:30 PM
elihayun's Avatar
elihayun elihayun is offline
Senior Member
 
Join Date: Jan 2006
Posts: 350
elihayun is on a distinguished road
Quote:
Originally Posted by wananohoshi
A few minutes ago I replaced the iCustom Juice call with a iStdDev (=Juice?) one, and got the appropriate values. So it seems that I am not addressing Juice right, but what is my mistake?
Juice have 2 parameters. Look at the code


extern int Periyod=7;
extern double Level=0.0004;

and two buffers
#property indicator_buffers 2
So u have to pass the parameters to the iCustome command
double J1 = iCustome(NULL,0, "Juice", 7, 0.0004, 0, 0);
the above command will return the first buffer value from the current bar

Hope it will help
Eli
Reply With Quote