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

[amibroker] Re: Trailing stops



PureBytes Links

Trading Reference Links

I think you can do it without ApplyStop:

sell = L < LLV(L,Barssince(Buy)) - offset;

b




--- danielwardadams <danielwardadams@xxxxxxxxx> wrote:
> I'm having problems with something I suspect is very
> simple. I want 
> to backtest by (manually) changing my stop to be some
> offset from the 
> previous day's low (trading long only). So, it's not
> trailing by some 
> offset off the current high. Also, it's not a safety stop
> set as a 
> function of the entry price.
> 
> I've tried about every every combination of ApplyStop
> parameters and 
> can't seem to achieve the result I want.
> 
> If I try to implement it as an intraday sell rule, how do
> I reference 
> intraday current prices on a daily backtest?
> 
> Like I say, I suspect it's simple.
> 
> TIA.
> 
> 
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools


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