PureBytes Links
Trading Reference Links
|
Hello,
I am going through some older messages to learn about
AddToComposite.
Can someone explain the purpose of "inc" in message #24417 below.
Would the formula work without using "inc"?
example:
sym = "~" + SectorID(1);
AddToComposite(L, sym,"L");
AddToComposite(O, sym,"o");
AddToComposite(H, sym,"h");
AddToComposite(C, sym,"c");
AddToComposite(V, sym, "V");
thank you
kris
****************************************************
Message 24417 of 53149
From: "Tomasz Janeczko" <amibroker@xxxx>
Date: Fri Sep 13, 2002 7:30 am
Subject: Re: [amibroker] composite indexes
Hello,
You can also write universal formula:
inc = 1;
sym = "~" + SectorID(1);
AddToComposite( inc * L, sym,"L"); AddToComposite( inc * O,
sym,"o"); AddToComposite( inc * H, sym,"h"); AddToComposite( inc * C,
sym,"c");
AddToComposite( inc * V, sym, "V");
that calculates individual composites for each sector automatically;
Best regards,
Tomasz Janeczko
amibroker.com
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
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
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|