PureBytes Links
Trading Reference Links
|
Would need to see the code to see what could be wrong
Looping through symbols within the aFL will not produce signals for
the current symbol unless you are using foreign trade signals for the
current symbol signals
There could be other things in your code or AA window settings
stopping other symbols from trading
--
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
On 07/07/06, herrfrechdax <herrfrechdax@xxxxxxxx> wrote:
> 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
> >
>
>
>
>
>
>
>
>
> 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
>
>
>
>
>
>
>
>
|