the same problem with -1 or +1   thanks
--- In [email protected], "Lester Vanhoff" <[EMAIL PROTECTED]> 
wrote:
>
> Are you referencing everything into the future on purpose?
> 
> sup = Ref(Trough(L, Chg, 1), 1);
> sup1 = Ref(sup,1);
> 
> If not, then the last number in each line should be:
> 
> -1);
> 
> 
> --- In [email protected], "Dheya1" <dheya1@> wrote:
> >
> >   
> >  if you can help me please.  
> >  the problem with it ,the signal appear on the chart  but  not 
stable 
> > some times it goes and come back again and if it appears and I 
use 
> > scan function it also late more than before .         
> >  Also when I use (n last quotations =1 ) there is no result even 
> > there is many when I use the(  from to date ) and I tried it 
with 
> > other afl it's working.
> > 
> > Thanks
> >        
> >   
> > Chg=2
> > sup = Ref(Trough(L, Chg, 1), 1);
> > sup1 = Ref(sup,1);
> > pat = IIf(sup != sup1,1,0);
> > Plot(pat,"pat",5,1);
> >  
> >  
> > Buy=pat ;
> >
>


Reply via email to