Hi, I believe that the following example covers what you are asking for. Just strip out the readjustment of count and the second pass through the signals (i.e. only go through the signals once since you're not trying to adjust the position sizes).
http://finance.groups.yahoo.com/group/amibroker/message/133489 You can use Foreign to Plot ~Signals on your chart. Mike --- In [email protected], "Gonzaga" <gonzag...@...> wrote: > > Hi > I'd like to obtain a very important information I need when I execute a > backtest, and I suppose I have to obtain it using portfolio backtest > instructions. > I want to know how many open signals do I have when backtesting a portfolio. > So, when I backtest 500 stocks in end-of-day bars, somedays I would buy 2 > stocks, other days 15 stocks. That is a problem; and I would like to see how > many open signals do I have every day.. (and perhaps draw it in a graphic) > I've tried with the code samples of Amibroker's help,but I have not been > able.. > > Any suggestions? > Thanks >
