PureBytes Links
Trading Reference Links
|
Ed,
Thank you kindly for your prompt and usefull reply, I tried your
sugestions, and they are working 100%.
Kind regards,
Louw
--- In amibroker@xxxxxxxxxxxxxxx, "ed nl" <ed2000nl@xxxx> wrote:
> Louw,
>
> easiest is to use ApplyStop. Read the manual for the right use of
the parameters. Code should look something like this:
>
> Buy = .....;
> Short = .....;
>
> Sell = 0;
> Cover = 0;
> ApplyStop( stopTypeNBar,stopModeBars,1,ExitAtStop = 1,Volatile =
False, ReentryDelay = 1 );
> SellPrice = C;
> CoverPrice = C;
>
> Equity(1);
>
>
> rgds, Ed
>
> ----- Original Message -----
> From: Louw-Roux Coetzer
> To: AmiBroker Forum
> Sent: Thursday, September 09, 2004 3:51 PM
> Subject: [amibroker] Close Trade the Next day
>
>
> Hallo people !
>
> Could someone please help my with the code to close a trade the
next day
> i.e. if the system SHORTS today at close price, how do I code
it that
> it would COVER the next day at close ?
>
> Kind regards in advance...
>
> Louw Coetzer
>
> PS: My mouth is watering for the new AmiBroker 4.6 ( still
saving up
> for the license upgrade )...Excellent work TJ !
>
>
> [Non-text portions of this message have been removed]
>
>
>
> 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/
|