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

[amibroker] Re: Sigma Bands



PureBytes Links

Trading Reference Links




you can use loops for 
cumulative sums
here is a nonsensicle 
example
 

d = C - 
Ref(<FONT 
face="Courier New" color=#ff0000 size=2>C<FONT 
size=2>,-1);
x[0] = 
1000<FONT 
size=2>;
for(i=<FONT color=#ff00ff 
size=2>1;i<=<FONT color=#ff0000 
size=2>BarCount-<FONT color=#ff00ff 
size=2>1;i++)
{ x[i] = x[i-1<FONT 
size=2>]+d[i]<FONT 
size=2>;}<FONT 
face=Arial>
 
 
 
Cheers,Graham<A 
href="">http://e-wire.net.au/~eb_kavan/ 


  
  <FONT 
  face=Tahoma size=2>-----Original Message-----From: Ara Kaloustian 
  [mailto:ara1@xxxxxxxxxx] Sent: Sunday, 22 February 2004 9:04 
  AMTo: 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 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.