No, not the way you are intending. By default AmiBroker will remove redundant signals during a backtest. An example of a redundant signal would be if you generated a Buy signal for ABC on each of Monday and Wednesday, but your Sell signal for ABC does not come until Friday. In that scenario, the Wednesday Buy signal is considered redundant (i.e. you would have acted on the Monday signal) and will thus be removed from the list of signals before further processing.
Changing the backtest mode is an advanced topic that most users should not need to worry about. It would cause the Wednesday signal to remain in the signal list and optionally be actionable for entering an additional position on that symbol (e.g. ABC in the example above). Setting the backtester mode would not be enough, however, to allow you to enter positions on other symbols, which I believe is what you were trying to do. For that, use MaxPositions and PositionSize as advised by jolly. Mike --- In [email protected], "equtrader" <equtra...@...> wrote: > > > > --- In [email protected], "jollypollyanna" <jollypolly999@> wrote: > > > > You can fill in how many open positions you want and what amount of your > > trading capital to invest in each. There are other ways than this. > > > > In this example you have 10 positions maximum open at any one time and > > all your equity is divided by bthe 10 positions. So for 100,000 equity > > = 10 positions of 10,000. (approximately) > > > > PosQty = 10; // You can define here how many open positions you want > > SetOption("MaxOpenPositions", PosQty); > > PositionSize = -100/PosQty; // invest 100% of portfolio equity divided > > by max. position count > > SetTradeDelays(1,1,1,1); // delay buy, sell, short, cover by 1 bar. > > > > In Amibroker Users Guide, type in Portfolio-level back testing for a > > better explanation. Take note of position score too. > > > > > > --- In [email protected], "equtrader" <equtrader@> wrote: > > > > > > Hello everyone, > > > > > > I am trying to learn how to backtest with AB and I cannto figure out > > how to make a simple strategy to have multiple open positions. I get a > > new tarde only after the previous open trade is closed but I want to be > > able to have multiple open positions. Does anyone know what I must do > > for that? > > > > > > Thanks in advance, Joe > > > > > > > > Thanks, I also figured out I can use > > SetBacktestMode( backtestRegularRawMulti ); > > to affect multiple open positions. Is that correct? > > Joe >
