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

[amibroker] Custom Group Chart



PureBytes Links

Trading Reference Links

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 see
Date            Close   Open    High    Low     Vol    OpenInt
3/14/2003	494.376	494.376	494.376	494.376	492	0
3/13/2003	486.478	486.478	486.478	486.478	484	0
3/12/2003	463.62	463.62	463.62	463.62	461	0

What I am doing wrong?
Pushparaj


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Make Money Online Auctions! Make $500.00 or We Will Give You Thirty Dollars for Trying!
http://us.click.yahoo.com/yMx78A/fNtFAA/46VHAA/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/