You will need to be more descriptive of what you are doing. Are you running your backtest just once, over a larger universe of symbols, and allowing trades only if the symbol can be found in any of the subset watchlists?
Or, are you running your backtest once for each watchlist? If the first scenario, then you would likely have to write custom backtest code. The reason being that you still want AmiBroker to do the PositionScore sorting for you. Otherwise you could use static variables, but you would have an ordering bias in your results. - iterate through the signal list at each bar - identify which of the valid watchlists the signal comes from - compare against a local boolean to see if you've already allowed a signal from that list - if not yet accepted, set boolean to true, else set signal.PosSize to 0 (i.e. cancel signal) http://www.amibroker.org/userkb/2008/03/16/amibroker-custom-backtester-interface-2/ If the second scenario, then set max positions as instructed. That will allow entering a single position from that list. Mike --- In [email protected], "pointsmax" <points...@...> wrote: > > Thanks Mike, > > but maxopenpositions should be 10, each of an individual watchlist with x > symbols. > > Steve > > --- In [email protected], "Mike" <sfclimbers@> wrote: > > > > Set maximum postions to 1 in your Automatic Analysis window. > > > > Mike > > > > --- In [email protected], "pointsmax" <pointsmax@> wrote: > > > > > > Hello, > > > > > > I need some help please with the following problem: > > > > > > I have three watchlist witch I am trading with the same system. But only > > > one ticker of each watchlist can be bought. > > > > > > So if ticker 1 of wacthlist 1 is alredy bought, the other signals > > > shouldn´t be processed in this watchlist until ticker 1 is sold. > > > > > > I have no idea, how I could solve this. > > > > > > Thanks a lot for your help. > > > Steve > > > > > >
