Graham: thanks for the reply. How long have I been
using ATC and I guess, not really understanding that particular
flag.
Ken
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Graham
Sent: Thursday, August 17, 2006 6:59 PM
To: [email protected]
Subject: Re: [amibroker] Scan Watchlist of Composites???
flag 2 restricts from using the group 253 for crteating the composite
so change fro default to 5
On 17/08/06, Ken
Close <[EMAIL PROTECTED]>
wrote:
Such a basic question, but I need to ask.Surely it is possible to Scan and create composites from a watchlist of composites. Yes?I have been 45 minutes trying all sorts of variations of setting a Filter to a Watchlist of industry composites. Inspecting each in the Quote Editor shows values in all the relevant fields. I can plot graphs from the data in each composite.So I then create an ATC to read these composites and calculate a Percentage of the Watchlist meeting some condition.I can't get the composite of the composites created.When I run the ATC against a Watchlist of stock symbols, it creates the composite.Suggestions please.Thanks,KenHere is some simple test code: works on stock symbols, does not work with WL of composites.Filter
=1;Buy
=1;Price =
C/;E21 =
EMA(Price,21 );PC01 =
IIf(Price > E21,1 ,0);//<<<<<< C FieldAddToComposite
(PC01, "~SCORE3 ", "V");
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm __._,_.___
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
SPONSORED LINKS
| Software support | Small business finance | Business finance online |
| Business finance training | Business finance course |
YAHOO! GROUPS LINKS
- Visit your group "amibroker" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___
