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

RE: [amibroker] Re: Trailing Stops - AFL help



PureBytes Links

Trading Reference Links

> From: the_real_redleg [mailto:james.hall3@xxxxxxxxxxx]
> Sent: Wednesday, November 12, 2003 9:07 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Re: Trailing Stops - AFL help
>
>
> Thanks Marek. I'll play around with the flip function ... looks
> interesting. But I found a recent conversation on basically the same
> question that gives an example of a loop which would accomplish what
> I want.

Study also this code
http://www.amibroker.com/library/detail.php?id=136

This is, IMO, quite a good example of using flip for trailing and other
types of stops (without using applystop() function).
This allow you also use Plot() function to see how stop levels follow the
price.


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