| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi TJ,
the recent AFL improvements are really great (loops, functions etc.).
Thanks.
With script it is possible to access the database/stocks in a loop 
simply by using a counter. For example:
var oAB = new ActiveXObject("Broker.Application");
var oStocks = oAB.Stocks;
for( i = 0; i < oStocks.Count; i++ )
{
oStock = oStocks( i );
.....
Is there a similar aproach in AFL ?
If not, will you add this possibility ?
Also very usefull: REAL GLOBAL variables, which are not re-
initialised with every individual AFLrun/symbol:
If I do optimisation or if I explore/backtest over several symbols, I 
would like to store data in variables, which are accessible during 
each individual AFL-run (for each individual symbol), to calculate 
overall/composite statistics, equities, positionsizes etc.
I know there is a work-around with addtocomposite, but this not so 
flexibel.
Stefan 
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/BVVfoB/hP.FAA/uetFAA/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/ 
 |