| 
 PureBytes Links 
Trading Reference Links 
 | 
Unfortunately, most of the functions within AFL require a 
static or constant input parameter for PERIODS. Like MetaStock.
 
There are a few, such as MA(ARRAY, PERIODS) which will allow 
for a dynamic (changing) Periods parameter.
 
I suspect that the programming and array memory overhead is 
increased, which is why TJ hasn't converted over to dynamic parameter 
input.
 
I have had excellent results using dynamic parameters. It 
allows me to create systems that change their own input parameters mid-stream 
according to specific market events. Unfortunately, I also had to drop 
everything for a few months to learn and translate code into vb 
script.
 
-CS
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Jim Hutchison 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, February 18, 2003 6:35 
  AM
  Subject: RE: [amibroker] Need Help
  Thank you!Could you tell me why this is 
  needed.Jim Hutchison-----Original Message-----From: 
  Anthony Faragasso [mailto:ajf1111@xxxxxxxx] Sent: Tuesday, February 18, 
  2003 9:03 AMTo: <A 
  href="">amibroker@xxxxxxxxxxxxxxxSubject: 
  Re: [amibroker] Need HelpJim,After your RS=IIf(Trend == 
  1,14,IIf(Trend == 2,7, 4)); statement add 
  thefollowing:RS=lastvalue(RS);Best 
  wishesAnthonyPost 
  AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
  href="">http://groups.yahoo.com/group/amiquote/messages/)Check 
  group FAQ at: <A 
  href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
  Your use of Yahoo! Groups is subject to the <A 
  href="">Yahoo! Terms of Service. 
Yahoo! Groups Sponsor
  ADVERTISEMENT  
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 |