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

[amibroker] A beginners problem



PureBytes Links

Trading Reference Links

My "buyprice" and "shortprice" during backtesting is calculating as a 
factor of the close, high, & low, of the signal day (I use a 1-day 
delay). What I am noticing is that if my buyprice falls outside the 
range for that day, the backtester automatically buys at the low for 
that day(even though the buyprice calculated by my formula was too 
low). Contraversely, if my shortprice falls outside the range for 
that day, the backtester automatically shorts at the high for that day
(even though the shortprice calculated by my formula was too high). 

This leads to inflated profits, since I am entered in trades(at 
perfect entry points) and profits for trades I should have missed.

Is there a way I can tell backtester NOT to enter the trade if my 
buyprice or shortprice falls outside the range for that day?

PS. I am using version Amibroker 4.50

Thanks

Chris, 


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 

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

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/