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

[amibroker] Re: help with afl problem



PureBytes Links

Trading Reference Links

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@xxx> 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.1/640 - Release Date: 1/19/2007 4:46 PM