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

[amibroker] Re: Simultaneous trades?



PureBytes Links

Trading Reference Links

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 amibroker@xxxxxxxxxxxxxxx, Graham <kavemanperth@xxx> wrote:
>
> hyave you specified the PositionSize=-5;
> 
> On 07/07/06, herrfrechdax <herrfrechdax@xxx> 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
>