Graham, poitionsSize is set according to the numbr of contract I want to trade: contracts = 2; PositionSize = Contracts * MarginDeposit;
Its not working when I loop through a market-category using CategorieGetSymbols(), when I hard-code the symbols its fine. But since this loop is so slow I will remain on the hardcoded- sysmbols version. It is solved, its strange anyway but cant spent much more time on this bullshit, took me almost the whole week. thx enzo --- In [email protected], Graham <[EMAIL PROTECTED]> wrote: > > hyave you specified the PositionSize=-5; > > On 07/07/06, herrfrechdax <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I have Max open positions set to 50, a trade would use only 5% of > > equity but there is always only 1 trade at a time when I backtest the > > strategy. > > > > What to do? > > > > enzo > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > -- > Cheers > Graham > AB-Write >< Professional AFL Writing Service > Yes, I write AFL code to your requirements > http://e-wire.net.au/~eb_kavan/ab_write.htm > ------------------------ Yahoo! Groups Sponsor --------------------~--> Check out the new improvements in Yahoo! Groups email. http://us.click.yahoo.com/6pRQfA/fOaOAA/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/
