PureBytes Links
Trading Reference Links
|
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/
|