Hi, I'd like my algorithm to size each position so that it is evenly dividing my equity among the stocks that met my criteria. In other words, I want the number of open positions to equal the number of symbols I found where Buy == True, and the position size as a % of equity would be equity / num symbols. So if 5 stocks met my criteria, they would each get 20% of my equity. If I found 10 stocks, they'd each get 10%, etc.
Any tips on how to accomplish this? Thank you, Joel ------------------------ Yahoo! Groups Sponsor --------------------~--> Yahoo! Groups gets a make over. See the new email design. http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/GHeqlB/TM --------------------------------------------------------------------~-> Please note that this group is for discussion between users only. To get support from AmiBroker please send an e-mail directly to SUPPORT {at} amibroker.com 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/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
