1. Use PositionScore.
http://www.amibroker.com/guide/h_portfolio.html
2. Run a dummy optimization.
Buy = Sell = 0;
Dummy = Optimize("System", 1, 1, 2, 1);
if (Dummy == 1) {
// Strategy 1
Buy = ...
Sell = ...
}
if (Dummy == 2) {
// Strategy 2
Buy = ...
Sell = ...
}
Alternatively, just run them all one after the other, then open the Report
manager (drop list button from AA window), and sort by date column to see their
results.
Mike
--- In [email protected], Radek Simcik <radek.sim...@...> wrote:
>
> Hi all,
>
> I was just wondering if anybody knows
>
> - how AB decides what trade to take in case there are let's say 5 possible
> trades but we have set up "MaxOpenPositions" to 3.
> - how to backtest two or more different systems/afl codes against each other
> in one go. So I can see the results on one screen.
>
> Thank you,
>
> Radek
>