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

RE: [amibroker] How to delay target stop price



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Walid,
<FONT face=Arial color=#0000ff 
size=2> 
How 
about something like 
n=5 
//where 5 is your exit delay

x=<FONT 
color=#0000ff>ValueWhen(Buy<FONT 
color=#282828>,BarIndex<FONT 
face=Arial color=#282828>(),1<FONT 
color=#282828>);
Sell<FONT 
color=#282828>=x+n<FONT 
color=#282828>==BarIndex<FONT 
color=#282828>();
<FONT face=Arial color=#282828 
size=2>I have not tried it as I am not in front of my ab computer but this 
should get you started..
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Walid Atia 
[mailto:walid_atia@xxxxxxxxx]Sent: Monday, December 08, 2003 10:39 
PMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] How to 
delay target stop priceHi,I'm familiar with 
using applystop for n-bar stops,stop losses, and profit stops, but is there 
anyway toset a stop loss or profit stop that only applies aftern 
days?  In other words, say I have a buy signal, andwant to hold for n 
days before applying a profit stop?I'm currently using the exremspan 
function to holdfor n days, and applystop, but this can only work fora 
one day 
hold.Thanks,Walid__________________________________Do 
you Yahoo!?Protect your identity with Yahoo! Mail AddressGuard<A 
href="">http://antispam.yahoo.com/whatsnewfreeSend 
BUG REPORTS to bugs@xxxxxxxxxxxxxSend 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 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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 the Yahoo! Terms of Service.