PureBytes Links
Trading Reference Links
|
Hi ed
I'd already done what you suggested,using the N bar stop, but when I
hit ( tempted to break it :))the backtest I'm told my buy and sell
variables are missing.
I have seen a simple formular posted somewhere but I couldn't find
it tonight, and I havn't seen it in the manual.
See Change
--- In amibroker@xxxxxxxxxxxxxxx, "ed nl" <ed2000nl@xxxx> wrote:
> hi,
>
> use ApplyStop and specify the sellprice and/or coverprice. It is
usefull to read the manual because of all the settings possible.
>
> rgds, Ed
>
> nb = 4; // exit after 4 bars
> ApplyStop( stopTypeNBar,stopModeBars,nb,ExitAtStop = 1,Volatile =
False, ReentryDelay = 1 );
> SellPrice = C;
> CoverPrice = C;
> ----- Original Message -----
> From: see_change007
> To: amibroker@xxxxxxxxxxxxxxx
> Sent: Friday, August 13, 2004 2:29 PM
> Subject: [amibroker] Exit after set time
>
>
> Can some one help me with a simple code that will be allow to
exit
> after a set number of days ( N ).
>
> See change
>
>
>
> Check AmiBroker web page at:
> http://www.amibroker.com/
>
> 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.
>
>
>
> [Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
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/
|