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

[amibroker] Scan Watchlist of Composites???



PureBytes Links

Trading Reference Links

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,
 
Ken
 
Here 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 Field

AddToComposite(PC01, "~SCORE3", "V");