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

[amibroker] Back Testing Problems



PureBytes Links

Trading Reference Links

I ran a back test of a simple strategy just to get a hang of the 
software.

Buy = (EMA(Close,10) - EMA(Close,20)) > 0;

Sell = (EMA(Close,10)- EMA(Close,20)) < 0;


Short = (EMA(Close,10)- EMA(Close,20)) <0;

Cover = (EMA(Close,10)- EMA(Close,05)) > 0;


I ran this on the nasdaq composite (COMPQX from TC2000).

The problem is that when I run a backtest, it will show that it was 
short from 3/4/03 t0 3/5/03 and then it is short from 3/5/03 to 
3/6/03 and it is short from 3/6/03 to 3/7/03.  This is throwing all 
the report statistics off.  How can I correct this problem?


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/