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

Re: [amibroker] Function



PureBytes Links

Trading Reference Links


Dear Tomasz
 
Thank you for your reply and sorry for nothaving 
read carrefully your documentation.
Is it possible to define a custom indicator with or 
without a variable period as parameter and use it in a AFL Script ?
 
Best Regards
 
Bernard Bourée<A 
href="">bbouree@xxxx
<BLOCKQUOTE 
>
----- Original Message ----- 
<DIV 
>From: 
Tomasz Janeczko 

To: <A title=amibroker@xxxxxxxxxx 
href="">amibroker@xxxxxxxxxxxxxxx 
Sent: Thursday, May 24, 2001 6:39 
AM
Subject: Re: [amibroker] Function
Hi,Here is what is written in AFL scripting host 
documentation:"Currently the only way to exchange the information 
between "normal" AFLpart and script part is to use 
variables."Calling functions accross AFL - script boundary is not 
supported yet.Note 2: Even if it will be supported in the future you 
will need to define the functionBEFORE using it since AFL parses the 
formula only once from top to bottom.Best regards,Tomasz 
Janeczko===============AmiBroker - the comprehensive share 
manager.<A 
href="">http://www.amibroker.com----- 
Original Message ----- From: <bbouree@xxxx>To: 
<amibroker@xxxxxxxxxxxxxxx>Sent: Wednesday, May 23, 2001 9:49 
PMSubject: [amibroker] Function> Tomasz> > I 
have tried to build a afl script with a VBScript Function starting > 
from the new features allowed by the last release of AB.> But it seems 
that it doesn't work.> > For instance:> > 
EnableScript("vbscript");> > Var = Func(10);> > 
<%> > Function Func(i)> > Func = 5 *i> 
> End Function> > %>> > But I get an 
error at Func which seems not to recognised.> > > 
> >  > > Your use of Yahoo! Groups is subject 
to <A 
href="">http://docs.yahoo.com/info/terms/ 
> > > Your 
use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service.