Thanks Paul, 
 
so I can reference a dynamic stop delta then according to trade long or
short?  Is it something like this:
 
LongFixedStop = 1.75*atr(10);
ShortFixedStop = 1.25*atr(10);
StopDelta = IIF(Buy, LongFixedStop, ShortFixedStop);
 
ApplyStop(stopTypeLoss, stopModePoint, StopDelta, True);
 
Dave 
 
 -----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Paul Ho
Sent: Sunday, 15 April 2007 10:00 PM
To: [EMAIL PROTECTED]
Subject: RE: [amibroker] Using applystop for testing long & short system at
same time.





you can only use one applystop statement for each stoptype (refer to help)
but you can have different values as parameters depending on whether you're
long or short using iif.


  _____  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of David
Sent: Sunday, 15 April 2007 9:34 PM
To: [EMAIL PROTECTED]
Subject: [amibroker] Using applystop for testing long & short system at same
time.



Can anyone confirm, can I use a different "applystop" parameter when I
want a different initial stop setting for each long & short system
which I test at the same time, or does the applystop apply to each system?

Cheers, Dave





 

Reply via email to