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

Re: [amibroker] 10 long and 10 short every day



PureBytes Links

Trading Reference Links

You could use a loop to keep count of your trades and define the
entries as zero if your limit number is achieved

-- 
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 15/08/06, giggollo99 <giggollo@xxxxxxxxxxx> wrote:
> When doing a backtest, is there a way to require Amibroker to trade
> exactly 10 long stocks and 10 short stocks everyday? I know i can set
>
> "maximum number of positions" = 20,
> Long/short
>
> but that can result in say, 15 long and 5 short on one day and then 3
> long and 17 short another day, etc...any suggestions are much
> appreciated
>
> Thanks
> g
>
>
>
>
>
> 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
>
>
>
>
>
>
>
>