PureBytes Links
Trading Reference Links
|
Thanks Steve, I must be doing something wrong keep getting errors
could you please include a description on how to use the script
is there something else that should be include with the script eg other afl
info
Thanks David
ps im a code dummy so use the KISS format pls
----- Original Message -----
From: "Steve" <slwiserr@xxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Thursday, May 31, 2001 4:49 AM
Subject: [amibroker] Example of a VB User defined function...
> EnableScript("vbscript");
> <%
> close = AFL( "close" )
> factor = 0.09
> var1=close
> SetValue Close
>
> Function SetValue(Close)
> for i = 1 to UBound( close )
> var1( i )= factor * close( i ) + (1 - factor) * var1( i -
> 1 )
> next
> end function
>
> AFL.Var("graph0") = close
> AFL.Var("graph1") = var1
> %>
> WriteVal( graph1 );
>
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
|