[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] How to vary the Positionsize based on number of possible stocks for that day???



PureBytes Links

Trading Reference Links

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




------------------------------------

**** IMPORTANT ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

*********************
TO GET TECHNICAL SUPPORT from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
*********************

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/

For other support material please check also:
http://www.amibroker.com/support.html

*********************************
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/