PureBytes Links
Trading Reference Links
|
Hi Kevin –
You might look into parabolic trailing
stop. See my posting of about December 17.
Howard
-----Original Message-----
From: kmckiou
[mailto:kmckiou@xxxxxxxxx]
Sent: Tuesday, December 30, 2003
11:33 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] applyStop() -
protecting profits
<font size=2
face="Courier New">Is there a way to protect
profits? <span
>
What I want to do is prevent a profit from
evaporating. In other
words. I would like to set a profit
threshold (say 10%). Once that
threshold is reached, I would like to prevent it
from evaporating.
On the surface, the applyStop() function looks
like it would do the
trick using
type =
0 = stopTypeLoss - maximum loss stop,
and
mode =
3 - amount in percent of profit (risk)
I understand that I can set a stop at a profit
target. That seems
to work ok. What I cannot do is protect an
accumulated profit. No
matter what combination I try, I cannot make it do
what I want.
Thanks -
Kevin
Send BUG
REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to:
amiquote@xxxxxxxxxxxxxxx
(Web page: <a
href="">http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: <a
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
<font size=2
face="Courier New">
<span
>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
the Yahoo! Terms of Service.
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 the Yahoo! Terms of Service.
|