Hello,
It will open just one position per symbol BY DEFAULT (if you
use 1 or True in buy array).
If it is pyramiding it means that you told it to do so by
specifying sigScaleIn in buy array.
Best regards, Tomasz Janeczko amibroker.com
----- Original Message -----
Sent: Saturday, May 06, 2006 3:17
AM
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
SPONSORED LINKS
YAHOO! GROUPS LINKS
|