Something else is wrong. To get the backtester to pyramid you have to
provide specific code using SigScaleIn, otherwise when it already has a
position in a specific equity it will NOT buy that equity again until
after a Sell signal.
--
Terry

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of csvirtual
Sent: Friday, May 05, 2006 19:17
To: [email protected]
Subject: [amibroker] Enter position once?

Hello,

my problem with backtesting is that a trade is entered when the signal
is given although an earlier signal provided the entry! So it is
pyramiding.

I just want to enter with 100% of equity and first after a sell go
long again, not during an open trade. How can I code this?
I use SetPositionSize( 100, spsPercentOfEquity ) and
SetOption("initialequity",25000)

Any help appreciated

thanks







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








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





SPONSORED LINKS
Investment management software Real estate investment software Investment property software
Software support Real estate investment analysis software Investment software


YAHOO! GROUPS LINKS




Reply via email to