| 
 PureBytes Links 
Trading Reference Links 
 | 
// PREV
Z =(A*B)+(C*PREV);
can be written in AFL as:
Z = AMA2( A(array), B, C 
);
also:
xx = FactorA * Close + 
(FactorB * PREV(xx)); // 
metastock
translates to:
xx = AMA2( Close, FactorA, FactorB );
<FONT 
size=2>herman
  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Ara Kaloustian 
  [mailto:ara1@xxxxxxxxxx]Sent: Saturday, February 21, 2004 8:04 
  PMTo: Ami-MainSubject: [amibroker] AFL 
  x=x+C
  I am looking to convert a Trade Station code to 
  AFL.
   
  One problem is formulas with x=x+c type 
  construct.
   
  I know Tomasz has answered it before using AMA(), 
  but can not find the answer.... anyone have it?
   
  Thanks
   
  AraSend BUG REPORTS to 
  bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  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 
  
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
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
Yahoo! Groups Sponsor
ADVERTISEMENT
Click Here
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/ 
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
 
 |