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

Re: [amibroker] Re: CSI vs QP: the good, the bad, the ugly



PureBytes Links

Trading Reference Links




Use 

<FONT face=Arial color=#0000ff 
size=2>Sell=0;
<FONT face=Arial color=#0000ff 
size=2>somewhere before you use the Applystop, usually at the top of your 
code.
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>herman

  <FONT face=Tahoma 
  size=2>-----Original Message-----From: Werner 
  [mailto:WKRAG@xxxxxxxxxxx]Sent: Friday, March 12, 2004 8:31 
  AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] 
  STOPs / Exit anybody?Good day,I want to 
  implement a simple Exit strategy, namely EXITING after 5 trading days. 
  I have created a simple strategy for backtesting: (still 
  learning):Buy =  Ref(C,-1) > Ref(C,-2)  
  AND    //buy after 2 
  up-Closes       Ref(C,-2) > 
  Ref(C,-3):       BuyPrice = 
  (Ref(C,-1);  //Buy today at yesterdays Close(Limit) 
  ----------------------------------------------------------------Now I 
  want to sell after 5 days. Went to the Backtester and Settings > 
  Stops and set the "N-Bar Stop" to 5.After doing this, I get the 
  following error message from backtester:"Missing Buy/Sell Variable 
  assignment".What am I doing 
  wrong?Thanks.WernerSend 
  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 
  


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.