Hello, You would need to use custom backtester procedure. Check how many symbols generate buy (iterate through signal list) and then use -100/sigqty formula to assign position size to signal list.
Best regards, Tomasz Janeczko amibroker.com ----- Original Message ----- From: "onlyobsession2k3" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, July 20, 2006 10:05 PM Subject: [amibroker] How to get # symbols where Buy == True to evenly divide equity? > 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 > > > > > > > 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 > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/SISQkA/gOaOAA/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/
