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

[amibroker] Enter position once?



PureBytes Links

Trading Reference Links

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






------------------------ Yahoo! Groups Sponsor --------------------~--> 
You can search right from your browser? It¿s easy and it¿s free.  See how.
http://us.click.yahoo.com/_7bhrC/NGxNAA/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/