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

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



PureBytes Links

Trading Reference Links

Herman, Ed and Stephane,

what a nice group. 
Thanks a lot for the info and the help. 
Really appreciated.

Werner
-------------------------------------------------

--- In amibroker@xxxxxxxxxxxxxxx, "Herman van den Bergen" 
<psytek@xxxx> wrote:
> Use
> Sell=0;
> somewhere before you use the Applystop, usually at the top of your 
code.
> 
> herman
>   -----Original Message-----
>   From: Werner [mailto:WKRAG@x...]
>   Sent: Friday, March 12, 2004 8:31 AM
>   To: amibroker@xxxxxxxxxxxxxxx
>   Subject: [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.
> 
>   Werner
> 
> 
> 
> 
> 
> 
> 
>   Send BUG REPORTS to bugs@xxxx
>   Send SUGGESTIONS to suggest@xxxx
>   -----------------------------------------
>   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 Sponsor
>               ADVERTISEMENT
> 
> 
> 
> 
> 
> --------------------------------------------------------------------
--------
> --
>   Yahoo! Groups Links
> 
>     a.. To visit your group on the web, go to:
>     http://groups.yahoo.com/group/amibroker/
> 
>     b.. To unsubscribe from this group, send an email to:
>     amibroker-unsubscribe@xxxxxxxxxxxxxxx
> 
>     c.. 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:
     http://docs.yahoo.com/info/terms/