[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Re: help with afl problem



PureBytes Links

Trading Reference Links

the same problem with -1 or +1   thanks
--- In amibroker@xxxxxxxxxxxxxxx, "Lester Vanhoff" <ebsn247lsm@xxx> 
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 amibroker@xxxxxxxxxxxxxxx, "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 ;
> >
>



Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.2/641 - Release Date: 1/20/2007 10:24 AM