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

Re: [amibroker] Re: playing with exits



PureBytes Links

Trading Reference Links

Hi Phsst,

Friday, November 28, 2003, 2:11:59 PM, you wrote:


AND ref(Open, 1) < BStopLevel'  appended to the buy works in the
sense that it gives me all losers (with the corresponding appended to
the short statement).

A very odd thing about the back tester though: this is on the same
portfolio over the same time . . .

Changing the sell and cover from 'open' to 'close' changes the number
of trades (!).  How on earth could that be?  They *must* be exactly
the same number.  The only thing that is happening is that the exits
are changed from open to close.  But I get 59 trades exiting on the
open (all losers) and 67 trades when I change the exits to the close
(still all losers of course).  That just cannot be.

Also, I cannot figure out a conditional exit using BStopLevel or
SStopLevel.  I need something that says if the intraday price trades
at BStopValue, sellprice is BStopValue, else close.

Yuki


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