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

Re: [amibroker] Execute AFL Once Per Backtest (Not Once Per Symbol)



PureBytes Links

Trading Reference Links

Hello,

Things like that should be done from EXTERNAL script (Windows Scripting Host).
First do your watch list stuff, then run backtest. All automatically
controlled by external script that you would launch by double click on icon.
http://www.amibroker.com/guide/objects.html

Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message ----- 
From: "davemabe2000" <davemabe@xxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Tuesday, January 08, 2008 6:08 PM
Subject: [amibroker] Execute AFL Once Per Backtest (Not Once Per Symbol)


> Is there a way to have some AFL code execute once just before any
> backtesting is performed?  I've got some AFL that empties a watchlist
> and then fills it with just the symbols I'm testing with (which is
> different for each backtest).
> 
> My AFL works ok, but after looking at DebugView the emptying and
> populating of the watchlist is happening once per symbol, so it ends
> up executing this multiple times.
> 
> Is there a way to use the COM model to execute some AFL code to make
> the watchlist modifications (but not actually perform a backtest)?
> 
> 
> 
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
> 
> For other support material please check also:
> http://www.amibroker.com/support.html
> 
> Yahoo! Groups Links
> 
> 
> 
> 
>


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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

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/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/