Each day I get a various number of stocks that I want to posssibly trade the next day. I don't know ahead of time which stocks will hit their price point. Also to lower risk I want to divide my money up into a number of possible slots. So I may make 10 slots and so only take 10 trades, each at 1/10th of my money. I'm thinking that if I have a lot of possible stocks for the next day then I want to raise the number of slots and if I have very few possible stocks then lower the number of slots. This will keep my money invested as much as possible.
So the problem is that I don't know how to put this all in one program. I know how to write a scan that will give me the stocks for tomorrow and I know how to back test based on a fixed number of slots. But I want to be able to combine the two and know for the next day, in the backtesting program, how many possible stocks so I can increase the number of slots. Is this possible with Amibroker backtester and if so can someone point me in the right direction. Thanks, Mark
