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

[amibroker] trade next day, but don't buy if it gapped up too far



PureBytes Links

Trading Reference Links

in real life I do my analysis overnight, and trade those signals at around
10:30 the next day. suppose I want to skip a buy if the stock gaps up too
far the morning before I buy. what's the best way to backtest that?

usually my AA prefs are set to trade with one day delay. if I leave them
like that, would setting buyprice to the max I'd be willing to buy at do it?
should that be done on the day of the signal, or the following day, the buy
day?

alternatively, I could use zero trade delay for buys, and do something like
this after everything else is done:
	buy = Ref(buy, -1);

what effect would that have on trade prices?

are there other better ways to approach this?

thanks,

dave


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