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

Re: [amibroker] Re: ApplyStop question



PureBytes Links

Trading Reference Links




Thank you, Thomas, but no, that's not correct for max stoploss types 
of stops. ApplyStop uses the high for long trades when coding a TRAILING stop. I 
was asking about a max stoploss. The latter uses the entryprice as the price to 
key off of when exiting. Here is an excerpt from the help file:
 

ApplyStop( 
stopTypeLoss, stopModePoint, 2 * ATR( 10 ), True );The function above will 
place the stop 2 times 10 day ATR below entry price.
I'm still looking for the answer to my question about trying to exit at the 
low of the day before the entry. Anyone have an idea? 
AV
 
 
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  tchan95014 
  <tchan95014@xxxxxxxxx> 
  To: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Tuesday, March 04, 2003 4:11 
  PM
  Subject: [amibroker] Re: ApplyStop 
  question
  Hello,I think AB ApplyStop() function uses HIGH for 
  your long trades as the basis to calculate the stop price. That is the 
  stop price is the highest high ever reached during the trade minus the 
  AMOUNT you set as the stop price. It does NOT use the buyprice as the 
  basis, so it is NOT the LOW of the pre-entry day price as you 
  expected.ThomasSend 
  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.