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

RE: [amibroker] Quotetracker data disappears



PureBytes Links

Trading Reference Links

Question on backtesting

How can I define the maximum number of securities that can be bought 
everyday in a system? I can set up the max number of open position 
but not the max number of position that can be opened everyday. 
Rotational mode does not work for my system. 

Is there a way to set this up?

How would you do that with the following system?


Positionscore=volume; 

Buy= Close>ma(close,10);
ApplyStop (0,2,close-low,1); /* sell if close<low of the day I bought 
the stock */
ApplyStop (3,2,3,1);  /*  sell on the third day */
sell = 0;

short = close<ma(close,10);
ApplyStop (0,2,high-close,1);
ApplyStop (3,2,2,1);
cover = 0;


Regards,
Olivier



------------------------ 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/