Stochastic missing signal

 

Hi folks,

this is my first post i hope the way i do it is ok.

pls see my code at first:

      if(   iStochastic(NULL, PERIOD_CURRENT, 5, 3, 3, MODE_SMA, 1, MODE_MAIN, i) > 20    
         && iStochastic(NULL, PERIOD_CURRENT, 5, 3, 3, MODE_SMA, 1, MODE_MAIN, i) < 80    
         && iStochastic(NULL, PERIOD_CURRENT, 5, 3, 3, MODE_SMA, 1, MODE_SIGNAL, i) > 20  
         && iStochastic(NULL, PERIOD_CURRENT, 5, 3, 3, MODE_SMA, 1, MODE_SIGNAL, i) < 80  
         && iSAR(NULL, 0, 0.02, 0.2, i) < Close[i] && Close[i] < Open[i]
      )

and pls see now the picture: pls pay attention to the redline i dont receive there a signal why? whats my mistake?

i get only signals when

stochastic(mode_main) greater than stochastic(mode_signal)

 
Assign your calls to variables. Use the debugger or print out your variables, including _LastError and prices and . Do you really expect us to debug your code for you?
Reason: