PureBytes Links
Trading Reference Links
|
Equity works in Backtesting with Buy / Sell
rules.
Use Close Open etc for accumulating
values
<FONT face=Arial
size=2>AddToComposite(Close,"~Nameofstudy","X",...)
// Obtain stored values
ValueC = Foreign("~NameofStudy","C");
ValueO = Foreign("~NameofStudy","O");
etc
Filter = 1;
AddColumn(ValueC,"Close");
AddColumn(ValueO,"Open");
<BLOCKQUOTE
>
----- Original Message -----
<DIV
>From:
<A title=pushshanmugam@xxxxxxxxx
href="">pushshanmugam
To: <A title=amibroker@xxxxxxxxxxxxxxx
href="">amibroker@xxxxxxxxxxxxxxx
Sent: Sunday, March 16, 2003 10:07
PM
Subject: [amibroker] Custom Group
Chart
Hi all,I am new member of this group and trying
Amibroker product for the first time. I would like to create a
custom group chart. I have checked out the AddToComposite function but
unable to use successfully. This is what I did:I created custom
group with few stocks.I clicked on AutoAnalyser option and in the
AutoAnalyser window I entered this code:AddToComposite(Equity(),
"~SurrogateMedProducts", "X",
atcFlagDefaults);AddToComposite(Equity(), "~SurrogateMedProducts",
"V", atcFlagCompositeGroup | atcFlagTimeStamp );I clicked the
Filter button and selected my custom group.Then clicked Scan.It
created the index but the OHLC values created are same value. Why does it
so?For e.g. from QuoteEditor window this is what I
seeDate
Close Open High
Low Vol
OpenInt3/14/2003
494.376 494.376
494.376 494.376
492 03/13/2003
486.478 486.478
486.478 486.478
484 03/12/2003
463.62 463.62
463.62 463.62
461 0What I am doing
wrong?PushparajSend
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
Your use of Yahoo! Groups is subject to the <A
href="">Yahoo! Terms of Service.
Yahoo! Groups Sponsor
ADVERTISEMENT
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 the Yahoo! Terms of Service.
|