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

Re: [amibroker] Sell criteria based on n-days after entry



PureBytes Links

Trading Reference Links

Hi mp61276127,

Tuesday, December 21, 2004, 12:08:21 PM, you wrote:

m> New user.  Having difficulty figuring out how to establish sell
m> criteria based on n-days after entry.  Buy = simple breakout
m> system. Would like to test sell after a specific number of days in
m> trade.

Check out:

ApplyStop( stopTypeNBar, stopModeBars, delay, True, False );

Help should set you straighter than I can, but delay would be the
number of bars (you would set that variable: delay = x), which you
could test, or optimize.

Yuki



------------------------ 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/