Im trying to set up a script telling me when stochastic goes over r lower a lmit.
i compiled it, no problem,
But when I apply to the graph, nothing happens....
any suggestion ?
Thanks
while(k<n)
{
StochCurrent = iStochastic(NULL,0,5,3,3,55,0,55,0);
if(StochCurrent>68)
{
Print("stochastic > 68!!! - SELL ");
return(0);
}
if(StochCurrent<35)
{
Print("stochastic < 35!!! - BUY ");
return(0);
}
}
i compiled it, no problem,
But when I apply to the graph, nothing happens....
any suggestion ?
Thanks
while(k<n)
{
StochCurrent = iStochastic(NULL,0,5,3,3,55,0,55,0);
if(StochCurrent>68)
{
Print("stochastic > 68!!! - SELL ");
return(0);
}
if(StochCurrent<35)
{
Print("stochastic < 35!!! - BUY ");
return(0);
}
}