I tried to create a composite by using following ATC formula and run a
scan against a watchlist but I get price chart of the 'first symbol'
on the list & not the composite value of the watchlist.what change is
needed to get a composite, the formula is as following.
/* AddToComposite statements are for Automatic Analysis -> Scan */
/* add Close price to our index OHLC fields */
AddToComposite(Close, "~MyIndex", "X" );
/* add one to open intest field (we use this field as a counter) */
AddToComposite( 1, "~MyIndex", "I" );
Buy = 0; // required by scan mode
/* this part is for Indicator Builder */
Graph0 = Foreign( "~MyIndex", "C" )/Foreign( "~MyIndex", I" );
any help would be appreciated.
thanks
Osgem
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/