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

[amibroker] Re: Optimizing hand-picked entry signals for exits



PureBytes Links

Trading Reference Links


Hi again,
Once I optimize the exit values, how can I do 'backtest' now? This 
won't work anymore since I am dependent on 'optimize' for the loop.
Thanks in advance for any suggestions.

--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> You read your tickers one by one using Optimize and StrExtract(), 
something
> like:
> 
> TickerList = "MSFT, CSCO, ... ");
> n = Number of tickers in list
> TickerNum = Optimize("TickerNum",0,0,n,1);
> SetForeign(StrExtract(TickerList,TickerNum));
> .... your systems code here ...here you would also have to enable 
trades
> only when your tradelist tells you to ...
> .... might not be all that easy...
> 
> Performing an optimization will produce a report listing stats for 
each
> ticker in your list.
> 
> None of the above is tested. please verify syntax and read up on 
the
> functions used.
> 
> best regards,
> herman.
> 
> 
>.





------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

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