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

[amibroker] Re: Global Parameter??



PureBytes Links

Trading Reference Links

Bruiser
Add this line to your code
PositionSize = Equity()/5;

And check your settings for starting capital and number of open positions

Cheers,
Graham
http://e-wire.net.au/~eb_kavan/

-----Original Message-----
From: bruiserbbq [mailto:bruiserbbq@xxxxxxxxxxxx] 
Sent: Thursday, July 01, 2004 11:31 AM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: What's wrong with this backtest?

Thanks again Graham. Your last post improved things a bit. When I 
scan CTX for 1000 days...it gives me the buy and sell dates ok.
(108 of them) but when I backtest...it only shows 2 trades...and 
both start and finish on the same days. 21/5/2001 & 26/11/2001.

Go figure?

Confused Bruiser 




Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at:
http://groups.yahoo.com/group/amibroker/files/groupfaq.html 
Yahoo! Groups Links



 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~-> 

Check AmiBroker web page at:
http://www.amibroker.com/

Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.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/