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

[amibroker] Loop without an array



PureBytes Links

Trading Reference Links




I  am also interested in how Salil uses "Layout 
feature"  and it would really help if Salil could 
 include a wonderful detailed explanation similar to what Graham did the 
other day regarding Sum() and cum().  Graham ended his explanation with 
Hope this helps.  Thanks Graham, it helped a lot.Ron D
<FONT 
face=Arial>===========================================================
Sum adds up the last "n" number of bars. It sums whatever you put into 
thefirst part of the sum formula.Cum(1) adds 1 to the previous value of 
Cum, so the first bar is 1 and itjust keeps adding one to the last bar value 
of cum(1). You can use Cum toadd anything, like how many times you get 
rising days in the entire chartRise = C>O; //this gives results of 0 or 
1TotalRise = Cum(Rise);You could limit this as well to time periods, 
or any other conditionExample would bne for total rise days since 
1995RecentRise = C>O and Year()>=1995; //this gives results of 0 or 
1TotalRise = Cum(RecentRise);If you wanted to know how many rising 
days in the last 12 bars you would useLastRises = Sum(Rise,12);Hope 
this helpsCheers,Graham
 
<FONT 
face=Arial>==============================================================
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  john gibb 
  
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Thursday, March 25, 2004 10:57 
  AM
  Subject: Re: [amibroker] Layouts -- A 
  very useful feature
  
  Hi Salil,I would be interested to know how you use this 
  feature.I have only used it briefly, but wonder if it might help me 
  review andorganize the 100's of custom-indicator scripts i have 
  collected.thanks-john----- Original Message ----- 
  From: "Salil V Gangal" <<A 
  href="">salil_gangal@xxxxxxxxx>To: 
  <<A 
  href="">amibroker@xxxxxxxxxxxxxxx>Sent: 
  Thursday, March 25, 2004 6:34 AMSubject: [amibroker] Layouts -- A very 
  useful featureFriends,I 'discovered' Layout feature of 
  AmiBroker just a few days ago.Since then I've used it often. I find it 
  very useful.Regards,- Salil V GangalSend BUG 
  REPORTS to bugs@xxxxxxxxxxxxxSend 
  SUGGESTIONS to <A 
  href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: <A 
  href="">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.htmlYahoo! 
  Groups LinksSend BUG REPORTS to <A 
  href="">bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
  <A 
  href="">suggest@xxxxxxxxxxxxx-----------------------------------------Post 
  AmiQuote-related messages ONLY to: <A 
  href="">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 
  Yahoo! Groups Links<*> To visit your group on the web, go 
  to:     <A 
  href="">http://groups.yahoo.com/group/amibroker/<*> 
  To unsubscribe from this group, send an email to:     
  <A 
  href="">amibroker-unsubscribe@xxxxxxxxxxxxxxx<*> 
  Your use of Yahoo! Groups is subject to:     <A 
  href="">http://docs.yahoo.com/info/terms/
   
  ---Outgoing mail is certified Virus Free.Checked by AVG 
  anti-virus system (<A 
  href="">http://www.grisoft.com).Version: 6.0.638 
  / Virus Database: 409 - Release Date: 3/25/2004


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.