| 
 PureBytes Links 
Trading Reference Links 
 | 
Hi,
i wish to determine the yield on a trade and can do it just fine 
without trailing stops.
However, i can't determine when there has been a sell forced by a 
trailing stop such as applystop(2,1,10).
The yield calculation just keeps on as though there was no sale.
There is a reference to using Sell==4 as per comments in AFL reference, 
but i use equity(1) in my code for other reasons, mainly to get rid of 
extra ordinary buy or sell signals, and the result is i never see 
sell==4.
 I have tried 
Held=Flip(Buy,Sell>0); and various other approaches.
Any ideas please?
 
------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hq05b3k/M=362131.6882500.7825259.1493532/D=groups/S=1705632198:TM/Y=YAHOO/EXP=1123561132/A=2889190/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Put more honey in your pocket. (money matters made easy) Welcome to the Sweet Life - brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to 
SUPPORT {at} amibroker.com
For other support material please check also:
http://www.amibroker.com/support.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/
 
 |