PureBytes Links
Trading Reference Links
|
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: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On
Behalf Of csvirtual
Sent: Friday, May 05, 2006 19:17
To: amibroker@xxxxxxxxxxxxxxx
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
------------------------ Yahoo! Groups Sponsor --------------------~-->
Everything you need is one click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/AHchtC/4FxNAA/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:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|